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.001456/0.001456, allocations: 120.2 kB / 16.37 MB, free: 6.016 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.001674/0.001675, allocations: 193 kB / 17.31 MB, free: 5.613 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.209/1.209, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007607/0.007607, allocations: 1.928 MB / 272.5 MB, free: 10.1 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.001376/0.001376, allocations: 63.91 kB / 331.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1615, allocations: 47.12 MB / 378.4 MB, free: 53.06 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002/0.1635, allocations: 1.434 MB / 379.8 MB, free: 52.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000275/0.1638, allocations: 125 kB / 380 MB, free: 52.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.1638, allocations: 1.062 kB / 380 MB, free: 52.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.907e-05/0.1639, allocations: 9.469 kB / 380 MB, free: 52.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.164, allocations: 20.91 kB / 380 MB, free: 52.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.548e-05/0.1641, allocations: 22.12 kB / 380 MB, free: 52.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005078/0.1647, allocations: 0.7422 MB / 380.8 MB, free: 52.74 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004097/0.1651, allocations: 402.4 kB / 381.2 MB, free: 52.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.1653, allocations: 366.8 kB / 381.5 MB, free: 52.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004891/0.1658, allocations: 0.5508 MB / 382.1 MB, free: 52.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.166, allocations: 98.12 kB / 382.2 MB, free: 52.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1661, allocations: 93.88 kB / 382.3 MB, free: 52.55 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.1663, allocations: 269.7 kB / 382.5 MB, free: 52.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003365/0.1666, allocations: 418.6 kB / 382.9 MB, free: 52.15 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007111/0.1674, allocations: 1.009 MB / 383.9 MB, free: 51.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1674, allocations: 2.125 kB / 383.9 MB, free: 51.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1674, allocations: 0 / 383.9 MB, free: 51.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.1674, allocations: 0 / 383.9 MB, free: 51.77 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.002619/0.17, allocations: 1.431 MB / 385.4 MB, free: 50.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.1701, allocations: 13.17 kB / 385.4 MB, free: 50.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.1702, allocations: 80.94 kB / 385.5 MB, free: 50.94 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007848/0.171, allocations: 0.529 MB / 386 MB, free: 50.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.679e-05/0.1711, allocations: 64.31 kB / 386 MB, free: 50.56 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.1712, allocations: 57.41 kB / 386.1 MB, free: 50.55 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/0.1732, allocations: 1.246 MB / 387.4 MB, free: 50.17 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1732, allocations: 0 / 387.4 MB, free: 50.17 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-05/0.1733, allocations: 21.5 kB / 387.4 MB, free: 50.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.1733, allocations: 14.77 kB / 387.4 MB, free: 50.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005496/0.1788, allocations: 3.17 MB / 390.6 MB, free: 49.65 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00364/0.1825, allocations: 2.395 MB / 393 MB, free: 48.56 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002743/0.1852, allocations: 1.703 MB / 394.7 MB, free: 47.7 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003029/0.1883, allocations: 2.107 MB / 396.8 MB, free: 46.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.241e-05/0.1883, allocations: 7.906 kB / 396.8 MB, free: 46.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001773/0.1901, allocations: 1.294 MB / 398.1 MB, free: 46.01 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.395e-06/0.1901, allocations: 4 kB / 398.1 MB, free: 46 MB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.00455/0.1947, allocations: 2.853 MB / 400.9 MB, free: 44.61 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.1948, allocations: 95.58 kB / 401 MB, free: 44.53 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004452/0.1952, allocations: 0.5159 MB / 401.5 MB, free: 44.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.763e-05/0.1953, allocations: 58.53 kB / 401.6 MB, free: 44.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1954, allocations: 275.5 kB / 401.9 MB, free: 43.94 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.1956, allocations: 295.1 kB / 402.1 MB, free: 43.69 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/0.1959, allocations: 162.6 kB / 402.3 MB, free: 43.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.961e-05/0.1959, allocations: 390.8 kB / 402.7 MB, free: 43.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.1971, allocations: 0.7357 MB / 403.4 MB, free: 42.46 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.1983, allocations: 1.033 MB / 404.5 MB, free: 41.31 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002348/0.2007, allocations: 1.791 MB / 406.2 MB, free: 39.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.2007, allocations: 0 / 406.2 MB, free: 39.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002686/0.2034, allocations: 1.833 MB / 408.1 MB, free: 37.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2034, allocations: 8 kB / 408.1 MB, free: 37.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.2034, allocations: 12.56 kB / 408.1 MB, free: 37.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.2034, allocations: 12 kB / 408.1 MB, free: 37.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008335/0.2043, allocations: 240.2 kB / 408.3 MB, free: 37.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.2043, allocations: 19.38 kB / 408.4 MB, free: 37.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005698/0.2049, allocations: 155.3 kB / 408.5 MB, free: 37.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.469e-05/0.2049, allocations: 40 kB / 408.6 MB, free: 37.18 MB / 318.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.0003428/0.2053, allocations: 403.6 kB / 408.9 MB, free: 36.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.935e-05/0.2054, allocations: 71.16 kB / 409 MB, free: 36.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.2056, allocations: 131.2 kB / 409.1 MB, free: 36.6 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2057, allocations: 12 kB / 409.2 MB, free: 36.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2057, allocations: 0 / 409.2 MB, free: 36.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.2057, allocations: 7.922 kB / 409.2 MB, free: 36.58 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009381/0.2066, allocations: 1.101 MB / 410.3 MB, free: 35.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2066, allocations: 4 kB / 410.3 MB, free: 35.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006877/0.2073, allocations: 191.6 kB / 410.5 MB, free: 35.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.2073, allocations: 4 kB / 410.5 MB, free: 35.24 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.078e-05/0.2074, allocations: 19.98 kB / 410.5 MB, free: 35.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.2074, allocations: 5.5 kB / 410.5 MB, free: 35.22 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2074, allocations: 0 / 410.5 MB, free: 35.22 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/0.2103, allocations: 2.062 MB / 412.5 MB, free: 33.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.198e-05/0.2104, allocations: 148.1 kB / 412.7 MB, free: 32.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.2105, allocations: 16 kB / 412.7 MB, free: 32.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005803/0.2111, allocations: 119.8 kB / 412.8 MB, free: 32.85 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000738/0.2118, allocations: 456.3 kB / 413.3 MB, free: 32.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.141e-05/0.2119, allocations: 28 kB / 413.3 MB, free: 32.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002755/0.2122, allocations: 387 kB / 413.7 MB, free: 32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2122, allocations: 0 / 413.7 MB, free: 32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005266/0.2127, allocations: 227.6 kB / 413.9 MB, free: 31.77 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.0001391/0.2129, allocations: 140.1 kB / 414 MB, free: 31.64 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002676/0.2156, allocations: 1.903 MB / 415.9 MB, free: 29.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2156, allocations: 7.938 kB / 415.9 MB, free: 29.76 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.217, allocations: 1.069 MB / 417 MB, free: 28.7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.2174, allocations: 54.45 kB / 417.1 MB, free: 28.65 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.2204, allocations: 2.427 MB / 419.5 MB, free: 26.19 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.2208, allocations: 1.063 MB / 420.6 MB, free: 25.1 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000605/0.2214, allocations: 308.7 kB / 420.9 MB, free: 24.8 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.2217, allocations: 68.73 kB / 420.9 MB, free: 24.73 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2217, allocations: 0 / 420.9 MB, free: 24.73 MB / 318.1 MB Notification: Performance of Templates: time 0.01126/0.2329, allocations: 10 MB / 430.9 MB, free: 14.87 MB / 318.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 -s gbode -lv LOG_STATS > MEV_MEV.Test.TestSequencer.pipe 2>&1)