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.005993/0.005993, allocations: 170.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.009349/0.009349, allocations: 1.932 MB / 17.78 MB, free: 4.168 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.4 MB / 224.4 MB, free: 11.91 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.001035/0.001035, allocations: 90.2 kB / 273.3 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003372, allocations: 8.219 kB / 331.9 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1104, allocations: 48.09 MB / 380 MB, free: 10.62 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.335/0.4455, allocations: 75.12 MB / 455.1 MB, free: 12.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.4459, allocations: 55.98 kB / 455.2 MB, free: 12.22 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0235/0.4694, allocations: 8.294 MB / 463.5 MB, free: 3.926 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.4694, allocations: 3.938 kB / 463.5 MB, free: 3.922 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.456e-05/0.4695, allocations: 23.94 kB / 463.5 MB, free: 3.898 MB / 330.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.003625/0.4731, allocations: 1.924 MB / 465.4 MB, free: 1.902 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.4732, allocations: 8.031 kB / 465.4 MB, free: 1.895 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001771/0.4733, allocations: 102.5 kB / 465.5 MB, free: 1.785 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.4735, allocations: 86.95 kB / 465.6 MB, free: 1.699 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009516/0.4745, allocations: 0.5045 MB / 466.1 MB, free: 1.152 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.589e-05/0.4746, allocations: 57.3 kB / 466.2 MB, free: 1.094 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.4747, allocations: 59.98 kB / 466.2 MB, free: 1.035 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/0.4771, allocations: 1.314 MB / 467.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.4771, allocations: 3.938 kB / 467.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.517e-05/0.4772, allocations: 31.97 kB / 467.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.4772, allocations: 12 kB / 467.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005864/0.4831, allocations: 3.333 MB / 470.9 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006599/0.4897, allocations: 3.017 MB / 474 MB, free: 9.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003524/0.4933, allocations: 1.877 MB / 475.8 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.192e-05/0.4934, allocations: 12.64 kB / 475.8 MB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002374/0.4958, allocations: 1.368 MB / 477.2 MB, free: 5.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=99): time 4.428e-06/0.4958, allocations: 0 / 477.2 MB, free: 5.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=99): time 0.006004/0.5018, allocations: 3.107 MB / 480.3 MB, free: 2.871 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.502, allocations: 92.36 kB / 480.4 MB, free: 2.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006219/0.5026, allocations: 461 kB / 480.9 MB, free: 2.312 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.782e-05/0.5027, allocations: 65.61 kB / 480.9 MB, free: 2.242 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.5029, allocations: 285.1 kB / 481.2 MB, free: 1.957 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/0.5032, allocations: 292 kB / 481.5 MB, free: 1.668 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.28e-05/0.5033, allocations: 24 kB / 481.5 MB, free: 1.645 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.5035, allocations: 386.8 kB / 481.9 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/0.505, allocations: 0.8177 MB / 482.7 MB, free: 448 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.5068, allocations: 1.095 MB / 483.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.5085, allocations: 0.8853 MB / 484.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.5085, allocations: 4 kB / 484.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003827/0.5124, allocations: 1.988 MB / 486.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.5124, allocations: 8 kB / 486.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.5124, allocations: 8 kB / 486.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.231e-05/0.5125, allocations: 27.94 kB / 486.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.5135, allocations: 283.6 kB / 487 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/0.5136, allocations: 19.94 kB / 487 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007428/0.5143, allocations: 199.2 kB / 487.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.4e-05/0.5144, allocations: 40 kB / 487.3 MB, free: 11.76 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006701/0.5151, allocations: 389.3 kB / 487.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.5152, allocations: 67.16 kB / 487.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/0.5156, allocations: 143.2 kB / 487.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.5156, allocations: 15.95 kB / 487.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.5156, allocations: 0 / 487.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.5156, allocations: 3.984 kB / 487.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.5171, allocations: 1.105 MB / 489 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.5171, allocations: 4 kB / 489 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008086/0.518, allocations: 235.7 kB / 489.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.518, allocations: 4 kB / 489.2 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.271e-05/0.5181, allocations: 16 kB / 489.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.5181, allocations: 4 kB / 489.2 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5181, allocations: 3.984 kB / 489.2 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003934/0.522, allocations: 2.222 MB / 491.4 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.5222, allocations: 148.1 kB / 491.6 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.5223, allocations: 19.98 kB / 491.6 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006269/0.523, allocations: 163.8 kB / 491.8 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008856/0.5239, allocations: 452.2 kB / 492.2 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.821e-05/0.524, allocations: 27.98 kB / 492.2 MB, free: 6.668 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005099/0.5245, allocations: 379 kB / 492.6 MB, free: 6.297 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5245, allocations: 4 kB / 492.6 MB, free: 6.293 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007648/0.5253, allocations: 223.7 kB / 492.8 MB, free: 6.074 MB / 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 () * 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 (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.004388/0.5296, allocations: 2.811 MB / 495.6 MB, free: 3.234 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003818/0.5335, allocations: 2.057 MB / 497.7 MB, free: 1.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5335, allocations: 1.438 kB / 497.7 MB, free: 1.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001859/0.5354, allocations: 1.145 MB / 498.8 MB, free: 32 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.5358, allocations: 43.97 kB / 498.9 MB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/0.5503, allocations: 13.33 MB / 0.5002 GB, free: 2.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006414/0.551, allocations: 1.083 MB / 0.5013 GB, free: 1.297 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009297/0.552, allocations: 328.6 kB / 0.5016 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004749/0.5524, allocations: 235.4 kB / 0.5018 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of SimCode: time 1.563e-06/0.5525, allocations: 0 / 0.5018 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.5842, allocations: 14.56 MB / 0.516 GB, free: 2.164 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000244/0.5845, allocations: 141.7 kB / 0.5162 GB, free: 1.941 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/3.096, allocations: 0 / 0.5162 GB, free: 1.941 MB / 394.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)