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) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 194.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.00917/0.00917, allocations: 1.93 MB / 271.7 MB, free: 3.363 MB / 222.1 MB 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.001528/0.001529, allocations: 72.11 kB / 329.9 MB, free: 32.73 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08028/0.08182, allocations: 47.13 MB / 377.1 MB, free: 1.555 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.003085/0.08496, allocations: 1.438 MB / 378.5 MB, free: 100 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003545/0.08534, allocations: 115.8 kB / 378.6 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.609e-05/0.0854, allocations: 0 / 378.6 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.08555, allocations: 15.92 kB / 378.6 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.08571, allocations: 16.3 kB / 378.7 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.08584, allocations: 23.92 kB / 378.7 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006086/0.08646, allocations: 0.7368 MB / 379.4 MB, free: 15.19 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004472/0.08691, allocations: 400.6 kB / 379.8 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.08718, allocations: 374.9 kB / 380.2 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005054/0.08769, allocations: 0.5416 MB / 380.7 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.08784, allocations: 96 kB / 380.8 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.08798, allocations: 92 kB / 380.9 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000232/0.08822, allocations: 275.2 kB / 381.2 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003828/0.08861, allocations: 409.9 kB / 381.6 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007559/0.08937, allocations: 0.9855 MB / 382.6 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.08939, allocations: 0 / 382.6 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.08939, allocations: 0 / 382.6 MB, free: 12.04 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.08941, allocations: 3.938 kB / 382.6 MB, free: 12.04 MB / 286.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.00307/0.09248, allocations: 1.434 MB / 384 MB, free: 10.55 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.09254, allocations: 15.89 kB / 384 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001345/0.09268, allocations: 102.6 kB / 384.1 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.09283, allocations: 80 kB / 384.2 MB, free: 10.35 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006794/0.09351, allocations: 0.5326 MB / 384.7 MB, free: 9.777 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.068e-05/0.09358, allocations: 57.67 kB / 384.8 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.0937, allocations: 60.36 kB / 384.8 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/0.09588, allocations: 1.247 MB / 386.1 MB, free: 8.406 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.09591, allocations: 0 / 386.1 MB, free: 8.406 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.816e-05/0.09599, allocations: 20 kB / 386.1 MB, free: 8.387 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.09601, allocations: 16 kB / 386.1 MB, free: 8.371 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005897/0.1019, allocations: 3.173 MB / 389.3 MB, free: 5.195 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004609/0.1066, allocations: 2.4 MB / 391.7 MB, free: 2.738 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003664/0.1103, allocations: 1.713 MB / 393.4 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003794/0.1141, allocations: 2.107 MB / 395.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.488e-05/0.1142, allocations: 8.656 kB / 395.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002327/0.1166, allocations: 1.292 MB / 396.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 3.176e-06/0.1166, allocations: 4 kB / 396.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=99): time 0.005485/0.1221, allocations: 2.861 MB / 399.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.1222, allocations: 88.38 kB / 399.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006615/0.1229, allocations: 0.5174 MB / 400.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.763e-05/0.123, allocations: 57.69 kB / 400.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.1232, allocations: 281.1 kB / 400.6 MB, free: 9.754 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002734/0.1235, allocations: 284.1 kB / 400.9 MB, free: 9.473 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/0.1238, allocations: 162.7 kB / 401 MB, free: 9.309 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.124, allocations: 394.7 kB / 401.4 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.1254, allocations: 0.7396 MB / 402.2 MB, free: 8.172 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/0.1272, allocations: 1.025 MB / 403.2 MB, free: 7.023 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00318/0.1304, allocations: 1.787 MB / 405 MB, free: 5.109 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/0.1305, allocations: 0 / 405 MB, free: 5.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003666/0.1341, allocations: 1.836 MB / 406.8 MB, free: 3.266 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/0.1342, allocations: 8 kB / 406.8 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/0.1342, allocations: 8 kB / 406.8 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.694e-05/0.1343, allocations: 16 kB / 406.8 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.1353, allocations: 239.6 kB / 407.1 MB, free: 3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.738e-05/0.1353, allocations: 23.92 kB / 407.1 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007627/0.1361, allocations: 155.2 kB / 407.3 MB, free: 2.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-05/0.1362, allocations: 40 kB / 407.3 MB, free: 2.785 MB / 302.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.0005592/0.1368, allocations: 393.3 kB / 407.7 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.1369, allocations: 67.16 kB / 407.7 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.1372, allocations: 143.2 kB / 407.9 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.1373, allocations: 15.94 kB / 407.9 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.1373, allocations: 0 / 407.9 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.1373, allocations: 3.984 kB / 407.9 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.1387, allocations: 1.101 MB / 409 MB, free: 1.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.1388, allocations: 0 / 409 MB, free: 1.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008524/0.1396, allocations: 191.7 kB / 409.2 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-05/0.1396, allocations: 4 kB / 409.2 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.499e-05/0.1397, allocations: 23.97 kB / 409.2 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/0.1398, allocations: 4 kB / 409.2 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1398, allocations: 0 / 409.2 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003843/0.1436, allocations: 2.058 MB / 411.3 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.1438, allocations: 152.1 kB / 411.4 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.1439, allocations: 15.98 kB / 411.4 MB, free: 14.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007485/0.1447, allocations: 123.8 kB / 411.6 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009056/0.1456, allocations: 456.3 kB / 412 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.982e-05/0.1457, allocations: 27.98 kB / 412 MB, free: 13.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004638/0.1462, allocations: 383 kB / 412.4 MB, free: 13.56 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1462, allocations: 0 / 412.4 MB, free: 13.56 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000712/0.1469, allocations: 223.7 kB / 412.6 MB, free: 13.34 MB / 318.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.004315/0.1512, allocations: 2.65 MB / 415.3 MB, free: 10.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004684/0.1559, allocations: 2.42 MB / 417.7 MB, free: 8.238 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.156, allocations: 0 / 417.7 MB, free: 8.238 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001889/0.1578, allocations: 1.068 MB / 418.8 MB, free: 7.168 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.1583, allocations: 53.95 kB / 418.8 MB, free: 7.113 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1735/0.3318, allocations: 10.49 MB / 429.3 MB, free: 53.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/0.3324, allocations: 1.058 MB / 430.4 MB, free: 52.34 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008508/0.3333, allocations: 312.7 kB / 430.7 MB, free: 52.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/0.3337, allocations: 242.7 kB / 430.9 MB, free: 52.17 MB / 318.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3337, allocations: 0 / 430.9 MB, free: 52.17 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.038/0.3717, allocations: 16.45 MB / 447.4 MB, free: 42.36 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/8.573, allocations: 16.02 kB / 447.4 MB, free: 42.35 MB / 318.1 MB (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)