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.008157/0.008157, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.00173/0.00173, allocations: 195.1 kB / 16.67 MB, free: 5.969 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.497/1.497, 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.009494/0.009494, allocations: 1.928 MB / 271.8 MB, free: 3.223 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.00272/0.00272, allocations: 67.91 kB / 377.8 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1154, allocations: 47.12 MB / 424.9 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.003079/0.1185, allocations: 1.44 MB / 426.3 MB, free: 232 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004102/0.119, allocations: 123.8 kB / 426.4 MB, free: 104 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.281e-05/0.1191, allocations: 4 kB / 426.4 MB, free: 100 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.1192, allocations: 3.938 kB / 426.4 MB, free: 96 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.1194, allocations: 16.28 kB / 426.5 MB, free: 80 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.1196, allocations: 19.92 kB / 426.5 MB, free: 60 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2054/0.325, allocations: 0.7443 MB / 427.2 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005754/0.3256, allocations: 406.4 kB / 427.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000336/0.326, allocations: 365.2 kB / 428 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007151/0.3267, allocations: 0.555 MB / 428.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001926/0.3269, allocations: 94.59 kB / 428.6 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.3271, allocations: 94.28 kB / 428.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002994/0.3274, allocations: 268.7 kB / 429 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004629/0.3279, allocations: 421.5 kB / 429.4 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.329, allocations: 1.01 MB / 430.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3291, allocations: 0 / 430.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.3291, allocations: 0 / 430.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.3291, allocations: 1.25 kB / 430.4 MB, free: 9.844 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.003425/0.3325, allocations: 1.437 MB / 431.8 MB, free: 9.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.3326, allocations: 13.61 kB / 431.9 MB, free: 9.035 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.3327, allocations: 108.8 kB / 432 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.3329, allocations: 91.2 kB / 432 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008802/0.3338, allocations: 0.5305 MB / 432.6 MB, free: 8.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.568e-05/0.3339, allocations: 62.95 kB / 432.6 MB, free: 8.523 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.334, allocations: 57 kB / 432.7 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/0.3365, allocations: 1.239 MB / 433.9 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.3365, allocations: 2.156 kB / 433.9 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.464e-05/0.3366, allocations: 29.88 kB / 434 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.3366, allocations: 13.5 kB / 434 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00683/0.3435, allocations: 3.171 MB / 437.1 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004558/0.3481, allocations: 2.408 MB / 439.6 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00339/0.3515, allocations: 1.702 MB / 441.3 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003452/0.3549, allocations: 2.057 MB / 443.3 MB, free: 4.812 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.395e-05/0.355, allocations: 8.594 kB / 443.3 MB, free: 4.812 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002083/0.3571, allocations: 1.292 MB / 444.6 MB, free: 4.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 3.597e-06/0.3571, allocations: 1.125 kB / 444.6 MB, free: 4.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.005175/0.3623, allocations: 2.861 MB / 447.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.3624, allocations: 87.62 kB / 447.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/0.363, allocations: 0.5132 MB / 448.1 MB, free: 2.312 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.896e-05/0.3631, allocations: 60.98 kB / 448.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.3632, allocations: 283.2 kB / 448.4 MB, free: 2.012 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/0.3635, allocations: 305.5 kB / 448.7 MB, free: 1.762 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002954/0.3638, allocations: 161.8 kB / 448.9 MB, free: 1.676 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3639, allocations: 389 kB / 449.2 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.3652, allocations: 0.737 MB / 450 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.3668, allocations: 1.031 MB / 451 MB, free: 212 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003103/0.37, allocations: 1.788 MB / 452.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.37, allocations: 7.938 kB / 452.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003587/0.3736, allocations: 1.832 MB / 454.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.3736, allocations: 12 kB / 454.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.3736, allocations: 8 kB / 454.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.515e-05/0.3737, allocations: 16.98 kB / 454.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.3747, allocations: 240.4 kB / 454.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/0.3747, allocations: 15.94 kB / 454.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000769/0.3755, allocations: 163.4 kB / 455.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-05/0.3756, allocations: 40 kB / 455.1 MB, free: 11.98 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.0006621/0.3763, allocations: 401.8 kB / 455.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.3764, allocations: 71.58 kB / 455.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.3767, allocations: 135.2 kB / 455.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.3767, allocations: 8 kB / 455.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-05/0.3768, allocations: 0 / 455.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.3768, allocations: 3.984 kB / 455.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.3783, allocations: 1.105 MB / 456.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3783, allocations: 4.875 kB / 456.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008209/0.3791, allocations: 191.7 kB / 457 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.3792, allocations: 4 kB / 457 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-05/0.3792, allocations: 23.98 kB / 457.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.3793, allocations: 4 kB / 457.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3793, allocations: 3.938 kB / 457.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003805/0.3831, allocations: 2.059 MB / 459.1 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.3833, allocations: 160.4 kB / 459.3 MB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.3834, allocations: 15.94 kB / 459.3 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007127/0.3841, allocations: 123.8 kB / 459.4 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009317/0.385, allocations: 448.3 kB / 459.9 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.237e-05/0.3851, allocations: 27.98 kB / 459.9 MB, free: 7.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004857/0.3856, allocations: 391 kB / 460.3 MB, free: 6.777 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3856, allocations: 0 / 460.3 MB, free: 6.777 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007825/0.3864, allocations: 223.7 kB / 460.5 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.004277/0.3907, allocations: 2.651 MB / 463.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003764/0.3945, allocations: 1.904 MB / 465 MB, free: 1.977 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3945, allocations: 0 / 465 MB, free: 1.977 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0019/0.3964, allocations: 1.067 MB / 466.1 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.0004597/0.3969, allocations: 61.86 kB / 466.2 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/0.4133, allocations: 10.24 MB / 476.4 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006898/0.4141, allocations: 1.067 MB / 477.5 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008415/0.4149, allocations: 308.7 kB / 477.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005298/0.4155, allocations: 243.4 kB / 478 MB, free: 4.633 MB / 350.1 MB Notification: Performance of SimCode: time 1.273e-06/0.4155, allocations: 0 / 478 MB, free: 4.633 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0404/0.4559, allocations: 16.71 MB / 494.7 MB, free: 3.863 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.484/8.94, allocations: 4.062 kB / 494.7 MB, free: 3.859 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)