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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 102.7 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002241/0.002241, allocations: 206.4 kB / 19.42 MB, free: 3.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 207.6 MB / 229.8 MB, free: 11.42 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008664/0.008664, allocations: 1.954 MB / 283.6 MB, free: 5.059 MB / 222.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 69.38 kB / 396.6 MB, free: 51.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07961/0.08169, allocations: 49.67 MB / 446.2 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002212/0.08391, allocations: 1.44 MB / 447.7 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003252/0.08423, allocations: 124.2 kB / 447.8 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.242e-05/0.08428, allocations: 0 / 447.8 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.0844, allocations: 19.86 kB / 447.8 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.08455, allocations: 12.3 kB / 447.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001133/0.08466, allocations: 19.92 kB / 447.9 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.08512, allocations: 0.7407 MB / 448.6 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003477/0.08547, allocations: 328.9 kB / 448.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.08566, allocations: 370.9 kB / 449.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004143/0.08607, allocations: 0.5608 MB / 449.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.08617, allocations: 96 kB / 449.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-05/0.08627, allocations: 92 kB / 450 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.08643, allocations: 275.2 kB / 450.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.08667, allocations: 409.9 kB / 450.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005345/0.08721, allocations: 1.008 MB / 451.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.08721, allocations: 0 / 451.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.08721, allocations: 0 / 451.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.08722, allocations: 0 / 451.7 MB, free: 2.398 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.002547/0.08977, allocations: 1.453 MB / 453.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.08981, allocations: 11.89 kB / 453.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001293/0.08994, allocations: 106.7 kB / 453.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.09007, allocations: 92.38 kB / 453.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005371/0.0906, allocations: 0.5253 MB / 453.9 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.57e-05/0.09065, allocations: 57.67 kB / 453.9 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.09076, allocations: 60.47 kB / 454 MB, free: 16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.09309, allocations: 1.247 MB / 455.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.0931, allocations: 0 / 455.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/0.09318, allocations: 24 kB / 455.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.09319, allocations: 12 kB / 455.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005947/0.09914, allocations: 3.169 MB / 458.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004131/0.1033, allocations: 2.408 MB / 460.9 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003384/0.1067, allocations: 1.603 MB / 462.5 MB, free: 7.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003659/0.1103, allocations: 1.888 MB / 464.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.855e-05/0.1104, allocations: 8.656 kB / 464.4 MB, free: 5.551 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002242/0.1126, allocations: 1.288 MB / 465.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=99): time 2.444e-06/0.1126, allocations: 4 kB / 465.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=99): time 0.005807/0.1184, allocations: 2.857 MB / 468.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.859e-05/0.1185, allocations: 88.38 kB / 468.6 MB, free: 1.281 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006848/0.1192, allocations: 0.5135 MB / 469.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-05/0.1193, allocations: 65.61 kB / 469.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.1195, allocations: 285.4 kB / 469.4 MB, free: 412 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/0.1198, allocations: 305.6 kB / 469.7 MB, free: 104 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002997/0.1201, allocations: 162.7 kB / 469.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.1203, allocations: 394.7 kB / 470.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.1218, allocations: 0.7435 MB / 471 MB, free: 14.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.1236, allocations: 1.025 MB / 472.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003228/0.1268, allocations: 1.784 MB / 473.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/0.1268, allocations: 4 kB / 473.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003667/0.1305, allocations: 1.832 MB / 475.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.1305, allocations: 15.89 kB / 475.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.1305, allocations: 12 kB / 475.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.1305, allocations: 12 kB / 475.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.1316, allocations: 243.6 kB / 476 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.468e-05/0.1316, allocations: 15.94 kB / 476 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007244/0.1323, allocations: 159.4 kB / 476.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-05/0.1324, allocations: 44 kB / 476.2 MB, free: 9.406 MB / 350.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.0005865/0.133, allocations: 393.2 kB / 476.6 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.1331, allocations: 75.58 kB / 476.6 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003815/0.1335, allocations: 135.2 kB / 476.8 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/0.1335, allocations: 8 kB / 476.8 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.1335, allocations: 0 / 476.8 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1335, allocations: 3.984 kB / 476.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.135, allocations: 1.112 MB / 477.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.135, allocations: 0 / 477.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000827/0.1358, allocations: 191.7 kB / 478.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.1358, allocations: 4 kB / 478.1 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.878e-05/0.1359, allocations: 23.98 kB / 478.1 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.1359, allocations: 0 / 478.1 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1359, allocations: 0 / 478.1 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003906/0.1398, allocations: 2.066 MB / 480.2 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.1399, allocations: 156.4 kB / 480.3 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.731e-05/0.14, allocations: 20 kB / 480.3 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006954/0.1407, allocations: 115.8 kB / 480.5 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008931/0.1416, allocations: 452.3 kB / 480.9 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.333e-05/0.1417, allocations: 35.92 kB / 480.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000454/0.1422, allocations: 387 kB / 481.3 MB, free: 4.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1422, allocations: 0 / 481.3 MB, free: 4.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006654/0.1428, allocations: 227.7 kB / 481.5 MB, free: 3.941 MB / 350.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.00441/0.1472, allocations: 2.646 MB / 484.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003755/0.151, allocations: 1.815 MB / 486 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.151, allocations: 0 / 486 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001952/0.153, allocations: 0.9631 MB / 487 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.1534, allocations: 53.89 kB / 487 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01732/0.1707, allocations: 10.25 MB / 497.3 MB, free: 3.848 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/0.1714, allocations: 1.059 MB / 498.3 MB, free: 2.762 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007547/0.1722, allocations: 312.7 kB / 498.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/0.1727, allocations: 247.4 kB / 498.9 MB, free: 2.215 MB / 366.1 MB Notification: Performance of SimCode: time 1.213e-06/0.1727, allocations: 0 / 498.9 MB, free: 2.215 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04363/0.2163, allocations: 16.79 MB / 0.5036 GB, free: 1.355 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.997/9.214, allocations: 8 kB / 0.5036 GB, free: 1.348 MB / 382.1 MB " [Timeout remaining time 651] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.782003893997171] Failed to read output from testmodel.py, exit status != 0: 9.285871949003194 9.300279901 9.210309152 Calling exit ...