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.0009023/0.0009023, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001078/0.001078, allocations: 169 kB / 23.49 MB, free: 1.062 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 0.894/0.894, allocations: 158.6 MB / 185.3 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] 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.01037/0.01037, allocations: 1.439 MB / 239 MB, free: 13.73 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.453e-06/1.453e-06, allocations: 0 / 304.6 MB, free: 61.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.757e-05, allocations: 2.312 kB / 304.6 MB, free: 61.38 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.001817/0.001834, allocations: 1.464 MB / 306.1 MB, free: 60.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002943/0.002128, allocations: 124.7 kB / 306.2 MB, free: 60.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.002176, allocations: 5.125 kB / 306.2 MB, free: 60.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.002287, allocations: 6.609 kB / 306.2 MB, free: 60.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.002439, allocations: 19.58 kB / 306.2 MB, free: 60.3 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001178/0.002557, allocations: 23.2 kB / 306.3 MB, free: 60.29 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.003065, allocations: 0.7596 MB / 307 MB, free: 59.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.003327, allocations: 215.4 kB / 307.2 MB, free: 59.88 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004242/0.003751, allocations: 0.495 MB / 307.7 MB, free: 59.66 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005901/0.004341, allocations: 0.5444 MB / 308.3 MB, free: 59.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.004526, allocations: 94.31 kB / 308.4 MB, free: 59.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.004634, allocations: 94.41 kB / 308.5 MB, free: 59.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.004807, allocations: 273.9 kB / 308.7 MB, free: 59.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002713/0.005078, allocations: 287.3 kB / 309 MB, free: 59.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007189/0.005797, allocations: 0.837 MB / 309.8 MB, free: 58.84 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.005799, allocations: 0 / 309.8 MB, free: 58.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.0058, allocations: 1.656 kB / 309.8 MB, free: 58.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.005819, allocations: 0 / 309.8 MB, free: 58.84 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.001949/0.007768, allocations: 1.436 MB / 311.3 MB, free: 57.94 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.007808, allocations: 13.98 kB / 311.3 MB, free: 57.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.008027, allocations: 132.7 kB / 311.4 MB, free: 57.87 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.008453, allocations: 439.3 kB / 311.8 MB, free: 57.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.095e-05/0.008514, allocations: 60.72 kB / 311.9 MB, free: 57.51 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.429e-05/0.008599, allocations: 56.72 kB / 312 MB, free: 57.49 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008865/0.009485, allocations: 0.5957 MB / 312.6 MB, free: 57.17 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.009498, allocations: 192 / 312.6 MB, free: 57.17 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.411e-05/0.009552, allocations: 29.62 kB / 312.6 MB, free: 57.15 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.009566, allocations: 16.59 kB / 312.6 MB, free: 57.15 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.01157, allocations: 1.721 MB / 314.3 MB, free: 56.05 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.01339, allocations: 1.778 MB / 316.1 MB, free: 54.25 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006523/0.01404, allocations: 436.5 kB / 316.5 MB, free: 53.81 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001761/0.0158, allocations: 2.498 MB / 319 MB, free: 51.31 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.67e-05/0.01585, allocations: 12.66 kB / 319 MB, free: 51.3 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005677/0.01641, allocations: 0.6675 MB / 319.7 MB, free: 50.62 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 2.214e-06/0.01642, allocations: 0 / 319.7 MB, free: 50.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=99): time 0.001338/0.01775, allocations: 1.004 MB / 320.7 MB, free: 49.62 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.01781, allocations: 84.33 kB / 320.8 MB, free: 49.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.01809, allocations: 0.5182 MB / 321.3 MB, free: 48.99 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.337e-05/0.01814, allocations: 53.69 kB / 321.4 MB, free: 48.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.01825, allocations: 356.1 kB / 321.7 MB, free: 48.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.01841, allocations: 313.6 kB / 322 MB, free: 48.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.01856, allocations: 176.3 kB / 322.2 MB, free: 48.08 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.01865, allocations: 0.5938 MB / 322.8 MB, free: 47.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.01892, allocations: 185.9 kB / 323 MB, free: 47.3 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.01927, allocations: 0.5992 MB / 323.6 MB, free: 46.53 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000642/0.01991, allocations: 0.8624 MB / 324.4 MB, free: 45.49 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.01991, allocations: 0 / 324.4 MB, free: 45.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.0008248/0.02074, allocations: 0.8322 MB / 325.3 MB, free: 44.65 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.02076, allocations: 15.94 kB / 325.3 MB, free: 44.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.02077, allocations: 8.844 kB / 325.3 MB, free: 44.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.02079, allocations: 12 kB / 325.3 MB, free: 44.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004616/0.02125, allocations: 231.6 kB / 325.5 MB, free: 44.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.02127, allocations: 23.92 kB / 325.5 MB, free: 44.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.02154, allocations: 119.5 kB / 325.7 MB, free: 44.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.02157, allocations: 36 kB / 325.7 MB, free: 44.21 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.0001978/0.02177, allocations: 265.6 kB / 326 MB, free: 43.95 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.964e-05/0.02187, allocations: 111.5 kB / 326.1 MB, free: 43.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.022, allocations: 127.1 kB / 326.2 MB, free: 43.71 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.022, allocations: 12 kB / 326.2 MB, free: 43.7 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.02201, allocations: 4 kB / 326.2 MB, free: 43.7 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.02202, allocations: 7.969 kB / 326.2 MB, free: 43.69 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005285/0.02255, allocations: 0.6647 MB / 326.9 MB, free: 42.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.02255, allocations: 0 / 326.9 MB, free: 42.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003303/0.02288, allocations: 155.8 kB / 327 MB, free: 42.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.02289, allocations: 4 kB / 327 MB, free: 42.83 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.02293, allocations: 23.98 kB / 327.1 MB, free: 42.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.02293, allocations: 3.938 kB / 327.1 MB, free: 42.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.02293, allocations: 4 kB / 327.1 MB, free: 42.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008828/0.02381, allocations: 0.8562 MB / 327.9 MB, free: 41.92 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.02386, allocations: 83.34 kB / 328 MB, free: 41.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.01e-05/0.02393, allocations: 23.98 kB / 328 MB, free: 41.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.02419, allocations: 79.84 kB / 328.1 MB, free: 41.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004742/0.02466, allocations: 484.2 kB / 328.6 MB, free: 41.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.926e-05/0.02471, allocations: 31.98 kB / 328.6 MB, free: 41.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001716/0.02488, allocations: 323 kB / 328.9 MB, free: 40.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02488, allocations: 0 / 328.9 MB, free: 40.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003935/0.02527, allocations: 219.8 kB / 329.1 MB, free: 40.7 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.0001202/0.02539, allocations: 143 kB / 329.3 MB, free: 40.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007657/0.02616, allocations: 0.6777 MB / 330 MB, free: 39.87 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.02616, allocations: 0 / 330 MB, free: 39.87 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004151/0.02658, allocations: 391.2 kB / 330.3 MB, free: 39.49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.02684, allocations: 77.94 kB / 330.4 MB, free: 39.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.02883, allocations: 1.852 MB / 332.3 MB, free: 37.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.901e-05/0.02892, allocations: 235.5 kB / 332.5 MB, free: 37.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003181/0.02924, allocations: 216.7 kB / 332.7 MB, free: 37.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.02943, allocations: 72.48 kB / 332.8 MB, free: 36.98 MB / 282.7 MB Notification: Performance of SimCode: time 1.203e-06/0.02943, allocations: 0 / 332.8 MB, free: 36.98 MB / 282.7 MB Notification: Performance of Templates: time 0.009133/0.03856, allocations: 9.971 MB / 342.7 MB, free: 27.03 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=240 -lv LOG_STATS > MEV_MEV.Test.TestSequencer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.83477717009373]