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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(MEV.Test.TestSequencer,fileNamePrefix="MEV_MEV_Test_TestSequencer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestSequencer,fileNamePrefix="MEV_MEV_Test_TestSequencer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01327/0.01327, allocations: 1.917 MB / 15.18 MB, free: 128 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.2 MB / 221.4 MB, free: 7.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008042/0.0008043, allocations: 90.38 kB / 270.1 MB, free: 7.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.138e-05/2.14e-05, allocations: 0 / 326.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.215, allocations: 48.07 MB / 374.2 MB, free: 44.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07573/0.2908, allocations: 75.03 MB / 449.2 MB, free: 3.832 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001745/0.291, allocations: 59.98 kB / 449.3 MB, free: 3.773 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02342/0.3144, allocations: 8.303 MB / 457.6 MB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3145, allocations: 3.938 kB / 457.6 MB, free: 11.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.382e-05/0.3145, allocations: 20 kB / 457.6 MB, free: 11.45 MB / 346.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.003435/0.3179, allocations: 1.843 MB / 459.4 MB, free: 9.543 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.318, allocations: 8.031 kB / 459.4 MB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001265/0.3181, allocations: 102.5 kB / 459.5 MB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.3183, allocations: 90.97 kB / 459.6 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007555/0.319, allocations: 0.5044 MB / 460.1 MB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.955e-05/0.3191, allocations: 61.28 kB / 460.2 MB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.3192, allocations: 56 kB / 460.2 MB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.3207, allocations: 1.056 MB / 461.3 MB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3207, allocations: 0 / 461.3 MB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.62e-05/0.3208, allocations: 20 kB / 461.3 MB, free: 7.594 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.3208, allocations: 15.98 kB / 461.3 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004358/0.3252, allocations: 2.834 MB / 464.2 MB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005257/0.3305, allocations: 3.023 MB / 467.2 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.3324, allocations: 1.363 MB / 468.6 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003165/0.3356, allocations: 2.211 MB / 470.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.018e-05/0.3357, allocations: 12.78 kB / 470.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001446/0.3371, allocations: 1.125 MB / 471.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=99): time 3.166e-06/0.3371, allocations: 0 / 471.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=99): time 0.002432/0.3396, allocations: 1.644 MB / 473.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.3396, allocations: 84.38 kB / 473.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005092/0.3402, allocations: 467.1 kB / 474.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.028e-05/0.3403, allocations: 57.69 kB / 474.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.3405, allocations: 281.2 kB / 474.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/0.3407, allocations: 292 kB / 474.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.3408, allocations: 20 kB / 474.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3409, allocations: 390.7 kB / 475.1 MB, free: 9.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007511/0.3417, allocations: 0.5603 MB / 475.7 MB, free: 9.117 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009261/0.3426, allocations: 0.853 MB / 476.5 MB, free: 8.141 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008095/0.3434, allocations: 0.6383 MB / 477.2 MB, free: 7.504 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.3434, allocations: 4 kB / 477.2 MB, free: 7.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001938/0.3454, allocations: 1.476 MB / 478.6 MB, free: 6.016 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3454, allocations: 8 kB / 478.6 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.3454, allocations: 11.98 kB / 478.7 MB, free: 5.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.3455, allocations: 16 kB / 478.7 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.3465, allocations: 283.7 kB / 478.9 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/0.3465, allocations: 16.8 kB / 479 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/0.3473, allocations: 203.3 kB / 479.2 MB, free: 5.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.409e-05/0.3474, allocations: 40 kB / 479.2 MB, free: 5.449 MB / 362.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,$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 () * 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.0002279/0.3476, allocations: 208.6 kB / 479.4 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.3477, allocations: 75.14 kB / 479.5 MB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.3481, allocations: 135.2 kB / 479.6 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.3481, allocations: 8 kB / 479.6 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.3481, allocations: 0 / 479.6 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.3481, allocations: 7.922 kB / 479.6 MB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.3495, allocations: 1.101 MB / 480.7 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3495, allocations: 1.031 kB / 480.7 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008644/0.3503, allocations: 227.8 kB / 481 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.3504, allocations: 7.938 kB / 481 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.311e-05/0.3504, allocations: 23.98 kB / 481 MB, free: 3.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.3504, allocations: 7.953 kB / 481 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3504, allocations: 0 / 481 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/0.3528, allocations: 1.711 MB / 482.7 MB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.3529, allocations: 148.1 kB / 482.8 MB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.353, allocations: 19.98 kB / 482.9 MB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007083/0.3537, allocations: 163.8 kB / 483 MB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000857/0.3546, allocations: 448.2 kB / 483.5 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.286e-05/0.3547, allocations: 33.02 kB / 483.5 MB, free: 1.055 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004035/0.3551, allocations: 377.1 kB / 483.9 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3551, allocations: 0 / 483.9 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005517/0.3556, allocations: 219.7 kB / 484.1 MB, free: 484 kB / 362.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 () * 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.002517/0.3582, allocations: 2.299 MB / 486.4 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001925/0.3601, allocations: 1.543 MB / 487.9 MB, free: 12.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3601, allocations: 0 / 487.9 MB, free: 12.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.3612, allocations: 0.8957 MB / 488.8 MB, free: 11.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.3615, allocations: 47.41 kB / 488.9 MB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/0.3654, allocations: 2.377 MB / 491.2 MB, free: 9.246 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.3659, allocations: 1.072 MB / 492.3 MB, free: 8.145 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008039/0.3667, allocations: 332.6 kB / 492.6 MB, free: 7.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000479/0.3672, allocations: 231.4 kB / 492.9 MB, free: 7.594 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3672, allocations: 0 / 492.9 MB, free: 7.594 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1864/0.5536, allocations: 14.78 MB / 0.4957 GB, free: 110 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001013/0.5538, allocations: 114.6 kB / 0.4958 GB, free: 109.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.3/2.853, allocations: 1.031 kB / 0.4959 GB, free: 109.9 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestSequencer_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestSequencer.fmu > MEV_MEV.Test.TestSequencer.pipe 2>&1)