Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestSequencer.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.00128/0.00128, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] 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.001408/0.001408, allocations: 209.3 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 207.7 MB / 233.1 MB, free: 9.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008846/0.008846, allocations: 1.966 MB / 287.3 MB, free: 3.797 MB / 222.1 MB " [Timeout remaining time 180] Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(MEV.Test.TestSequencer,fileNamePrefix="MEV_MEV_Test_TestSequencer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestSequencer,fileNamePrefix="MEV_MEV_Test_TestSequencer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.00212/0.00212, allocations: 77.36 kB / 401.8 MB, free: 50.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07362/0.07574, allocations: 49.7 MB / 451.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002011/0.07775, allocations: 1.421 MB / 452.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003251/0.07807, allocations: 123.8 kB / 453 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.435e-05/0.07813, allocations: 3.938 kB / 453 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.07823, allocations: 11.92 kB / 453 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.07837, allocations: 12.3 kB / 453 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.07848, allocations: 19.92 kB / 453.1 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004369/0.07892, allocations: 0.7524 MB / 453.8 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002843/0.0792, allocations: 233 kB / 454 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.07941, allocations: 374.9 kB / 454.4 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004702/0.07988, allocations: 0.582 MB / 455 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.08, allocations: 96 kB / 455.1 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.08012, allocations: 92 kB / 455.2 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.08026, allocations: 267.3 kB / 455.4 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.08049, allocations: 346.3 kB / 455.8 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005362/0.08103, allocations: 1.02 MB / 456.8 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.08103, allocations: 3.938 kB / 456.8 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.08103, allocations: 4 kB / 456.8 MB, free: 0.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.08104, allocations: 0 / 456.8 MB, free: 0.75 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002779/0.08382, allocations: 1.37 MB / 458.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.08387, allocations: 11.98 kB / 458.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001466/0.08401, allocations: 106.7 kB / 458.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.08417, allocations: 88.38 kB / 458.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009295/0.0851, allocations: 488 kB / 458.8 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.234e-05/0.08518, allocations: 61.67 kB / 458.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.0853, allocations: 68.3 kB / 459 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.08761, allocations: 1.24 MB / 460.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.08762, allocations: 0 / 460.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.034e-05/0.08771, allocations: 20 kB / 460.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.08772, allocations: 12 kB / 460.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005827/0.09355, allocations: 3.165 MB / 463.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004373/0.09792, allocations: 2.222 MB / 465.6 MB, free: 7.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/0.1012, allocations: 1.596 MB / 467.2 MB, free: 6.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003672/0.1049, allocations: 1.878 MB / 469.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-05/0.1049, allocations: 12.66 kB / 469.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00216/0.1071, allocations: 1.292 MB / 470.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=99): time 3.486e-06/0.1071, allocations: 0 / 470.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=99): time 0.005485/0.1126, allocations: 2.877 MB / 473.3 MB, free: 96 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.1127, allocations: 88.36 kB / 473.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006519/0.1133, allocations: 0.5096 MB / 473.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.361e-05/0.1134, allocations: 65.67 kB / 473.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.1137, allocations: 281.4 kB / 474.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/0.114, allocations: 305.6 kB / 474.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002874/0.1143, allocations: 166.6 kB / 474.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.1145, allocations: 390.8 kB / 475.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.1161, allocations: 0.7357 MB / 475.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.1178, allocations: 1.025 MB / 476.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003233/0.1211, allocations: 1.787 MB / 478.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.1211, allocations: 7.938 kB / 478.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003614/0.1247, allocations: 1.828 MB / 480.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.1247, allocations: 11.98 kB / 480.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.1247, allocations: 8 kB / 480.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.867e-05/0.1248, allocations: 16 kB / 480.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009797/0.1257, allocations: 239.6 kB / 480.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-05/0.1258, allocations: 23.88 kB / 480.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007074/0.1265, allocations: 163.4 kB / 480.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.751e-05/0.1265, allocations: 40 kB / 480.9 MB, free: 8.125 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 60 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sequencer.generators[20].offTime,$PRE.sequencer.generators[20].offTime,sequencer.generators[19].offTime,$PRE.sequencer.generators[19].offTime,sequencer.generators[18].offTime,$PRE.sequencer.generators[18].offTime,sequencer.generators[17].offTime,$PRE.sequencer.generators[17].offTime,sequencer.generators[16].offTime,$PRE.sequencer.generators[16].offTime,sequencer.generators[15].offTime,$PRE.sequencer.generators[15].offTime,sequencer.generators[14].offTime,$PRE.sequencer.generators[14].offTime,sequencer.generators[13].offTime,$PRE.sequencer.generators[13].offTime,sequencer.generators[12].offTime,$PRE.sequencer.generators[12].offTime,sequencer.generators[11].offTime,$PRE.sequencer.generators[11].offTime,sequencer.generators[10].offTime,$PRE.sequencer.generators[10].offTime,sequencer.generators[9].offTime,$PRE.sequencer.generators[9].offTime,sequencer.generators[8].offTime,$PRE.sequencer.generators[8].offTime,sequencer.generators[7].offTime,$PRE.sequencer.generators[7].offTime,sequencer.generators[6].offTime,$PRE.sequencer.generators[6].offTime,sequencer.generators[5].offTime,$PRE.sequencer.generators[5].offTime,sequencer.generators[4].offTime,$PRE.sequencer.generators[4].offTime,sequencer.generators[3].offTime,$PRE.sequencer.generators[3].offTime,sequencer.generators[2].offTime,$PRE.sequencer.generators[2].offTime,sequencer.generators[1].offTime,$PRE.sequencer.generators[1].offTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006052/0.1271, allocations: 397.2 kB / 481.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.1273, allocations: 67.58 kB / 481.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.1276, allocations: 135.2 kB / 481.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.1276, allocations: 12 kB / 481.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.1276, allocations: 0 / 481.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.1276, allocations: 3.984 kB / 481.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.1289, allocations: 0.936 MB / 482.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1289, allocations: 4 kB / 482.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007996/0.1297, allocations: 191.7 kB / 482.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.1297, allocations: 4 kB / 482.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.467e-05/0.1298, allocations: 19.98 kB / 482.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.1298, allocations: 4 kB / 482.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1298, allocations: 3.984 kB / 482.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003802/0.1336, allocations: 2.082 MB / 484.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.1337, allocations: 79.33 kB / 484.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.1338, allocations: 16 kB / 484.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006569/0.1345, allocations: 119.8 kB / 485 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008799/0.1354, allocations: 452.3 kB / 485.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.979e-05/0.1354, allocations: 35.98 kB / 485.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004363/0.1359, allocations: 387 kB / 485.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1359, allocations: 0 / 485.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006329/0.1365, allocations: 227.7 kB / 486.1 MB, free: 2.922 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sequencer.generators[1].offTime,sequencer.generators[2].offTime,sequencer.generators[3].offTime,sequencer.generators[4].offTime,sequencer.generators[5].offTime,sequencer.generators[6].offTime,sequencer.generators[7].offTime,sequencer.generators[8].offTime,sequencer.generators[9].offTime,sequencer.generators[10].offTime,sequencer.generators[11].offTime,sequencer.generators[12].offTime,sequencer.generators[13].offTime,sequencer.generators[14].offTime,sequencer.generators[15].offTime,sequencer.generators[16].offTime,sequencer.generators[17].offTime,sequencer.generators[18].offTime,sequencer.generators[19].offTime,sequencer.generators[20].offTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004249/0.1408, allocations: 2.662 MB / 488.7 MB, free: 240 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003591/0.1444, allocations: 1.81 MB / 490.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1444, allocations: 1.562 kB / 490.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001804/0.1462, allocations: 0.9619 MB / 491.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.1465, allocations: 57.89 kB / 491.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/0.163, allocations: 10.2 MB / 0.49 GB, free: 2.852 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/0.1635, allocations: 460.2 kB / 0.4904 GB, free: 2.379 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008035/0.1643, allocations: 316.7 kB / 0.4907 GB, free: 2.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004892/0.1648, allocations: 239.4 kB / 0.491 GB, free: 1.836 MB / 366.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1648, allocations: 4 kB / 0.491 GB, free: 1.832 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04863/0.2134, allocations: 17.64 MB / 0.5082 GB, free: 108 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.57, allocations: 11.84 kB / 0.5082 GB, free: 96 kB / 382.1 MB " [Timeout remaining time 648] (rm -f MEV_MEV.Test.TestSequencer.pipe ; mkfifo MEV_MEV.Test.TestSequencer.pipe ; head -c 1048576 < MEV_MEV.Test.TestSequencer.pipe >> ../files/MEV_MEV.Test.TestSequencer.sim & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestSequencer_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 MEV_MEV_Test_TestSequencer.fmu > MEV_MEV.Test.TestSequencer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.072216970846057] Failed to read output from testmodel.py, exit status != 0: 11.683430249802768 11.710016611 11.624295935 Calling exit ...