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.001328/0.001328, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001675/0.001675, allocations: 216.4 kB / 22.25 MB, free: 5.113 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.383/1.383, allocations: 207.6 MB / 233 MB, free: 10.88 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.009868/0.009868, allocations: 1.962 MB / 287.2 MB, free: 3.973 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.002193/0.002193, allocations: 79.28 kB / 401.8 MB, free: 51.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07418/0.07637, allocations: 49.71 MB / 451.5 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002171/0.07854, allocations: 1.448 MB / 452.9 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003221/0.07887, allocations: 127.8 kB / 453.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.054e-05/0.07892, allocations: 0 / 453.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.767e-05/0.07901, allocations: 11.88 kB / 453.1 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.07915, allocations: 12.3 kB / 453.1 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.07926, allocations: 23.92 kB / 453.1 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000474/0.07973, allocations: 0.7524 MB / 453.9 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.08001, allocations: 225 kB / 454.1 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.08021, allocations: 374.9 kB / 454.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004825/0.0807, allocations: 0.582 MB / 455 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.0808, allocations: 100 kB / 455.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.08091, allocations: 92 kB / 455.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.08105, allocations: 267.2 kB / 455.5 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002571/0.08131, allocations: 413.9 kB / 455.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005545/0.08187, allocations: 1.008 MB / 456.9 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.08187, allocations: 0 / 456.9 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.08187, allocations: 0 / 456.9 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.08188, allocations: 0 / 456.9 MB, free: 0.8438 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.002696/0.08458, allocations: 1.382 MB / 458.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.08463, allocations: 11.98 kB / 458.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001385/0.08477, allocations: 102.7 kB / 458.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.08492, allocations: 92.36 kB / 458.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009186/0.08584, allocations: 484.1 kB / 458.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.108e-05/0.08592, allocations: 65.66 kB / 459 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.08603, allocations: 52.38 kB / 459.1 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.08835, allocations: 1.247 MB / 460.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.08837, allocations: 0 / 460.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.08848, allocations: 24 kB / 460.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.08849, allocations: 12 kB / 460.3 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006135/0.09463, allocations: 3.177 MB / 463.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004537/0.09916, allocations: 2.409 MB / 465.9 MB, free: 7.668 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003362/0.1025, allocations: 1.599 MB / 467.5 MB, free: 6.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003695/0.1062, allocations: 1.874 MB / 469.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.906e-05/0.1063, allocations: 12.66 kB / 469.4 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002335/0.1086, allocations: 1.296 MB / 470.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=99): time 2.675e-06/0.1086, allocations: 0 / 470.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=99): time 0.005637/0.1143, allocations: 2.857 MB / 473.6 MB, free: 0 / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.1144, allocations: 88.38 kB / 473.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006715/0.115, allocations: 0.5135 MB / 474.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.663e-05/0.1151, allocations: 61.62 kB / 474.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.1154, allocations: 289.4 kB / 474.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/0.1157, allocations: 301.6 kB / 474.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002879/0.116, allocations: 158.7 kB / 475 MB, free: 14.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.1162, allocations: 398.7 kB / 475.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.1178, allocations: 0.7435 MB / 476.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/0.1195, allocations: 1.025 MB / 477.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003313/0.1229, allocations: 1.783 MB / 478.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.1229, allocations: 4 kB / 478.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003701/0.1266, allocations: 1.832 MB / 480.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.1266, allocations: 12 kB / 480.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.1266, allocations: 8 kB / 480.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/0.1266, allocations: 16 kB / 480.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009587/0.1276, allocations: 239.6 kB / 481 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/0.1276, allocations: 23.94 kB / 481 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000704/0.1283, allocations: 163.4 kB / 481.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.119e-05/0.1284, allocations: 36 kB / 481.2 MB, free: 8.027 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.0005792/0.129, allocations: 397.2 kB / 481.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.1291, allocations: 67.58 kB / 481.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/0.1295, allocations: 135.2 kB / 481.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.1295, allocations: 8 kB / 481.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.1295, allocations: 0 / 481.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.1295, allocations: 7.984 kB / 481.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.131, allocations: 1.076 MB / 482.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.131, allocations: 0 / 482.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000781/0.1318, allocations: 191.7 kB / 483.1 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.1318, allocations: 8 kB / 483.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.925e-05/0.1318, allocations: 23.98 kB / 483.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.1319, allocations: 4 kB / 483.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1319, allocations: 0 / 483.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003928/0.1358, allocations: 2.063 MB / 485.2 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.1359, allocations: 83.33 kB / 485.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.136, allocations: 16 kB / 485.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006443/0.1366, allocations: 123.8 kB / 485.4 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009285/0.1376, allocations: 452.3 kB / 485.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.151e-05/0.1376, allocations: 31.98 kB / 485.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004529/0.1381, allocations: 383 kB / 486.2 MB, free: 2.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1381, allocations: 0 / 486.2 MB, free: 2.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006234/0.1387, allocations: 227.7 kB / 486.5 MB, free: 2.703 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.004226/0.1429, allocations: 2.654 MB / 489.1 MB, free: 20 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003639/0.1466, allocations: 1.81 MB / 490.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1466, allocations: 1.625 kB / 490.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00193/0.1485, allocations: 0.9697 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.000378/0.1489, allocations: 53.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.01712/0.166, 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.0007263/0.1667, allocations: 1.059 MB / 0.4915 GB, free: 1.504 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007819/0.1675, 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.0005266/0.1681, allocations: 243.4 kB / 0.492 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1681, allocations: 0 / 0.492 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05031/0.2184, allocations: 17.52 MB / 0.5091 GB, free: 15.37 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.52, allocations: 11.86 kB / 0.5091 GB, free: 15.36 MB / 398.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestSequencer_fmu --startTime=0 --stopTime=10 --stepSize=0.02 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestSequencer.fmu > MEV_MEV.Test.TestSequencer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.965789071051404] Failed to read output from testmodel.py, exit status != 0: 12.62942570191808 12.646151494 12.561191459 Calling exit ...