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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005693/0.005693, allocations: 102 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.001198/0.001198, allocations: 194.5 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.351/1.351, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008596/0.008596, allocations: 1.928 MB / 271.8 MB, free: 3.25 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.002616/0.002616, allocations: 63.91 kB / 377.7 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08789/0.09052, allocations: 47.13 MB / 424.9 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002623/0.0932, allocations: 1.44 MB / 426.3 MB, free: 248 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000364/0.09358, allocations: 119.8 kB / 426.4 MB, free: 124 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.09365, allocations: 0 / 426.4 MB, free: 124 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.09379, allocations: 7.938 kB / 426.4 MB, free: 116 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.09394, allocations: 24.23 kB / 426.5 MB, free: 92 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.09407, allocations: 19.98 kB / 426.5 MB, free: 72 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1755/0.2696, allocations: 0.741 MB / 427.2 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004812/0.2701, allocations: 408.8 kB / 427.6 MB, free: 10 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003295/0.2704, allocations: 367.2 kB / 428 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005733/0.271, allocations: 0.5469 MB / 428.5 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.2712, allocations: 94 kB / 428.6 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.2713, allocations: 98.19 kB / 428.7 MB, free: 9.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.2716, allocations: 268.2 kB / 429 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004175/0.272, allocations: 420.6 kB / 429.4 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009654/0.273, allocations: 1.008 MB / 430.4 MB, free: 9.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.273, allocations: 1.281 kB / 430.4 MB, free: 9.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.273, allocations: 0 / 430.4 MB, free: 9.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.533e-05/0.273, allocations: 0 / 430.4 MB, free: 9.586 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.003362/0.2764, allocations: 1.421 MB / 431.8 MB, free: 8.902 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.2764, allocations: 12.98 kB / 431.8 MB, free: 8.898 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001421/0.2766, allocations: 106.2 kB / 431.9 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.2768, allocations: 84.94 kB / 432 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008002/0.2776, allocations: 0.5202 MB / 432.5 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.463e-05/0.2776, allocations: 60.25 kB / 432.6 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.2778, allocations: 59.83 kB / 432.7 MB, free: 8.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.2802, allocations: 1.251 MB / 433.9 MB, free: 8.027 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.2803, allocations: 0 / 433.9 MB, free: 8.027 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.27e-05/0.2804, allocations: 23.48 kB / 433.9 MB, free: 8.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.2804, allocations: 13.69 kB / 433.9 MB, free: 8.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006271/0.2867, allocations: 3.168 MB / 437.1 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004401/0.2911, allocations: 2.405 MB / 439.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003228/0.2943, allocations: 1.701 MB / 441.2 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003513/0.2979, allocations: 2.053 MB / 443.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.85e-05/0.2979, allocations: 8.438 kB / 443.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0021/0.3001, allocations: 1.3 MB / 444.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 3.436e-06/0.3001, allocations: 0 / 444.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.005175/0.3053, allocations: 2.86 MB / 447.4 MB, free: 2.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.3053, allocations: 83.56 kB / 447.5 MB, free: 2.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005447/0.3059, allocations: 0.5157 MB / 448 MB, free: 2.246 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.335e-05/0.306, allocations: 58.56 kB / 448.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.3061, allocations: 281 kB / 448.4 MB, free: 1.949 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.3064, allocations: 289.2 kB / 448.6 MB, free: 1.715 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/0.3066, allocations: 160.8 kB / 448.8 MB, free: 1.629 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.3067, allocations: 393.3 kB / 449.2 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/0.3082, allocations: 0.741 MB / 449.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.3097, allocations: 1.021 MB / 451 MB, free: 164 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/0.313, allocations: 1.788 MB / 452.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.313, allocations: 8.812 kB / 452.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00379/0.3168, allocations: 1.837 MB / 454.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.3168, allocations: 8 kB / 454.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.3169, allocations: 8 kB / 454.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.3169, allocations: 16 kB / 454.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.3179, allocations: 239.6 kB / 454.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.369e-05/0.318, allocations: 27.92 kB / 454.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007886/0.3188, allocations: 151.3 kB / 455 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.16e-05/0.3189, allocations: 41.25 kB / 455.1 MB, free: 11.97 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.0006453/0.3195, allocations: 400.8 kB / 455.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.3197, allocations: 71.09 kB / 455.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.32, allocations: 131.2 kB / 455.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.32, allocations: 9.875 kB / 455.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.802e-05/0.32, allocations: 4 kB / 455.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.32, allocations: 3.984 kB / 455.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.3215, allocations: 1.097 MB / 456.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3215, allocations: 0 / 456.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008926/0.3224, allocations: 195.7 kB / 457 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.3224, allocations: 11.92 kB / 457 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.951e-05/0.3225, allocations: 16 kB / 457 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.3225, allocations: 4 kB / 457 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3225, allocations: 0 / 457 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004001/0.3265, allocations: 2.058 MB / 459 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.3267, allocations: 156.1 kB / 459.2 MB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.3268, allocations: 19.98 kB / 459.2 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007507/0.3276, allocations: 123.8 kB / 459.3 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008792/0.3285, allocations: 448.3 kB / 459.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.596e-05/0.3286, allocations: 31.98 kB / 459.8 MB, free: 7.152 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000438/0.329, allocations: 383 kB / 460.2 MB, free: 6.777 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.329, allocations: 3.938 kB / 460.2 MB, free: 6.773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007615/0.3298, allocations: 219.7 kB / 460.4 MB, free: 6.559 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.004516/0.3343, allocations: 2.647 MB / 463 MB, free: 3.887 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003793/0.3382, allocations: 1.9 MB / 465 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3382, allocations: 1.562 kB / 465 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001965/0.3402, allocations: 1.073 MB / 466 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.3406, allocations: 57.86 kB / 466.1 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/0.3569, allocations: 10.21 MB / 476.3 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006136/0.3576, allocations: 1.059 MB / 477.3 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008335/0.3584, allocations: 312.7 kB / 477.7 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/0.3589, allocations: 243.4 kB / 477.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of SimCode: time 1.372e-06/0.3589, allocations: 0 / 477.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.3937, allocations: 17.06 MB / 495 MB, free: 3.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.423/8.817, allocations: 0 / 495 MB, free: 3.543 MB / 366.1 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/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)