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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.369/1.369, allocations: 158.6 MB / 184.6 MB, free: 2.902 MB / 170.7 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.008493/0.008493, allocations: 1.439 MB / 238.3 MB, free: 13.74 MB / 234.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(MEV.Test.TestSequencer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSequencer") translateModel(MEV.Test.TestSequencer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSequencer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 303.9 MB, free: 61.31 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.211e-05, allocations: 3.469 kB / 303.9 MB, free: 61.3 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002394/0.002426, allocations: 1.437 MB / 305.3 MB, free: 60.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003632/0.002789, allocations: 116.7 kB / 305.4 MB, free: 60.26 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.002833, allocations: 1.156 kB / 305.4 MB, free: 60.26 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.002938, allocations: 8.062 kB / 305.4 MB, free: 60.26 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.003103, allocations: 22.7 kB / 305.5 MB, free: 60.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.003233, allocations: 26.72 kB / 305.5 MB, free: 60.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000719/0.003952, allocations: 0.7601 MB / 306.2 MB, free: 59.9 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003369/0.004289, allocations: 219.5 kB / 306.5 MB, free: 59.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005181/0.004807, allocations: 0.4942 MB / 307 MB, free: 59.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006794/0.005486, allocations: 0.5488 MB / 307.5 MB, free: 59.4 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.00567, allocations: 92.84 kB / 307.6 MB, free: 59.4 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.00582, allocations: 94.88 kB / 307.7 MB, free: 59.4 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.006074, allocations: 270.3 kB / 308 MB, free: 59.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003711/0.006445, allocations: 282.8 kB / 308.2 MB, free: 59.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.00752, allocations: 1.094 MB / 309.3 MB, free: 58.7 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.007525, allocations: 0.5156 kB / 309.3 MB, free: 58.7 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007526, allocations: 1.25 kB / 309.3 MB, free: 58.7 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.00754, allocations: 3.938 kB / 309.3 MB, free: 58.69 MB / 282.7 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.002845/0.01038, allocations: 1.38 MB / 310.7 MB, free: 57.87 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.01042, allocations: 13.39 kB / 310.7 MB, free: 57.87 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002746/0.01069, allocations: 132.4 kB / 310.9 MB, free: 57.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006529/0.01135, allocations: 490.4 kB / 311.3 MB, free: 57.46 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.091e-05/0.01142, allocations: 62.09 kB / 311.4 MB, free: 57.44 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.01155, allocations: 58.25 kB / 311.4 MB, free: 57.42 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.01367, allocations: 1.244 MB / 312.7 MB, free: 56.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.01368, allocations: 192 / 312.7 MB, free: 56.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.709e-05/0.01377, allocations: 29.48 kB / 312.7 MB, free: 56.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.01378, allocations: 14.38 kB / 312.7 MB, free: 56.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004545/0.01833, allocations: 3.166 MB / 315.9 MB, free: 53.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003251/0.02158, allocations: 2.148 MB / 318 MB, free: 51.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002652/0.02423, allocations: 1.587 MB / 319.6 MB, free: 49.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003022/0.02725, allocations: 1.886 MB / 321.5 MB, free: 48.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.721e-05/0.02731, allocations: 16.66 kB / 321.5 MB, free: 48.08 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001735/0.02904, allocations: 1.299 MB / 322.8 MB, free: 46.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 3.115e-06/0.02905, allocations: 0 / 322.8 MB, free: 46.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=99): time 0.00447/0.03352, allocations: 2.916 MB / 325.8 MB, free: 43.85 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.03357, allocations: 84.38 kB / 325.8 MB, free: 43.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004869/0.03405, allocations: 0.5174 MB / 326.4 MB, free: 43.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.788e-05/0.03413, allocations: 65.56 kB / 326.4 MB, free: 43.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.03428, allocations: 281.5 kB / 326.7 MB, free: 42.88 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.03447, allocations: 297.6 kB / 327 MB, free: 42.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.03471, allocations: 162.7 kB / 327.1 MB, free: 42.42 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.533e-05/0.03479, allocations: 386.8 kB / 327.5 MB, free: 42.03 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.03596, allocations: 0.7435 MB / 328.3 MB, free: 41.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.0372, allocations: 1.021 MB / 329.3 MB, free: 40.14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/0.03959, allocations: 1.791 MB / 331.1 MB, free: 38.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.03959, allocations: 0 / 331.1 MB, free: 38.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002869/0.04246, allocations: 1.879 MB / 333 MB, free: 36.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.04248, allocations: 11.94 kB / 333 MB, free: 36.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.0425, allocations: 12 kB / 333 MB, free: 36.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.12e-05/0.04253, allocations: 12 kB / 333 MB, free: 36.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008547/0.04338, allocations: 243.6 kB / 333.2 MB, free: 36.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.0434, allocations: 19.92 kB / 333.2 MB, free: 36.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006111/0.04401, allocations: 147.5 kB / 333.4 MB, free: 35.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/0.04408, allocations: 44 kB / 333.4 MB, free: 35.86 MB / 282.7 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.0004671/0.04454, allocations: 393.2 kB / 333.8 MB, free: 35.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.04472, allocations: 111.5 kB / 333.9 MB, free: 35.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.04501, allocations: 143.2 kB / 334.1 MB, free: 35.21 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.04502, allocations: 8 kB / 334.1 MB, free: 35.2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.04503, allocations: 0 / 334.1 MB, free: 35.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.04503, allocations: 3.984 kB / 334.1 MB, free: 35.2 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009173/0.04595, allocations: 0.8487 MB / 334.9 MB, free: 34.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.04595, allocations: 0 / 334.9 MB, free: 34.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006906/0.04664, allocations: 191.7 kB / 335.1 MB, free: 34.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.04665, allocations: 4 kB / 335.1 MB, free: 34.13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.095e-05/0.04672, allocations: 19.98 kB / 335.1 MB, free: 34.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.04673, allocations: 7.938 kB / 335.1 MB, free: 34.1 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.04673, allocations: 0 / 335.1 MB, free: 34.1 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003054/0.04978, allocations: 2.109 MB / 337.3 MB, free: 31.97 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.299e-05/0.04986, allocations: 75.34 kB / 337.3 MB, free: 31.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.04997, allocations: 19.98 kB / 337.3 MB, free: 31.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005971/0.05057, allocations: 123.8 kB / 337.5 MB, free: 31.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006825/0.05125, allocations: 452.3 kB / 337.9 MB, free: 31.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.05132, allocations: 32 kB / 337.9 MB, free: 31.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003184/0.05164, allocations: 387 kB / 338.3 MB, free: 30.9 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05164, allocations: 0 / 338.3 MB, free: 30.9 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006435/0.05228, allocations: 215.8 kB / 338.5 MB, free: 30.69 MB / 282.7 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.0001651/0.05245, allocations: 143.1 kB / 338.7 MB, free: 30.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002814/0.05526, allocations: 1.819 MB / 340.5 MB, free: 28.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.05527, allocations: 0 / 340.5 MB, free: 28.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.05668, allocations: 0.9622 MB / 341.5 MB, free: 27.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.05709, allocations: 77.94 kB / 341.5 MB, free: 27.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.06037, allocations: 2.436 MB / 344 MB, free: 25.22 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.06064, allocations: 464.2 kB / 344.4 MB, free: 24.74 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005971/0.06123, allocations: 312.7 kB / 344.7 MB, free: 24.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.06152, allocations: 72.48 kB / 344.8 MB, free: 24.36 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.06152, allocations: 0 / 344.8 MB, free: 24.36 MB / 282.7 MB Notification: Performance of Templates: time 0.01299/0.07452, allocations: 10 MB / 354.8 MB, free: 14.38 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestSequencer.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.538950054091401]