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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 187.4 kB / 22.22 MB, free: 5.105 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.349/1.349, allocations: 207.6 MB / 233 MB, free: 10.89 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.009315/0.009315, allocations: 1.966 MB / 287.2 MB, free: 4.082 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 70.66 kB / 401.7 MB, free: 51.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08039/0.0825, allocations: 49.7 MB / 451.4 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002294/0.08479, allocations: 1.44 MB / 452.9 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003565/0.08515, allocations: 127.8 kB / 453 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.0852, allocations: 0 / 453 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.0853, allocations: 7.938 kB / 453 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.08545, allocations: 16.28 kB / 453 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.08557, allocations: 19.92 kB / 453 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004631/0.08603, allocations: 0.7563 MB / 453.8 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002834/0.08631, allocations: 229 kB / 454 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.08651, allocations: 370.9 kB / 454.4 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004311/0.08694, allocations: 0.5858 MB / 455 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.08706, allocations: 96 kB / 455.1 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.08716, allocations: 92 kB / 455.2 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.08732, allocations: 275.2 kB / 455.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.08759, allocations: 409.9 kB / 455.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005649/0.08815, allocations: 1.004 MB / 456.8 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.08815, allocations: 0 / 456.8 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.08816, allocations: 0 / 456.8 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.08817, allocations: 3.938 kB / 456.8 MB, free: 0.8984 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.002758/0.09093, allocations: 1.453 MB / 458.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.81e-05/0.091, allocations: 15.97 kB / 458.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.09114, allocations: 98.7 kB / 458.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.0913, allocations: 92.36 kB / 458.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009556/0.09226, allocations: 0.5291 MB / 459 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.547e-05/0.09233, allocations: 61.66 kB / 459.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.09245, allocations: 56.38 kB / 459.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.09485, allocations: 1.24 MB / 460.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.09487, allocations: 8 kB / 460.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-05/0.09496, allocations: 23.98 kB / 460.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.09498, allocations: 12 kB / 460.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005948/0.1009, allocations: 3.173 MB / 463.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004826/0.1058, allocations: 2.403 MB / 466 MB, free: 7.566 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003501/0.1093, allocations: 1.595 MB / 467.6 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003766/0.113, allocations: 1.878 MB / 469.5 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.401e-05/0.1131, allocations: 8.656 kB / 469.5 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002362/0.1154, allocations: 1.304 MB / 470.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=99): time 3.657e-06/0.1154, allocations: 0 / 470.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=99): time 0.005641/0.1211, allocations: 2.865 MB / 473.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/0.1212, allocations: 80.39 kB / 473.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007194/0.1219, allocations: 0.5213 MB / 474.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.577e-05/0.122, allocations: 57.69 kB / 474.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.1222, allocations: 285.4 kB / 474.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/0.1225, allocations: 305.6 kB / 474.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003214/0.1229, allocations: 158.7 kB / 475 MB, free: 14.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.1231, allocations: 398.7 kB / 475.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.1246, allocations: 0.7357 MB / 476.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.1264, allocations: 1.025 MB / 477.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00334/0.1298, allocations: 1.787 MB / 479 MB, free: 10.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/0.1298, allocations: 7.938 kB / 479 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003749/0.1335, allocations: 1.832 MB / 480.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.1336, allocations: 12 kB / 480.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.1336, allocations: 8 kB / 480.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.384e-05/0.1336, allocations: 15.98 kB / 480.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.1347, allocations: 239.6 kB / 481.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-05/0.1347, allocations: 19.92 kB / 481.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007387/0.1354, allocations: 163.4 kB / 481.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-05/0.1355, allocations: 43.94 kB / 481.3 MB, free: 7.914 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.0006405/0.1361, allocations: 389.3 kB / 481.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.1363, allocations: 75.56 kB / 481.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/0.1366, allocations: 127.2 kB / 481.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.1366, allocations: 8 kB / 481.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.1366, allocations: 0 / 481.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.1367, allocations: 3.984 kB / 481.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.1382, allocations: 1.116 MB / 483 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1382, allocations: 3.938 kB / 483 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008367/0.1391, allocations: 187.8 kB / 483.2 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.287e-05/0.1391, allocations: 7.984 kB / 483.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.234e-05/0.1392, allocations: 20 kB / 483.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.1392, allocations: 3.938 kB / 483.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.1392, allocations: 7.984 kB / 483.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004161/0.1433, allocations: 2.059 MB / 485.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/0.1435, allocations: 160.4 kB / 485.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.1436, allocations: 19.98 kB / 485.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000685/0.1443, allocations: 119.8 kB / 485.6 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009662/0.1453, allocations: 452.3 kB / 486 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.901e-05/0.1454, allocations: 31.98 kB / 486.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004923/0.1459, allocations: 387 kB / 486.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1459, allocations: 0 / 486.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007509/0.1466, allocations: 223.7 kB / 486.6 MB, free: 2.461 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.004574/0.1512, allocations: 2.646 MB / 489.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003828/0.155, allocations: 1.807 MB / 491.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.155, allocations: 0 / 491.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001877/0.1569, allocations: 0.9673 MB / 492.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.1573, allocations: 53.95 kB / 492.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01686/0.1742, allocations: 10.25 MB / 0.4906 GB, free: 2.363 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007592/0.175, allocations: 1.059 MB / 0.4916 GB, free: 1.273 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007615/0.1757, allocations: 312.7 kB / 0.4919 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005017/0.1762, allocations: 243.4 kB / 0.4922 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of SimCode: time 1.142e-06/0.1762, allocations: 0 / 0.4922 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04733/0.2236, allocations: 17.41 MB / 0.5092 GB, free: 15.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.333/9.556, allocations: 7.891 kB / 0.5092 GB, free: 15.24 MB / 398.1 MB " [Timeout remaining time 650] (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: 12.060183793772012] Failed to read output from testmodel.py, exit status != 0: 9.630722072906792 9.648338421 9.556785788000001 Calling exit ...