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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 252.7 MB, free: 14.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 216.1 kB / 309.2 MB, free: 3.133 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.6259/0.6259, allocations: 107.3 MB / 473 MB, free: 30.01 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002561/0.002561, allocations: 88.56 kB / 0.6332 GB, free: 29.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1293, allocations: 80.17 MB / 0.7115 GB, free: 7.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004945/0.1343, allocations: 3.366 MB / 0.7148 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.1366, allocations: 1.083 MB / 0.7158 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003785/0.137, allocations: 11.88 kB / 0.7158 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004418/0.1374, allocations: 123 kB / 0.716 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005716/0.138, allocations: 206.5 kB / 0.7162 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.1392, allocations: 457.2 kB / 0.7166 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000777/0.14, allocations: 0.6458 MB / 0.7172 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.1402, allocations: 106.6 kB / 0.7173 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003029/0.1405, allocations: 278.8 kB / 0.7176 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004128/0.1409, allocations: 286.5 kB / 0.7179 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.425e-05/0.141, allocations: 44 kB / 0.7179 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.1412, allocations: 107.9 kB / 0.718 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.1413, allocations: 123.5 kB / 0.7181 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.1416, allocations: 218.7 kB / 0.7183 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000832/0.1424, allocations: 0.7235 MB / 0.719 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.1424, allocations: 0 / 0.719 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1424, allocations: 4 kB / 0.719 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.1424, allocations: 0 / 0.719 GB, free: 15.8 MB / 0.4981 GB 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.003366/0.1458, allocations: 1.185 MB / 0.7202 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.1458, allocations: 8.031 kB / 0.7202 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.1459, allocations: 82.72 kB / 0.7203 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.1476, allocations: 300.2 kB / 0.7206 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007573/0.1484, allocations: 370.9 kB / 0.7209 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002746/0.1487, allocations: 278.5 kB / 0.7212 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-05/0.1487, allocations: 44 kB / 0.7212 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.1499, allocations: 0.5525 MB / 0.7218 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.1499, allocations: 3.984 kB / 0.7218 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.945e-05/0.1499, allocations: 16 kB / 0.7218 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.1499, allocations: 8 kB / 0.7218 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.151, allocations: 483.2 kB / 0.7223 GB, free: 12.38 MB / 0.4981 GB 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.002678/0.1537, allocations: 1.27 MB / 0.7235 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01128/0.1649, allocations: 2.018 MB / 0.7255 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006798/0.1656, allocations: 249.6 kB / 0.7257 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-05/0.1657, allocations: 16.61 kB / 0.7257 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008857/0.1666, allocations: 371 kB / 0.7261 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.304e-06/0.1666, allocations: 0 / 0.7261 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.007169/0.1737, allocations: 1.897 MB / 0.7279 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.542e-05/0.1738, allocations: 81.11 kB / 0.728 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006786/0.1745, allocations: 421.8 kB / 0.7284 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.332e-05/0.1746, allocations: 33.7 kB / 0.7284 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.1749, allocations: 284.5 kB / 0.7287 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.175, allocations: 138.8 kB / 0.7289 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.1752, allocations: 74.08 kB / 0.7289 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.1754, allocations: 362.8 kB / 0.7293 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006122/0.176, allocations: 252.8 kB / 0.7295 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006284/0.1766, allocations: 302.8 kB / 0.7298 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.1779, allocations: 0.5438 MB / 0.7303 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1779, allocations: 0 / 0.7303 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004256/0.1821, allocations: 1.335 MB / 0.7316 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1821, allocations: 8 kB / 0.7316 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.1822, allocations: 7.984 kB / 0.7316 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002692/0.1848, allocations: 0.7019 MB / 0.7323 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.1851, allocations: 47.91 kB / 0.7324 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007773/0.1929, allocations: 4.399 MB / 0.7367 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005517/0.1934, allocations: 59.8 kB / 0.7367 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/0.1935, allocations: 19.98 kB / 0.7368 GB, free: 13.11 MB / 0.5137 GB 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.000262/0.1937, allocations: 169.7 kB / 0.7369 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.891e-05/0.1938, allocations: 51.67 kB / 0.737 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004311/0.1982, allocations: 1.317 MB / 0.7382 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.1982, allocations: 7.984 kB / 0.7383 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1982, allocations: 4 kB / 0.7383 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.1982, allocations: 3.984 kB / 0.7383 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006852/0.1989, allocations: 492.2 kB / 0.7387 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1989, allocations: 0 / 0.7387 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.199, allocations: 32.17 kB / 0.7388 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002604/0.2016, allocations: 0.7057 MB / 0.7395 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.366e-05/0.2017, allocations: 16 kB / 0.7395 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007218/0.2089, allocations: 4.351 MB / 0.7437 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2089, allocations: 0 / 0.7437 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004229/0.2131, allocations: 1.321 MB / 0.745 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.2133, allocations: 51.59 kB / 0.7451 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-05/0.2133, allocations: 12 kB / 0.7451 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.2138, allocations: 43.94 kB / 0.7451 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002844/0.2141, allocations: 107.8 kB / 0.7452 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.2141, allocations: 8 kB / 0.7452 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003448/0.2144, allocations: 295.1 kB / 0.7455 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2144, allocations: 0 / 0.7455 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006401/0.2151, allocations: 187.7 kB / 0.7457 GB, free: 3.617 MB / 0.5137 GB 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.004593/0.2197, allocations: 1.854 MB / 0.7475 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003238/0.2229, allocations: 1.111 MB / 0.7486 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2229, allocations: 0 / 0.7486 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002368/0.2253, allocations: 0.8091 MB / 0.7494 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.2257, allocations: 45.95 kB / 0.7494 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/0.2392, allocations: 5.925 MB / 0.7552 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.2396, allocations: 258.9 kB / 0.7554 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000144/0.2397, allocations: 35.27 kB / 0.7555 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.24, allocations: 187.4 kB / 0.7557 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of SimCode: time 8.62e-07/0.24, allocations: 0 / 0.7557 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05598/0.2959, allocations: 15.49 MB / 0.7708 GB, free: 9.773 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/13.91, allocations: 4.062 kB / 0.7708 GB, free: 9.77 MB / 0.545 GB " [Timeout remaining time 646] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.57718324009329] Failed to read output from testmodel.py, exit status != 0: 14.043045594822615 14.072450881 13.924358332 Calling exit ...