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.001158/0.001159, allocations: 104.6 kB / 16.41 MB, free: 6.492 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.001112/0.001112, allocations: 187 kB / 17.34 MB, free: 5.734 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.141/1.141, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007566/0.007566, allocations: 1.935 MB / 272.5 MB, free: 10.06 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.001371/0.001372, allocations: 66.67 kB / 378.9 MB, free: 52.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05863/0.06001, allocations: 47.14 MB / 426 MB, free: 20.06 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.00178/0.06181, allocations: 1.437 MB / 427.5 MB, free: 18.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002562/0.06208, allocations: 123.8 kB / 427.6 MB, free: 18.49 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.062e-05/0.06213, allocations: 0 / 427.6 MB, free: 18.49 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.357e-05/0.06224, allocations: 15.94 kB / 427.6 MB, free: 18.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.06235, allocations: 16.23 kB / 427.6 MB, free: 18.46 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.115e-05/0.06245, allocations: 19.98 kB / 427.6 MB, free: 18.44 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004056/0.06286, allocations: 0.7368 MB / 428.4 MB, free: 17.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003271/0.0632, allocations: 413.2 kB / 428.8 MB, free: 17.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.06337, allocations: 366.9 kB / 429.1 MB, free: 16.94 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003691/0.06374, allocations: 0.5529 MB / 429.7 MB, free: 16.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.341e-05/0.06384, allocations: 96 kB / 429.8 MB, free: 16.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.184e-05/0.06394, allocations: 92 kB / 429.9 MB, free: 16.2 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.06408, allocations: 271.2 kB / 430.1 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.06431, allocations: 409.9 kB / 430.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004419/0.06476, allocations: 1.012 MB / 431.6 MB, free: 14.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.06477, allocations: 4 kB / 431.6 MB, free: 14.51 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.06477, allocations: 0 / 431.6 MB, free: 14.51 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.06479, allocations: 4 kB / 431.6 MB, free: 14.51 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.002357/0.06715, allocations: 1.428 MB / 433 MB, free: 13.03 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.63e-05/0.06718, allocations: 11.89 kB / 433 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.0673, allocations: 91.84 kB / 433.1 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006561/0.06796, allocations: 0.5171 MB / 433.6 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/0.06801, allocations: 65.66 kB / 433.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.598e-05/0.0681, allocations: 52.38 kB / 433.7 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.06984, allocations: 1.244 MB / 435 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.06987, allocations: 4 kB / 435 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.429e-05/0.06994, allocations: 23.98 kB / 435 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.06995, allocations: 15.98 kB / 435 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004473/0.07443, allocations: 3.181 MB / 438.2 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003081/0.07752, allocations: 2.388 MB / 440.6 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/0.08015, allocations: 1.706 MB / 442.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002834/0.08299, allocations: 2.051 MB / 444.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.526e-05/0.08306, allocations: 12.59 kB / 444.3 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001614/0.08468, allocations: 1.289 MB / 445.6 MB, free: 248 kB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.765e-06/0.08469, allocations: 0 / 445.6 MB, free: 248 kB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.004978/0.08967, allocations: 2.861 MB / 448.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.08975, allocations: 88.28 kB / 448.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004828/0.09024, allocations: 0.5174 MB / 449.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.324e-05/0.09032, allocations: 61.69 kB / 449.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.09051, allocations: 281.1 kB / 449.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.09073, allocations: 288.1 kB / 449.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.09099, allocations: 162.7 kB / 449.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.09114, allocations: 394.7 kB / 450.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.09253, allocations: 0.7318 MB / 451 MB, free: 10.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.09408, allocations: 1.032 MB / 452 MB, free: 9.664 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002932/0.09702, allocations: 1.791 MB / 453.8 MB, free: 7.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.09704, allocations: 0 / 453.8 MB, free: 7.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00324/0.1003, allocations: 1.839 MB / 455.7 MB, free: 5.902 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.1003, allocations: 8 kB / 455.7 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.1003, allocations: 8 kB / 455.7 MB, free: 5.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.1004, allocations: 16 kB / 455.7 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009516/0.1013, allocations: 239.6 kB / 455.9 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.966e-05/0.1014, allocations: 27.86 kB / 456 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006666/0.102, allocations: 155.2 kB / 456.1 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/0.1021, allocations: 40 kB / 456.1 MB, free: 5.418 MB / 334.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.0004679/0.1026, allocations: 393.3 kB / 456.5 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.1027, allocations: 71.09 kB / 456.6 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.1029, allocations: 135.2 kB / 456.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.103, allocations: 12 kB / 456.7 MB, free: 4.809 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.103, allocations: 0 / 456.7 MB, free: 4.809 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.103, allocations: 3.984 kB / 456.7 MB, free: 4.805 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.1042, allocations: 1.108 MB / 457.9 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1042, allocations: 0 / 457.9 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007938/0.105, allocations: 195.7 kB / 458 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.105, allocations: 8 kB / 458 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.435e-05/0.1051, allocations: 15.98 kB / 458.1 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.1051, allocations: 4 kB / 458.1 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1051, allocations: 0 / 458.1 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003455/0.1086, allocations: 2.062 MB / 460.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.1087, allocations: 148.1 kB / 460.3 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.755e-05/0.1088, allocations: 16 kB / 460.3 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006588/0.1094, allocations: 123.8 kB / 460.4 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007867/0.1102, allocations: 448.3 kB / 460.9 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.29e-05/0.1103, allocations: 32 kB / 460.9 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003579/0.1107, allocations: 387 kB / 461.3 MB, free: 200 kB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1107, allocations: 0 / 461.3 MB, free: 200 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005654/0.1112, allocations: 219.7 kB / 461.5 MB, free: 15.98 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.0001592/0.1114, allocations: 147 kB / 461.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003378/0.1148, allocations: 1.905 MB / 463.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.1148, allocations: 1 kB / 463.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001791/0.1166, allocations: 1.115 MB / 464.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.1169, allocations: 53.89 kB / 464.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.1206, allocations: 2.475 MB / 467.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.1211, allocations: 1.067 MB / 468.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/0.1215, allocations: 67.44 kB / 468.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1215, allocations: 0 / 468.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of Templates: time 0.01329/0.1348, allocations: 12.37 MB / 480.7 MB, free: 12.66 MB / 366.1 MB make -j1 -f MEV_MEV.Test.TestSequencer.makefile (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)