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.001394/0.001394, allocations: 172 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01817/0.01817, allocations: 1.919 MB / 9.993 MB, free: 0.5898 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.3 MB / 216.2 MB, free: 15.89 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.0008203/0.0008204, allocations: 82.5 kB / 264.8 MB, free: 15.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.35e-05/1.353e-05, allocations: 0 / 319.1 MB, free: 19.65 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07356/0.07359, allocations: 48.09 MB / 367.2 MB, free: 3.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2697/0.3433, allocations: 74.36 MB / 441.6 MB, free: 3.551 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.3436, allocations: 60.59 kB / 441.7 MB, free: 3.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0233/0.3669, allocations: 8.223 MB / 449.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3669, allocations: 3.938 kB / 449.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.308e-05/0.3669, allocations: 16 kB / 449.9 MB, free: 12.22 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.003412/0.3704, allocations: 1.847 MB / 451.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3704, allocations: 8.031 kB / 451.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.3706, allocations: 82.97 kB / 451.8 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006688/0.3713, allocations: 0.5079 MB / 452.3 MB, free: 9.773 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.704e-05/0.3713, allocations: 39.78 kB / 452.4 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.892e-05/0.3714, allocations: 36 kB / 452.4 MB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004027/0.3755, allocations: 2.795 MB / 455.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.3768, allocations: 0.9859 MB / 456.2 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3769, allocations: 0 / 456.2 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.956e-05/0.3769, allocations: 4 kB / 456.2 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.377, allocations: 16 kB / 456.2 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004944/0.3819, allocations: 2.92 MB / 459.1 MB, free: 4.125 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.3836, allocations: 1.331 MB / 460.5 MB, free: 3.203 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002919/0.3865, allocations: 2.201 MB / 462.7 MB, free: 1.512 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.922e-05/0.3866, allocations: 13.34 kB / 462.7 MB, free: 1.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001338/0.388, allocations: 1.091 MB / 463.8 MB, free: 472 kB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 2.755e-06/0.388, allocations: 0 / 463.8 MB, free: 472 kB / 330.7 MB Notification: Performance of matching and sorting (n=99): time 0.002131/0.3901, allocations: 1.597 MB / 465.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.3902, allocations: 84.7 kB / 465.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000505/0.3907, allocations: 445.2 kB / 465.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.132e-05/0.3908, allocations: 46.28 kB / 465.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.391, allocations: 277.2 kB / 466.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.3913, allocations: 283.9 kB / 466.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/0.3913, allocations: 0 / 466.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3915, allocations: 390.8 kB / 466.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006789/0.3922, allocations: 0.5452 MB / 467.4 MB, free: 12.78 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008297/0.393, allocations: 0.8222 MB / 468.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007173/0.3937, allocations: 0.6172 MB / 468.8 MB, free: 11.22 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.3938, allocations: 3.953 kB / 468.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001838/0.3956, allocations: 1.385 MB / 470.2 MB, free: 9.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3956, allocations: 8 kB / 470.2 MB, free: 9.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.3956, allocations: 8 kB / 470.2 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/0.3957, allocations: 16.75 kB / 470.3 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.3968, allocations: 283.6 kB / 470.5 MB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.125e-05/0.3968, allocations: 19.92 kB / 470.6 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007298/0.3976, allocations: 175.3 kB / 470.7 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.864e-05/0.3976, allocations: 40 kB / 470.8 MB, free: 9.281 MB / 346.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.0002928/0.3979, allocations: 184.6 kB / 470.9 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002046/0.4, allocations: 1.605 MB / 472.6 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.4001, allocations: 67.16 kB / 472.6 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003734/0.4005, allocations: 127.2 kB / 472.7 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.4005, allocations: 12 kB / 472.8 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4005, allocations: 0 / 472.8 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.4006, allocations: 7.984 kB / 472.8 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.4019, allocations: 0.9926 MB / 473.8 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4019, allocations: 0 / 473.8 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009054/0.4028, allocations: 235.7 kB / 474 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.4028, allocations: 4 kB / 474 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.96e-05/0.4029, allocations: 15.97 kB / 474 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.4029, allocations: 7.953 kB / 474 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.4029, allocations: 0 / 474 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.405, allocations: 1.661 MB / 475.7 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.4052, allocations: 156.1 kB / 475.8 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.4053, allocations: 0 / 475.8 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007123/0.406, allocations: 151.8 kB / 476 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008483/0.4069, allocations: 452.6 kB / 476.4 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-05/0.407, allocations: 31.98 kB / 476.4 MB, free: 3.504 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000405/0.4074, allocations: 362.9 kB / 476.8 MB, free: 3.152 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4074, allocations: 0 / 476.8 MB, free: 3.152 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006646/0.408, allocations: 187.7 kB / 477 MB, free: 2.969 MB / 346.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.002473/0.4105, allocations: 2.243 MB / 479.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.4125, allocations: 1.493 MB / 480.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4125, allocations: 0 / 480.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.4136, allocations: 0.8716 MB / 481.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.4139, allocations: 29.97 kB / 481.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/0.4183, allocations: 2.287 MB / 483.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006387/0.419, allocations: 1.075 MB / 485 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001013/0.42, allocations: 332.6 kB / 485.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005609/0.4205, allocations: 235.4 kB / 485.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.4206, allocations: 0 / 485.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03511/0.4557, allocations: 13.89 MB / 499.4 MB, free: 12.41 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001389/0.4559, allocations: 92.77 kB / 499.5 MB, free: 12.31 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.214/2.67, allocations: 0 / 499.5 MB, free: 12.31 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)