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.001281/0.001281, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001315/0.001315, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9568/0.9568, allocations: 158.6 MB / 184.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.01103/0.01103, allocations: 1.436 MB / 237.9 MB, free: 13.92 MB / 234.7 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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 352.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.701e-05, allocations: 2.281 kB / 352.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002185/0.002202, allocations: 1.436 MB / 353.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003683/0.00257, allocations: 121.7 kB / 354 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.486e-05/0.002625, allocations: 0 / 354 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.002752, allocations: 11.86 kB / 354 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.002919, allocations: 24.3 kB / 354 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.003066, allocations: 23.91 kB / 354.1 MB, free: 14.28 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005645/0.003631, allocations: 0.7638 MB / 354.8 MB, free: 13.51 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003334/0.003964, allocations: 217 kB / 355 MB, free: 13.3 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005082/0.004472, allocations: 0.4913 MB / 355.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006055/0.005078, allocations: 0.5457 MB / 356.1 MB, free: 12.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.005264, allocations: 99.94 kB / 356.2 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.005372, allocations: 96 kB / 356.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.005538, allocations: 271.2 kB / 356.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002682/0.005807, allocations: 279.2 kB / 356.8 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008072/0.006614, allocations: 1.095 MB / 357.9 MB, free: 10.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.006617, allocations: 0 / 357.9 MB, free: 10.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.006618, allocations: 0 / 357.9 MB, free: 10.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.006636, allocations: 0 / 357.9 MB, free: 10.43 MB / 282.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.002581/0.009217, allocations: 1.382 MB / 359.3 MB, free: 9.016 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.009261, allocations: 11.98 kB / 359.3 MB, free: 9.004 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/0.009383, allocations: 102.7 kB / 359.4 MB, free: 8.895 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.009529, allocations: 88.38 kB / 359.5 MB, free: 8.809 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006706/0.0102, allocations: 499.2 kB / 360 MB, free: 8.293 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.701e-05/0.01027, allocations: 57.67 kB / 360 MB, free: 8.234 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.01037, allocations: 56.36 kB / 360.1 MB, free: 8.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.0122, allocations: 1.244 MB / 361.3 MB, free: 6.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.01222, allocations: 192 / 361.3 MB, free: 6.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.925e-05/0.01227, allocations: 27.94 kB / 361.3 MB, free: 6.902 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.01228, allocations: 12 kB / 361.4 MB, free: 6.891 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002853/0.01513, allocations: 3.169 MB / 364.5 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002191/0.01732, allocations: 2.204 MB / 366.7 MB, free: 1.469 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.01906, allocations: 1.604 MB / 368.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002929/0.02198, allocations: 1.874 MB / 370.2 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.655e-05/0.02203, allocations: 8.656 kB / 370.2 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002052/0.02408, allocations: 1.308 MB / 371.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 3.467e-06/0.02409, allocations: 0 / 371.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.00397/0.02806, allocations: 2.873 MB / 374.4 MB, free: 9.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.02812, allocations: 88.36 kB / 374.5 MB, free: 9.672 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.0285, allocations: 0.5135 MB / 375 MB, free: 9.152 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.427e-05/0.02856, allocations: 61.69 kB / 375.1 MB, free: 9.086 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.02877, allocations: 281.4 kB / 375.3 MB, free: 8.805 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.02893, allocations: 297.6 kB / 375.6 MB, free: 8.512 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.02909, allocations: 162.7 kB / 375.8 MB, free: 8.348 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.02922, allocations: 390.8 kB / 376.2 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000838/0.03006, allocations: 0.7396 MB / 376.9 MB, free: 7.215 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.03116, allocations: 1.028 MB / 377.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001776/0.03293, allocations: 1.783 MB / 379.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.03294, allocations: 4 kB / 379.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002327/0.03527, allocations: 1.84 MB / 381.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.0353, allocations: 10.66 kB / 381.6 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.03531, allocations: 8 kB / 381.6 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/0.03534, allocations: 16 kB / 381.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005101/0.03585, allocations: 239.6 kB / 381.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/0.03587, allocations: 27.86 kB / 381.9 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.03623, allocations: 163.4 kB / 382 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/0.03627, allocations: 40 kB / 382.1 MB, free: 1.801 MB / 298.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,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.000351/0.03662, allocations: 385.3 kB / 382.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-05/0.0367, allocations: 75.52 kB / 382.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.03684, allocations: 135.2 kB / 382.6 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.03685, allocations: 12 kB / 382.6 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.03686, allocations: 4 kB / 382.7 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.03687, allocations: 3.984 kB / 382.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007981/0.03767, allocations: 0.9408 MB / 383.6 MB, free: 208 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.03767, allocations: 0 / 383.6 MB, free: 208 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.03806, allocations: 199.6 kB / 383.8 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.03807, allocations: 4 kB / 383.8 MB, free: 4 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.03812, allocations: 12.08 kB / 383.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.03812, allocations: 4 kB / 383.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.03812, allocations: 0 / 383.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.04034, allocations: 2.082 MB / 385.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.0404, allocations: 79.28 kB / 386 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/0.04046, allocations: 19.98 kB / 386 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003293/0.04079, allocations: 123.8 kB / 386.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000474/0.04126, allocations: 452.3 kB / 386.6 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/0.0413, allocations: 35.92 kB / 386.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002659/0.04157, allocations: 387 kB / 387 MB, free: 12.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04157, allocations: 0 / 387 MB, free: 12.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000391/0.04196, allocations: 219.7 kB / 387.2 MB, free: 12.59 MB / 314.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 () * 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.002699/0.04466, allocations: 2.662 MB / 389.8 MB, free: 9.902 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001957/0.04662, allocations: 1.808 MB / 391.7 MB, free: 8.102 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.04662, allocations: 3.938 kB / 391.7 MB, free: 8.098 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.04766, allocations: 0.9698 MB / 392.6 MB, free: 7.129 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.04789, allocations: 49.95 kB / 392.7 MB, free: 7.082 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.0582, allocations: 10.22 MB / 402.9 MB, free: 12.51 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.05845, allocations: 468.2 kB / 403.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003925/0.05885, allocations: 316.7 kB / 403.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.05916, allocations: 240.4 kB / 403.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.05916, allocations: 0 / 403.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.08455, allocations: 17.77 MB / 421.7 MB, free: 9.621 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/7.762, allocations: 4 kB / 421.7 MB, free: 9.617 MB / 346.7 MB " [Timeout remaining time 652] (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: 9.89615885168314] Failed to read output from testmodel.py, exit status != 0: 7.8520432179793715 8.027845544 8.019280201 Calling exit ...