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: translateModel(MEV.Test.TestSequencer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSequencer") translateModel(MEV.Test.TestSequencer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSequencer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007885/0.007885, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.473/1.473, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01016/0.01016, allocations: 1.924 MB / 272.7 MB, free: 3.289 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.0005251/0.0005251, allocations: 16.2 kB / 331.5 MB, free: 33 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09802/0.09855, allocations: 48.11 MB / 379.6 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.001884/0.1005, allocations: 1.156 MB / 380.8 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003892/0.1009, allocations: 121 kB / 380.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.101, allocations: 0 / 380.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.1011, allocations: 7.922 kB / 380.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.1013, allocations: 12.36 kB / 380.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.1015, allocations: 19.86 kB / 380.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007536/0.1022, allocations: 0.7057 MB / 381.6 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006059/0.1029, allocations: 384.7 kB / 382 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004536/0.1033, allocations: 255 kB / 382.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007474/0.1041, allocations: 490.7 kB / 382.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002249/0.1043, allocations: 48 kB / 382.8 MB, free: 13.65 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.1045, allocations: 51.94 kB / 382.8 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002158/0.1047, allocations: 195.5 kB / 383 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000474/0.1052, allocations: 375.6 kB / 383.4 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.1063, allocations: 0.9192 MB / 384.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-05/0.1063, allocations: 4 kB / 384.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1063, allocations: 0 / 384.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.626e-05/0.1064, allocations: 0 / 384.3 MB, free: 12.11 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.004613/0.111, allocations: 1.883 MB / 386.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.1111, allocations: 8.031 kB / 386.2 MB, free: 10.17 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000404/0.1115, allocations: 83.98 kB / 386.3 MB, free: 10.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.1125, allocations: 0.521 MB / 386.8 MB, free: 9.527 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.1126, allocations: 65.41 kB / 386.9 MB, free: 9.461 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.1128, allocations: 55.98 kB / 386.9 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002779/0.1156, allocations: 1.326 MB / 388.2 MB, free: 8.078 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.1156, allocations: 0 / 388.2 MB, free: 8.078 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.344e-05/0.1157, allocations: 31.98 kB / 388.3 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.1158, allocations: 12 kB / 388.3 MB, free: 8.035 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006624/0.1224, allocations: 3.337 MB / 391.6 MB, free: 4.691 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005681/0.1281, allocations: 2.899 MB / 394.5 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003839/0.132, allocations: 1.889 MB / 396.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004037/0.136, allocations: 2.293 MB / 398.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.027e-05/0.1361, allocations: 8.656 kB / 398.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002575/0.1387, allocations: 1.386 MB / 400.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 4.258e-06/0.1387, allocations: 0 / 400.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=99): time 0.005967/0.1447, allocations: 3.103 MB / 403.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.1448, allocations: 88.38 kB / 403.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007556/0.1456, allocations: 0.5174 MB / 403.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.1457, allocations: 57.69 kB / 403.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000263/0.1459, allocations: 281.2 kB / 404.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/0.1463, allocations: 284 kB / 404.4 MB, free: 7.777 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.1464, allocations: 85.67 kB / 404.5 MB, free: 7.688 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.1467, allocations: 390.7 kB / 404.9 MB, free: 7.297 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/0.1484, allocations: 0.8293 MB / 405.7 MB, free: 6.469 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/0.1503, allocations: 1.107 MB / 406.8 MB, free: 5.238 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/0.1537, allocations: 1.948 MB / 408.8 MB, free: 3.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/0.1538, allocations: 8 kB / 408.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003952/0.1577, allocations: 1.996 MB / 410.8 MB, free: 1.148 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.1578, allocations: 10.5 kB / 410.8 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.1578, allocations: 12 kB / 410.8 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.302e-05/0.1578, allocations: 12 kB / 410.8 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.1589, allocations: 283.6 kB / 411.1 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.944e-05/0.1589, allocations: 19.94 kB / 411.1 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008273/0.1598, allocations: 203.2 kB / 411.3 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-05/0.1599, allocations: 40 kB / 411.3 MB, free: 0.582 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.0006572/0.1605, allocations: 397.2 kB / 411.7 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.1607, allocations: 67.16 kB / 411.8 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000424/0.1612, allocations: 131.3 kB / 411.9 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.1612, allocations: 12 kB / 411.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/0.1612, allocations: 0 / 411.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.1612, allocations: 3.938 kB / 411.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.1627, allocations: 1.109 MB / 413 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.1628, allocations: 0 / 413 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008749/0.1636, allocations: 231.7 kB / 413.3 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.1637, allocations: 4 kB / 413.3 MB, free: 14.58 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.776e-05/0.1638, allocations: 23.98 kB / 413.3 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1638, allocations: 4 kB / 413.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1638, allocations: 4 kB / 413.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00421/0.168, allocations: 2.218 MB / 415.5 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.1682, allocations: 156.1 kB / 415.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.1683, allocations: 16 kB / 415.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007779/0.1691, allocations: 159.8 kB / 415.8 MB, free: 11.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008663/0.17, allocations: 456.3 kB / 416.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-05/0.17, allocations: 24 kB / 416.3 MB, free: 11.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004786/0.1705, allocations: 387 kB / 416.7 MB, free: 11.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1705, allocations: 0 / 416.7 MB, free: 11.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007286/0.1713, allocations: 231.5 kB / 416.9 MB, free: 10.89 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.0002222/0.1715, allocations: 139.1 kB / 417 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003966/0.1755, allocations: 2.065 MB / 419.1 MB, free: 8.688 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.1755, allocations: 0 / 419.1 MB, free: 8.688 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001947/0.1775, allocations: 1.154 MB / 420.3 MB, free: 7.535 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.1779, allocations: 53.95 kB / 420.3 MB, free: 7.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004545/0.1824, allocations: 2.711 MB / 423 MB, free: 4.738 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006898/0.1831, allocations: 1.06 MB / 424.1 MB, free: 3.648 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008825/0.184, allocations: 328.7 kB / 424.4 MB, free: 3.324 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/0.1843, allocations: 55.42 kB / 424.5 MB, free: 3.27 MB / 318.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1844, allocations: 4 kB / 424.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of Templates: time 0.1943/0.3787, allocations: 8.592 MB / 433.1 MB, free: 50.84 MB / 318.1 MB make -j1 -f MEV_MEV.Test.TestSequencer.makefile Environment - environmentSimulation: (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 & ./MEV_MEV.Test.TestSequencer -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestSequencer.pipe 2>&1) Environment - environmentSimulation: