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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 108.8 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.405/1.405, allocations: 207.6 MB / 229.8 MB, free: 11.43 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.009283/0.009283, allocations: 1.971 MB / 283.6 MB, free: 5.086 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.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"}) [Timeout 660] "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.002039/0.002039, allocations: 76.06 kB / 396.5 MB, free: 51.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06953/0.07157, allocations: 49.66 MB / 446.2 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002059/0.07363, allocations: 1.44 MB / 447.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003044/0.07393, allocations: 128.2 kB / 447.8 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.975e-05/0.07398, allocations: 4 kB / 447.8 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.07408, allocations: 7.922 kB / 447.8 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.07422, allocations: 12.3 kB / 447.8 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000103/0.07432, allocations: 19.92 kB / 447.8 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004444/0.07477, allocations: 0.7446 MB / 448.5 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003297/0.0751, allocations: 332.9 kB / 448.9 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.07529, allocations: 362.9 kB / 449.2 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004114/0.0757, allocations: 0.5647 MB / 449.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.0758, allocations: 92 kB / 449.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.845e-05/0.0759, allocations: 96 kB / 450 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.07605, allocations: 267.2 kB / 450.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002557/0.0763, allocations: 413.9 kB / 450.6 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005473/0.07685, allocations: 1.004 MB / 451.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.07685, allocations: 4 kB / 451.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.07685, allocations: 0 / 451.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.07686, allocations: 0 / 451.6 MB, free: 2.441 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.002429/0.07929, allocations: 1.453 MB / 453.1 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.07933, allocations: 15.89 kB / 453.1 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.934e-05/0.07943, allocations: 106.6 kB / 453.2 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.07956, allocations: 92.36 kB / 453.3 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007153/0.08028, allocations: 0.5214 MB / 453.8 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.933e-05/0.08033, allocations: 65.66 kB / 453.9 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.722e-05/0.08042, allocations: 52.38 kB / 453.9 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/0.08263, allocations: 1.24 MB / 455.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.08264, allocations: 0 / 455.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.458e-05/0.08272, allocations: 31.98 kB / 455.2 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.08273, allocations: 12 kB / 455.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005899/0.08863, allocations: 3.181 MB / 458.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004332/0.09297, allocations: 2.404 MB / 460.8 MB, free: 9.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003149/0.09611, allocations: 1.595 MB / 462.4 MB, free: 7.492 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003519/0.09963, allocations: 1.888 MB / 464.3 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.019e-05/0.09968, allocations: 8.656 kB / 464.3 MB, free: 5.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002137/0.1018, allocations: 1.292 MB / 465.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=99): time 2.756e-06/0.1018, allocations: 0 / 465.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=99): time 0.005481/0.1073, allocations: 2.865 MB / 468.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.015e-05/0.1074, allocations: 88.38 kB / 468.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006401/0.108, allocations: 0.5135 MB / 469.1 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.764e-05/0.1081, allocations: 65.62 kB / 469.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.1084, allocations: 285.4 kB / 469.4 MB, free: 444 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00028/0.1086, allocations: 301.6 kB / 469.7 MB, free: 140 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/0.1089, allocations: 166.8 kB / 469.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.1091, allocations: 390.7 kB / 470.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.1106, allocations: 0.7435 MB / 471 MB, free: 14.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.1123, allocations: 1.021 MB / 472 MB, free: 13.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003126/0.1154, allocations: 1.795 MB / 473.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.1154, allocations: 0 / 473.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003436/0.1188, allocations: 1.836 MB / 475.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.1188, allocations: 8 kB / 475.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.1189, allocations: 12 kB / 475.7 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.1189, allocations: 12 kB / 475.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009419/0.1198, allocations: 239.6 kB / 475.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.353e-05/0.1199, allocations: 23.92 kB / 475.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/0.1205, allocations: 159.4 kB / 476.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.487e-05/0.1205, allocations: 40 kB / 476.1 MB, free: 9.438 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.0005141/0.1211, allocations: 389.2 kB / 476.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.1212, allocations: 75.56 kB / 476.6 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.1215, allocations: 131.2 kB / 476.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.1215, allocations: 12 kB / 476.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.1215, allocations: 0 / 476.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.1215, allocations: 3.984 kB / 476.7 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.1229, allocations: 1.116 MB / 477.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1229, allocations: 3.984 kB / 477.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/0.1237, allocations: 191.7 kB / 478 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.1237, allocations: 4 kB / 478 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.04e-05/0.1237, allocations: 16 kB / 478 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.1237, allocations: 7.938 kB / 478.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1237, allocations: 0 / 478.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003639/0.1274, allocations: 2.063 MB / 480.1 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.1275, allocations: 156.4 kB / 480.3 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.1276, allocations: 19.98 kB / 480.3 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005851/0.1282, allocations: 123.8 kB / 480.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008976/0.1291, allocations: 448.3 kB / 480.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.019e-05/0.1292, allocations: 31.98 kB / 480.9 MB, free: 4.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000425/0.1296, allocations: 383 kB / 481.3 MB, free: 4.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1296, allocations: 0 / 481.3 MB, free: 4.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006016/0.1302, allocations: 227.7 kB / 481.5 MB, free: 3.984 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.004058/0.1343, allocations: 2.646 MB / 484.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003423/0.1377, allocations: 1.807 MB / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1377, allocations: 4 kB / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001771/0.1395, allocations: 0.971 MB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.1398, allocations: 49.95 kB / 487 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/0.1561, allocations: 10.24 MB / 497.2 MB, free: 3.891 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007231/0.1568, allocations: 1.059 MB / 498.3 MB, free: 2.805 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008251/0.1577, allocations: 316.7 kB / 498.6 MB, free: 2.496 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004748/0.1581, allocations: 239.4 kB / 498.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1581, allocations: 0 / 498.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04226/0.2004, allocations: 16.8 MB / 0.5035 GB, free: 1.391 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.26/9.46, allocations: 4 kB / 0.5035 GB, free: 1.387 MB / 382.1 MB " [Timeout remaining time 650] (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: 11.842925729230046] Failed to read output from testmodel.py, exit status != 0: 9.532856000121683 9.549562234 9.468764305 Calling exit ...