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.001305/0.001305, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.001425/0.001425, allocations: 214.7 kB / 22.25 MB, free: 5.133 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.372/1.372, allocations: 207.6 MB / 233 MB, free: 9.992 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.009366/0.009366, allocations: 1.966 MB / 287.2 MB, free: 3.859 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.00217/0.00217, allocations: 70.14 kB / 401.8 MB, free: 50.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07247/0.07464, allocations: 49.71 MB / 451.5 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002087/0.07673, allocations: 1.448 MB / 452.9 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003054/0.07704, allocations: 123.8 kB / 453 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.808e-05/0.07708, allocations: 0 / 453 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.0772, allocations: 15.88 kB / 453.1 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.07734, allocations: 16.3 kB / 453.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001064/0.07745, allocations: 19.92 kB / 453.1 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004621/0.07791, allocations: 0.7523 MB / 453.8 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.07819, allocations: 229 kB / 454.1 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.0784, allocations: 378.9 kB / 454.4 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000471/0.07887, allocations: 0.5781 MB / 455 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.07898, allocations: 96 kB / 455.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.07908, allocations: 92 kB / 455.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.07923, allocations: 267.2 kB / 455.5 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002859/0.07951, allocations: 413.9 kB / 455.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005613/0.08008, allocations: 1.012 MB / 456.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.08008, allocations: 0 / 456.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.08008, allocations: 4 kB / 456.9 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.08009, allocations: 0 / 456.9 MB, free: 0.8359 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.002745/0.08284, allocations: 1.37 MB / 458.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.08289, allocations: 11.98 kB / 458.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/0.08303, allocations: 106.7 kB / 458.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.0832, allocations: 92.36 kB / 458.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008969/0.08409, allocations: 484.1 kB / 458.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.255e-05/0.08417, allocations: 61.67 kB / 459 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.08427, allocations: 60.36 kB / 459.1 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.08664, allocations: 1.244 MB / 460.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.08666, allocations: 0 / 460.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.78e-05/0.08674, allocations: 24 kB / 460.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.08675, allocations: 12 kB / 460.3 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005766/0.09252, allocations: 3.177 MB / 463.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004438/0.09696, allocations: 2.409 MB / 465.9 MB, free: 7.668 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003253/0.1002, allocations: 1.603 MB / 467.5 MB, free: 6.051 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003578/0.1038, allocations: 1.878 MB / 469.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.553e-05/0.1039, allocations: 12.59 kB / 469.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002254/0.1061, allocations: 1.304 MB / 470.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=99): time 2.795e-06/0.1061, allocations: 0 / 470.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=99): time 0.00552/0.1116, allocations: 2.861 MB / 473.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/0.1117, allocations: 84.31 kB / 473.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006673/0.1124, allocations: 0.5135 MB / 474.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-05/0.1125, allocations: 61.69 kB / 474.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.1127, allocations: 285.4 kB / 474.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/0.113, allocations: 305.6 kB / 474.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/0.1133, allocations: 158.7 kB / 475 MB, free: 14.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.1135, allocations: 394.7 kB / 475.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/0.115, allocations: 0.7395 MB / 476.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.1167, allocations: 1.028 MB / 477.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003261/0.12, allocations: 1.779 MB / 478.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.12, allocations: 4 kB / 478.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003751/0.1238, allocations: 1.836 MB / 480.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.1238, allocations: 12 kB / 480.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.1238, allocations: 8 kB / 480.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.368e-05/0.1238, allocations: 16 kB / 480.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009804/0.1248, allocations: 239.6 kB / 481 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.309e-05/0.1249, allocations: 15.94 kB / 481 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006948/0.1255, allocations: 167.4 kB / 481.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/0.1256, allocations: 36 kB / 481.2 MB, free: 8.02 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.0006142/0.1262, allocations: 401.2 kB / 481.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.1264, allocations: 67.58 kB / 481.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003501/0.1267, allocations: 139.2 kB / 481.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.1267, allocations: 8 kB / 481.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.1268, allocations: 0 / 481.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.1268, allocations: 3.984 kB / 481.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.1283, allocations: 1.076 MB / 482.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1283, allocations: 0 / 482.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007886/0.1291, allocations: 191.7 kB / 483.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/0.1291, allocations: 8 kB / 483.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-05/0.1291, allocations: 23.98 kB / 483.1 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-06/0.1292, allocations: 4 kB / 483.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.1292, allocations: 0 / 483.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003937/0.1331, allocations: 2.063 MB / 485.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.1332, allocations: 83.33 kB / 485.3 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.1333, allocations: 12 kB / 485.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006206/0.134, allocations: 119.8 kB / 485.4 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009076/0.1349, allocations: 456.3 kB / 485.8 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.9e-05/0.1349, allocations: 31.98 kB / 485.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004633/0.1354, allocations: 383 kB / 486.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1354, allocations: 3.938 kB / 486.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006665/0.1361, allocations: 231.7 kB / 486.5 MB, free: 2.688 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.004319/0.1404, allocations: 2.643 MB / 489.1 MB, free: 16 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003677/0.1441, allocations: 1.812 MB / 490.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1441, allocations: 0 / 490.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001854/0.1459, allocations: 0.9698 MB / 491.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.1464, allocations: 49.95 kB / 492 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/0.1636, allocations: 10.24 MB / 0.4904 GB, free: 2.594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007382/0.1643, allocations: 1.059 MB / 0.4915 GB, free: 1.504 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008146/0.1651, allocations: 312.7 kB / 0.4918 GB, free: 1.199 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005063/0.1656, allocations: 247.4 kB / 0.492 GB, free: 0.957 MB / 366.1 MB Notification: Performance of SimCode: time 1.583e-06/0.1656, allocations: 0 / 0.492 GB, free: 0.957 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05115/0.2168, allocations: 17.52 MB / 0.5091 GB, free: 15.37 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/11.88, allocations: 3.906 kB / 0.5091 GB, free: 15.36 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.428483429001062] Failed to read output from testmodel.py, exit status != 0: 11.981122781002341 11.996962774 11.913916251 Calling exit ...