Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007353/0.007353, allocations: 100.1 kB / 15.73 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 239.4 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 196.5 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5658/0.5658, allocations: 91.9 MB / 431.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 80.12 kB / 0.5722 GB, free: 33.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1352, allocations: 71.28 MB / 0.6418 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004065/0.1393, allocations: 3.684 MB / 0.6454 GB, free: 456 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.1411, allocations: 1.095 MB / 0.6465 GB, free: 15.35 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.1413, allocations: 11.94 kB / 0.6465 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.1416, allocations: 115 kB / 0.6466 GB, free: 15.22 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003617/0.142, allocations: 206.5 kB / 0.6468 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.143, allocations: 0.5127 MB / 0.6473 GB, free: 14.51 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005456/0.1436, allocations: 0.6458 MB / 0.6479 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.1438, allocations: 154.2 kB / 0.6481 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.1441, allocations: 282.7 kB / 0.6483 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003456/0.1444, allocations: 310.5 kB / 0.6486 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.976e-05/0.1445, allocations: 47.94 kB / 0.6487 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.1447, allocations: 115.8 kB / 0.6488 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.526e-05/0.1448, allocations: 119.5 kB / 0.6489 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.145, allocations: 282.3 kB / 0.6492 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006995/0.1457, allocations: 0.7118 MB / 0.6499 GB, free: 11.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1457, allocations: 0 / 0.6499 GB, free: 11.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1458, allocations: 0 / 0.6499 GB, free: 11.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1458, allocations: 0 / 0.6499 GB, free: 11.86 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.00314/0.1489, allocations: 1.255 MB / 0.6511 GB, free: 10.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.149, allocations: 16.03 kB / 0.6511 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.283e-05/0.1491, allocations: 86.7 kB / 0.6512 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/0.1507, allocations: 288.2 kB / 0.6515 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006219/0.1513, allocations: 450.1 kB / 0.6519 GB, free: 9.68 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.1515, allocations: 193.4 kB / 0.6521 GB, free: 9.457 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.994e-05/0.1516, allocations: 43.94 kB / 0.6521 GB, free: 9.414 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.1527, allocations: 0.5525 MB / 0.6527 GB, free: 8.852 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1527, allocations: 0 / 0.6527 GB, free: 8.852 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.445e-05/0.1527, allocations: 20 kB / 0.6527 GB, free: 8.832 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.1528, allocations: 16 kB / 0.6527 GB, free: 8.816 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009483/0.1537, allocations: 479.2 kB / 0.6532 GB, free: 8.348 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002587/0.1563, allocations: 2.082 MB / 0.6552 GB, free: 6.059 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.1667, allocations: 2.053 MB / 0.6572 GB, free: 3.984 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005783/0.1673, allocations: 279.3 kB / 0.6575 GB, free: 3.707 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.073e-05/0.1674, allocations: 4 kB / 0.6575 GB, free: 3.703 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007204/0.1681, allocations: 371.1 kB / 0.6578 GB, free: 3.32 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 1.994e-06/0.1681, allocations: 0 / 0.6578 GB, free: 3.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.006725/0.1748, allocations: 2.196 MB / 0.66 GB, free: 1.035 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.1749, allocations: 93.03 kB / 0.6601 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004405/0.1754, allocations: 413.9 kB / 0.6605 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.1754, allocations: 37.7 kB / 0.6605 GB, free: 476 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.1756, allocations: 276.5 kB / 0.6608 GB, free: 196 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.1757, allocations: 146.8 kB / 0.6609 GB, free: 48 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.1759, allocations: 74.08 kB / 0.661 GB, free: 15.97 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.176, allocations: 358.8 kB / 0.6613 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005644/0.1766, allocations: 260.7 kB / 0.6616 GB, free: 15.36 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005878/0.1772, allocations: 306.8 kB / 0.6618 GB, free: 15.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.1783, allocations: 0.5435 MB / 0.6624 GB, free: 14.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1783, allocations: 0 / 0.6624 GB, free: 14.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003933/0.1822, allocations: 1.344 MB / 0.6637 GB, free: 13.14 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1823, allocations: 13.19 kB / 0.6637 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.1823, allocations: 0 / 0.6637 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002532/0.1848, allocations: 0.7097 MB / 0.6644 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.1851, allocations: 43.92 kB / 0.6644 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006803/0.1919, allocations: 4.669 MB / 0.669 GB, free: 7.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.1925, allocations: 63.8 kB / 0.6691 GB, free: 7.348 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.1925, allocations: 12 kB / 0.6691 GB, free: 7.336 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,breakerPara.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003163/0.1928, allocations: 173 kB / 0.6692 GB, free: 7.16 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.578e-05/0.1929, allocations: 59.66 kB / 0.6693 GB, free: 7.102 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004081/0.197, allocations: 1.32 MB / 0.6706 GB, free: 5.762 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.197, allocations: 4 kB / 0.6706 GB, free: 5.758 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1971, allocations: 4 kB / 0.6706 GB, free: 5.754 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.1971, allocations: 0 / 0.6706 GB, free: 5.754 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000659/0.1977, allocations: 0.6258 MB / 0.6712 GB, free: 5.078 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1977, allocations: 0 / 0.6712 GB, free: 5.078 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.1979, allocations: 31.92 kB / 0.6712 GB, free: 5.047 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00245/0.2004, allocations: 0.7097 MB / 0.6719 GB, free: 4.324 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.2004, allocations: 4 kB / 0.6719 GB, free: 4.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006317/0.2067, allocations: 4.637 MB / 0.6765 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2068, allocations: 0 / 0.6765 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003904/0.2107, allocations: 1.325 MB / 0.6778 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.2108, allocations: 136.6 kB / 0.6779 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/0.2109, allocations: 7.984 kB / 0.6779 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004157/0.2113, allocations: 39.95 kB / 0.6779 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002377/0.2115, allocations: 107.7 kB / 0.678 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.2116, allocations: 12 kB / 0.678 GB, free: 13.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002814/0.2119, allocations: 295.1 kB / 0.6783 GB, free: 13.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2119, allocations: 0 / 0.6783 GB, free: 13.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005588/0.2124, allocations: 187.7 kB / 0.6785 GB, free: 13.26 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart,breakerPara.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004188/0.2166, allocations: 1.859 MB / 0.6803 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002995/0.2196, allocations: 1.289 MB / 0.6816 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2197, allocations: 4 kB / 0.6816 GB, free: 9.996 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002265/0.2219, allocations: 0.9984 MB / 0.6826 GB, free: 8.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.2224, allocations: 48.2 kB / 0.6826 GB, free: 8.883 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/0.2347, allocations: 5.936 MB / 0.6884 GB, free: 2.824 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.2351, allocations: 0.8551 MB / 0.6892 GB, free: 1.938 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001454/0.2353, allocations: 39.27 kB / 0.6893 GB, free: 1.898 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.2356, allocations: 183.4 kB / 0.6894 GB, free: 1.719 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2356, allocations: 0 / 0.6894 GB, free: 1.719 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05309/0.2887, allocations: 14.27 MB / 0.7034 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.22, allocations: 4 kB / 0.7034 GB, free: 3.535 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)