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.005376/0.005376, allocations: 99.69 kB / 15.73 MB, free: 5.555 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.00135/0.00135, allocations: 196.4 kB / 16.68 MB, free: 5.484 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.409/1.409, allocations: 205.1 MB / 222.6 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.008577/0.008577, allocations: 1.931 MB / 271.8 MB, free: 3.258 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.002083/0.002083, allocations: 63.91 kB / 377.8 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08908/0.09117, allocations: 47.12 MB / 424.9 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002755/0.09396, allocations: 1.436 MB / 426.3 MB, free: 252 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003516/0.09433, allocations: 119.8 kB / 426.4 MB, free: 128 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.83e-05/0.09439, allocations: 0 / 426.4 MB, free: 128 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.09451, allocations: 3.938 kB / 426.4 MB, free: 124 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.09467, allocations: 20.28 kB / 426.5 MB, free: 104 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.0948, allocations: 19.92 kB / 426.5 MB, free: 84 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1645/0.2594, allocations: 0.7448 MB / 427.2 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004741/0.2599, allocations: 404.1 kB / 427.6 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.2602, allocations: 367.1 kB / 428 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005793/0.2607, allocations: 0.5492 MB / 428.5 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.2609, allocations: 95.09 kB / 428.6 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.2611, allocations: 93.09 kB / 428.7 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.2613, allocations: 270 kB / 429 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003714/0.2617, allocations: 422.4 kB / 429.4 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008685/0.2626, allocations: 1.017 MB / 430.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2626, allocations: 0.6562 kB / 430.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2626, allocations: 0 / 430.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.2626, allocations: 0 / 430.4 MB, free: 9.855 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.003049/0.2656, allocations: 1.437 MB / 431.8 MB, free: 9.051 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.2657, allocations: 18.23 kB / 431.9 MB, free: 9.043 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001328/0.2658, allocations: 103.7 kB / 432 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.266, allocations: 89.88 kB / 432 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000587/0.2666, allocations: 0.5318 MB / 432.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.588e-05/0.2667, allocations: 60.28 kB / 432.6 MB, free: 8.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.2668, allocations: 59.61 kB / 432.7 MB, free: 8.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/0.2691, allocations: 1.244 MB / 433.9 MB, free: 8.148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.2691, allocations: 0 / 433.9 MB, free: 8.148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.22e-05/0.2692, allocations: 28.38 kB / 434 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.2692, allocations: 13.03 kB / 434 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006056/0.2753, allocations: 3.175 MB / 437.2 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003822/0.2791, allocations: 2.395 MB / 439.5 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003138/0.2823, allocations: 1.705 MB / 441.3 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003387/0.2857, allocations: 2.059 MB / 443.3 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.319e-05/0.2857, allocations: 8.781 kB / 443.3 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001952/0.2877, allocations: 1.305 MB / 444.6 MB, free: 4.113 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 3.016e-06/0.2877, allocations: 0 / 444.6 MB, free: 4.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.005265/0.293, allocations: 2.865 MB / 447.5 MB, free: 2.707 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.2931, allocations: 86.42 kB / 447.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005542/0.2936, allocations: 0.516 MB / 448.1 MB, free: 2.332 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.346e-05/0.2937, allocations: 58.06 kB / 448.1 MB, free: 2.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.2939, allocations: 279.8 kB / 448.4 MB, free: 2.035 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.2941, allocations: 308.6 kB / 448.7 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002656/0.2943, allocations: 161 kB / 448.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.494e-05/0.2944, allocations: 388.8 kB / 449.3 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.2959, allocations: 0.7409 MB / 450 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/0.2974, allocations: 1.022 MB / 451 MB, free: 240 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003474/0.3009, allocations: 1.793 MB / 452.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.301, allocations: 3.938 kB / 452.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003967/0.3049, allocations: 1.832 MB / 454.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.305, allocations: 8 kB / 454.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.305, allocations: 12 kB / 454.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.098e-05/0.305, allocations: 12 kB / 454.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.3061, allocations: 239.6 kB / 454.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.626e-05/0.3061, allocations: 23.92 kB / 454.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008168/0.307, allocations: 155.5 kB / 455.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.632e-05/0.3071, allocations: 51.56 kB / 455.1 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.000695/0.3078, allocations: 395.8 kB / 455.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.3079, allocations: 71.58 kB / 455.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/0.3083, allocations: 132.2 kB / 455.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.3083, allocations: 12 kB / 455.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/0.3083, allocations: 0 / 455.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.3084, allocations: 3.984 kB / 455.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.31, allocations: 1.106 MB / 456.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.31, allocations: 0 / 456.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008519/0.3108, allocations: 196.6 kB / 457 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.3109, allocations: 4 kB / 457 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.55e-05/0.3109, allocations: 15.98 kB / 457.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.3109, allocations: 4 kB / 457.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.311, allocations: 0 / 457.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004056/0.315, allocations: 2.07 MB / 459.1 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.3152, allocations: 152.4 kB / 459.3 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.3153, allocations: 25.03 kB / 459.3 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007162/0.316, allocations: 123.8 kB / 459.4 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009092/0.317, allocations: 448.3 kB / 459.9 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.585e-05/0.3171, allocations: 31.98 kB / 459.9 MB, free: 7.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004679/0.3175, allocations: 387 kB / 460.3 MB, free: 6.801 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3175, allocations: 0 / 460.3 MB, free: 6.801 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007499/0.3183, allocations: 227.7 kB / 460.5 MB, free: 6.578 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.004422/0.3227, allocations: 2.643 MB / 463.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003886/0.3266, allocations: 1.904 MB / 465 MB, free: 2.004 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3266, allocations: 0 / 465 MB, free: 2.004 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002041/0.3287, allocations: 1.067 MB / 466.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.3291, allocations: 53.86 kB / 466.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01737/0.3465, allocations: 10.24 MB / 476.4 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007068/0.3473, allocations: 1.056 MB / 477.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008057/0.3481, allocations: 312.7 kB / 477.8 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005188/0.3486, allocations: 247.3 kB / 478 MB, free: 4.664 MB / 350.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3486, allocations: 0 / 478 MB, free: 4.664 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04478/0.3934, allocations: 16.71 MB / 494.7 MB, free: 3.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.898/9.292, allocations: 4 kB / 494.7 MB, free: 3.883 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 & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestSequencer_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 MEV_MEV_Test_TestSequencer.fmu > MEV_MEV.Test.TestSequencer.pipe 2>&1)