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.0009727/0.0009728, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009201/0.0009202, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007584/0.007584, allocations: 1.912 MB / 272.3 MB, free: 3.293 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.0005341/0.0005342, allocations: 19.98 kB / 330.9 MB, free: 33.35 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07485/0.07539, allocations: 48.1 MB / 379 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.001572/0.07701, allocations: 1.148 MB / 380.1 MB, free: 40 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003717/0.07741, allocations: 120.9 kB / 380.2 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.792e-05/0.07748, allocations: 0 / 380.2 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.712e-05/0.07759, allocations: 0 / 380.2 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.07772, allocations: 23.86 kB / 380.2 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001163/0.07785, allocations: 15.97 kB / 380.3 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004532/0.07832, allocations: 427.7 kB / 380.7 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004591/0.07879, allocations: 349.9 kB / 381 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003425/0.07914, allocations: 231.1 kB / 381.2 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005427/0.07969, allocations: 466.6 kB / 381.7 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.07983, allocations: 48 kB / 381.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.07993, allocations: 48 kB / 381.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.08011, allocations: 195.3 kB / 382 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.08028, allocations: 137.3 kB / 382.1 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006315/0.08091, allocations: 0.702 MB / 382.8 MB, free: 13.31 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.08093, allocations: 0 / 382.8 MB, free: 13.31 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.08093, allocations: 0 / 382.8 MB, free: 13.31 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.697e-05/0.08097, allocations: 4 kB / 382.8 MB, free: 13.3 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.003804/0.08478, allocations: 1.898 MB / 384.7 MB, free: 11.35 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.08482, allocations: 12.03 kB / 384.7 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.08504, allocations: 75.06 kB / 384.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008453/0.08589, allocations: 0.5161 MB / 385.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.539e-05/0.08597, allocations: 57.3 kB / 385.4 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.08609, allocations: 59.94 kB / 385.4 MB, free: 10.6 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.08838, allocations: 1.318 MB / 386.8 MB, free: 9.273 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.0884, allocations: 0 / 386.8 MB, free: 9.273 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/0.08848, allocations: 23.98 kB / 386.8 MB, free: 9.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.0885, allocations: 12 kB / 386.8 MB, free: 9.238 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00555/0.09406, allocations: 3.337 MB / 390.1 MB, free: 5.895 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004825/0.0989, allocations: 2.903 MB / 393 MB, free: 2.938 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/0.1022, allocations: 1.877 MB / 394.9 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.856e-05/0.1022, allocations: 12.61 kB / 394.9 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002195/0.1044, allocations: 1.374 MB / 396.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 3.396e-06/0.1045, allocations: 0 / 396.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=99): time 0.005306/0.1098, allocations: 3.095 MB / 399.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.1098, allocations: 92.31 kB / 399.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005444/0.1104, allocations: 0.5135 MB / 400 MB, free: 11.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.378e-05/0.1105, allocations: 57.69 kB / 400.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.1107, allocations: 281.2 kB / 400.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.1109, allocations: 280.1 kB / 400.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.111, allocations: 20 kB / 400.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1112, allocations: 390.8 kB / 401 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/0.1126, allocations: 0.8177 MB / 401.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.1143, allocations: 1.103 MB / 402.9 MB, free: 8.852 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.1158, allocations: 0.8853 MB / 403.8 MB, free: 7.969 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.1158, allocations: 8 kB / 403.8 MB, free: 7.961 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003429/0.1192, allocations: 1.992 MB / 405.8 MB, free: 5.961 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.1192, allocations: 11.98 kB / 405.8 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.1193, allocations: 8 kB / 405.8 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.1193, allocations: 16 kB / 405.8 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009379/0.1202, allocations: 279.6 kB / 406.1 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.262e-05/0.1203, allocations: 19.94 kB / 406.1 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007023/0.121, allocations: 203.2 kB / 406.3 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.779e-05/0.1211, allocations: 43.88 kB / 406.4 MB, free: 5.391 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,$PRE.sequencer.generators[1].offTime,sequencer.generators[1].offTime,$PRE.sequencer.generators[2].offTime,sequencer.generators[2].offTime,$PRE.sequencer.generators[3].offTime,sequencer.generators[3].offTime,$PRE.sequencer.generators[4].offTime,sequencer.generators[4].offTime,$PRE.sequencer.generators[5].offTime,sequencer.generators[5].offTime,$PRE.sequencer.generators[6].offTime,sequencer.generators[6].offTime,$PRE.sequencer.generators[7].offTime,sequencer.generators[7].offTime,$PRE.sequencer.generators[8].offTime,sequencer.generators[8].offTime,$PRE.sequencer.generators[9].offTime,sequencer.generators[9].offTime,$PRE.sequencer.generators[10].offTime,sequencer.generators[10].offTime,$PRE.sequencer.generators[11].offTime,sequencer.generators[11].offTime,$PRE.sequencer.generators[12].offTime,sequencer.generators[12].offTime,$PRE.sequencer.generators[13].offTime,sequencer.generators[13].offTime,$PRE.sequencer.generators[14].offTime,sequencer.generators[14].offTime,$PRE.sequencer.generators[15].offTime,sequencer.generators[15].offTime,$PRE.sequencer.generators[16].offTime,sequencer.generators[16].offTime,$PRE.sequencer.generators[17].offTime,sequencer.generators[17].offTime,$PRE.sequencer.generators[18].offTime,sequencer.generators[18].offTime,$PRE.sequencer.generators[19].offTime,sequencer.generators[19].offTime,$PRE.sequencer.generators[20].offTime,sequencer.generators[20].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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004767/0.1215, allocations: 389.4 kB / 406.8 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.1217, allocations: 79.11 kB / 406.8 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.1219, allocations: 127.2 kB / 407 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.517e-06/0.122, allocations: 12 kB / 407 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.122, allocations: 0 / 407 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-06/0.122, allocations: 3.984 kB / 407 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.1233, allocations: 1.116 MB / 408.1 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.1233, allocations: 3.938 kB / 408.1 MB, free: 3.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007984/0.1241, allocations: 231.8 kB / 408.3 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.1241, allocations: 4 kB / 408.3 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.926e-05/0.1242, allocations: 19.98 kB / 408.3 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.1242, allocations: 11.94 kB / 408.4 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1242, allocations: 3.938 kB / 408.4 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003803/0.128, allocations: 2.215 MB / 410.6 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.1282, allocations: 156.1 kB / 410.7 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.1283, allocations: 16 kB / 410.7 MB, free: 0.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006875/0.129, allocations: 159.8 kB / 410.9 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007813/0.1298, allocations: 456.3 kB / 411.3 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-05/0.1298, allocations: 27.94 kB / 411.4 MB, free: 296 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004003/0.1302, allocations: 383 kB / 411.7 MB, free: 15.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1302, allocations: 0 / 411.7 MB, free: 15.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006098/0.1309, allocations: 219.7 kB / 412 MB, free: 15.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002022/0.1311, allocations: 139 kB / 412.1 MB, free: 15.56 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003535/0.1346, allocations: 2.065 MB / 414.2 MB, free: 13.49 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1346, allocations: 0 / 414.2 MB, free: 13.49 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001826/0.1365, allocations: 1.147 MB / 415.3 MB, free: 12.35 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.1367, allocations: 41.91 kB / 415.3 MB, free: 12.31 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.1406, allocations: 2.613 MB / 418 MB, free: 9.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/0.1413, allocations: 1.075 MB / 419 MB, free: 8.559 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000766/0.142, allocations: 328.6 kB / 419.4 MB, free: 8.234 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.1423, allocations: 55.44 kB / 419.4 MB, free: 8.18 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1423, allocations: 0 / 419.4 MB, free: 8.18 MB / 318.1 MB Notification: Performance of Templates: time 0.1464/0.2887, allocations: 8.37 MB / 427.8 MB, free: 53.74 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: