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.001288/0.001288, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001387/0.001387, allocations: 214.4 kB / 22.25 MB, free: 5.258 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.326/1.326, allocations: 207.7 MB / 233.1 MB, free: 9.785 MB / 190.1 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.008499/0.008499, allocations: 1.962 MB / 287.3 MB, free: 3.676 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.002133/0.002133, allocations: 68.91 kB / 401.8 MB, free: 50.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06822/0.07035, allocations: 49.7 MB / 451.5 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.00213/0.07248, allocations: 1.425 MB / 452.9 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003203/0.0728, allocations: 123.8 kB / 453 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.817e-05/0.07285, allocations: 0 / 453 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.07296, allocations: 7.938 kB / 453 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.0731, allocations: 20.23 kB / 453 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.07321, allocations: 19.97 kB / 453.1 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004397/0.07365, allocations: 0.7485 MB / 453.8 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.07394, allocations: 228.9 kB / 454 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.07416, allocations: 374.9 kB / 454.4 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004644/0.07462, allocations: 0.5937 MB / 455 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.07474, allocations: 92 kB / 455.1 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.07486, allocations: 96 kB / 455.2 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.07502, allocations: 271.2 kB / 455.4 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000239/0.07526, allocations: 334.4 kB / 455.8 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005465/0.07581, allocations: 1.02 MB / 456.8 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.07581, allocations: 3.984 kB / 456.8 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.07582, allocations: 3.938 kB / 456.8 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.07583, allocations: 0 / 456.8 MB, free: 0.7266 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.002903/0.07873, allocations: 1.378 MB / 458.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.07878, allocations: 11.98 kB / 458.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.07892, allocations: 102.7 kB / 458.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.07908, allocations: 92.36 kB / 458.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009796/0.08006, allocations: 484.1 kB / 458.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.34e-05/0.08013, allocations: 69.59 kB / 458.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.08025, allocations: 52.38 kB / 459 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/0.08256, allocations: 1.247 MB / 460.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.08258, allocations: 0 / 460.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.83e-05/0.08266, allocations: 27.98 kB / 460.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.08267, allocations: 12 kB / 460.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005978/0.08865, allocations: 3.161 MB / 463.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004269/0.09292, allocations: 2.218 MB / 465.6 MB, free: 7.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003251/0.09617, allocations: 1.604 MB / 467.2 MB, free: 6.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003639/0.09981, allocations: 1.87 MB / 469.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.218e-05/0.09986, allocations: 8.656 kB / 469.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002293/0.1022, allocations: 1.296 MB / 470.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of pre-optimization done (n=99): time 3.356e-06/0.1022, allocations: 0 / 470.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=99): time 0.005458/0.1076, allocations: 2.873 MB / 473.3 MB, free: 72 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.1077, allocations: 84.38 kB / 473.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006346/0.1084, allocations: 0.5174 MB / 473.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.56e-05/0.1084, allocations: 61.69 kB / 473.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.1087, allocations: 285.4 kB / 474.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/0.109, allocations: 305.6 kB / 474.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/0.1092, allocations: 158.7 kB / 474.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002488/0.1095, allocations: 390.8 kB / 475.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.111, allocations: 0.7318 MB / 475.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.1127, allocations: 1.028 MB / 476.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/0.1159, allocations: 1.791 MB / 478.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.912e-06/0.1159, allocations: 3.938 kB / 478.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003612/0.1195, allocations: 1.84 MB / 480.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.1195, allocations: 8 kB / 480.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.1195, allocations: 12 kB / 480.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/0.1195, allocations: 15.98 kB / 480.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.1206, allocations: 243.6 kB / 480.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.783e-05/0.1206, allocations: 19.92 kB / 480.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007148/0.1213, allocations: 159.4 kB / 480.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.387e-05/0.1214, allocations: 44 kB / 480.9 MB, free: 8.094 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.0006422/0.122, allocations: 389.3 kB / 481.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.1222, allocations: 71.58 kB / 481.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.1224, allocations: 131.2 kB / 481.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.1225, allocations: 12 kB / 481.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.1225, allocations: 0 / 481.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.1225, allocations: 7.922 kB / 481.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.1238, allocations: 0.9322 MB / 482.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1238, allocations: 0 / 482.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008108/0.1246, allocations: 195.7 kB / 482.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.1246, allocations: 7.984 kB / 482.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-05/0.1247, allocations: 19.94 kB / 482.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.323e-06/0.1247, allocations: 12 kB / 482.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1247, allocations: 0 / 482.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003907/0.1286, allocations: 2.07 MB / 484.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.1287, allocations: 83.31 kB / 484.9 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.1288, allocations: 19.98 kB / 484.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006738/0.1295, allocations: 123.8 kB / 485 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008853/0.1304, allocations: 452.2 kB / 485.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.803e-05/0.1305, allocations: 31.98 kB / 485.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004472/0.1309, allocations: 391 kB / 485.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1309, allocations: 0 / 485.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006332/0.1316, allocations: 223.7 kB / 486.1 MB, free: 2.895 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.004303/0.1359, allocations: 2.658 MB / 488.7 MB, free: 216 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003609/0.1395, allocations: 1.811 MB / 490.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1395, allocations: 0 / 490.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001851/0.1413, allocations: 0.9705 MB / 491.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.1417, allocations: 49.95 kB / 491.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/0.1583, allocations: 10.2 MB / 0.49 GB, free: 2.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.1588, allocations: 468.2 kB / 0.4904 GB, free: 2.352 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007895/0.1596, allocations: 308.7 kB / 0.4907 GB, free: 2.051 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/0.1601, allocations: 247.4 kB / 0.491 GB, free: 1.809 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1601, allocations: 0 / 0.491 GB, free: 1.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04578/0.2058, allocations: 17.65 MB / 0.5082 GB, free: 76 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.48, allocations: 4.062 kB / 0.5082 GB, free: 72 kB / 382.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 & /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: 13.846612591296434] Failed to read output from testmodel.py, exit status != 0: 11.590985882095993 11.607051547 11.528276565 Calling exit ...