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.004339/0.004339, allocations: 96.31 kB / 15.73 MB, free: 6.039 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.001096/0.001096, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.461/1.461, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009014/0.009014, allocations: 1.931 MB / 271.8 MB, free: 3.227 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.00151/0.00151, allocations: 75.89 kB / 378.2 MB, free: 432 kB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09231/0.09383, allocations: 47.14 MB / 425.4 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.218/0.3118, allocations: 1.416 MB / 426.8 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004668/0.3124, allocations: 132.2 kB / 426.9 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.3124, allocations: 1.219 kB / 426.9 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.3126, allocations: 10.89 kB / 426.9 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.3128, allocations: 16.95 kB / 427 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.3129, allocations: 21.48 kB / 427 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007839/0.3137, allocations: 0.7403 MB / 427.7 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006032/0.3143, allocations: 410.8 kB / 428.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004056/0.3148, allocations: 368.8 kB / 428.5 MB, free: 10.81 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000703/0.3155, allocations: 0.5466 MB / 429 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.3157, allocations: 93.88 kB / 429.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.3158, allocations: 94.88 kB / 429.2 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002647/0.3161, allocations: 269.7 kB / 429.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004192/0.3165, allocations: 417.8 kB / 429.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.3177, allocations: 1.015 MB / 430.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.3177, allocations: 1.094 kB / 430.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.3177, allocations: 0 / 430.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.993e-05/0.3177, allocations: 4 kB / 430.9 MB, free: 10.07 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.003301/0.321, allocations: 1.44 MB / 432.3 MB, free: 9.262 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3211, allocations: 13.56 kB / 432.4 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.3213, allocations: 90.27 kB / 432.4 MB, free: 9.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006756/0.3219, allocations: 0.5323 MB / 433 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-05/0.322, allocations: 59.47 kB / 433 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.3222, allocations: 59.06 kB / 433.1 MB, free: 8.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/0.3247, allocations: 1.248 MB / 434.3 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.3247, allocations: 1.406 kB / 434.3 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-05/0.3248, allocations: 23.69 kB / 434.4 MB, free: 8.418 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.3248, allocations: 13.88 kB / 434.4 MB, free: 8.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006829/0.3317, allocations: 3.173 MB / 437.5 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004166/0.3358, allocations: 2.396 MB / 439.9 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003096/0.339, allocations: 1.7 MB / 441.6 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0035/0.3425, allocations: 2.059 MB / 443.7 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.845e-05/0.3426, allocations: 8.562 kB / 443.7 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002019/0.3446, allocations: 1.296 MB / 445 MB, free: 4.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 3.226e-06/0.3446, allocations: 0 / 445 MB, free: 4.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.005015/0.3496, allocations: 2.862 MB / 447.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.3497, allocations: 91.98 kB / 448 MB, free: 2.824 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000605/0.3503, allocations: 0.5082 MB / 448.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-05/0.3504, allocations: 57.72 kB / 448.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.3506, allocations: 288.3 kB / 448.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/0.3508, allocations: 306.7 kB / 449.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/0.3511, allocations: 164.8 kB / 449.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3512, allocations: 385.2 kB / 449.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.3525, allocations: 0.7417 MB / 450.4 MB, free: 1.156 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.3539, allocations: 1.025 MB / 451.4 MB, free: 244 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00305/0.357, allocations: 1.795 MB / 453.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.357, allocations: 5.125 kB / 453.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00356/0.3606, allocations: 1.836 MB / 455 MB, free: 12.47 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.3606, allocations: 8 kB / 455.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.3606, allocations: 8 kB / 455.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/0.3607, allocations: 16 kB / 455.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009664/0.3616, allocations: 239.6 kB / 455.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.228e-05/0.3617, allocations: 23.92 kB / 455.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006835/0.3624, allocations: 155.5 kB / 455.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.573e-05/0.3625, allocations: 36.88 kB / 455.5 MB, free: 12 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.0006916/0.3632, allocations: 399.2 kB / 455.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.3633, allocations: 71.56 kB / 456 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.3637, allocations: 131.2 kB / 456.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.3637, allocations: 23.94 kB / 456.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.3637, allocations: 0 / 456.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.3638, allocations: 7.969 kB / 456.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.3652, allocations: 1.109 MB / 457.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3652, allocations: 0 / 457.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007793/0.366, allocations: 191.7 kB / 457.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.366, allocations: 7.938 kB / 457.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.541e-05/0.3661, allocations: 19.98 kB / 457.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.3661, allocations: 8 kB / 457.5 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3661, allocations: 0 / 457.5 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00358/0.3697, allocations: 2.059 MB / 459.5 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.3698, allocations: 156.5 kB / 459.7 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.3699, allocations: 19.98 kB / 459.7 MB, free: 7.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000604/0.3705, allocations: 119.8 kB / 459.8 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008645/0.3714, allocations: 448.9 kB / 460.3 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.527e-05/0.3715, allocations: 31.98 kB / 460.3 MB, free: 7.133 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004225/0.3719, allocations: 387 kB / 460.7 MB, free: 6.754 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3719, allocations: 0 / 460.7 MB, free: 6.754 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007192/0.3727, allocations: 227.7 kB / 460.9 MB, free: 6.531 MB / 334.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.0001968/0.3729, allocations: 140.2 kB / 461 MB, free: 6.391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003367/0.3762, allocations: 1.905 MB / 462.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.3763, allocations: 0 / 462.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001785/0.378, allocations: 1.072 MB / 464 MB, free: 3.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.3785, allocations: 61.8 kB / 464.1 MB, free: 3.348 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/0.3827, allocations: 2.457 MB / 466.5 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/0.3833, allocations: 1.056 MB / 467.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000713/0.3841, allocations: 320.7 kB / 467.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.3844, allocations: 59.44 kB / 467.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3844, allocations: 0 / 467.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of Templates: time 0.01689/0.4013, allocations: 10.15 MB / 478.1 MB, free: 5.25 MB / 350.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)