Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.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.001761/0.001761, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002233/0.002233, allocations: 157.7 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.606/1.606, allocations: 177.2 MB / 203.4 MB, free: 8.93 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04041/0.04041, allocations: 6.491 MB / 266.3 MB, free: 10.25 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 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.002108/0.002108, allocations: 71.83 kB / 392.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1041, allocations: 55.39 MB / 448 MB, free: 3.488 MB / 414.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006493/0.1106, allocations: 3.687 MB / 451.7 MB, free: 15.78 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003535/0.1141, allocations: 1.889 MB / 453.6 MB, free: 13.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004013/0.1145, allocations: 11.94 kB / 453.6 MB, free: 13.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005659/0.1151, allocations: 210.8 kB / 453.8 MB, free: 13.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007878/0.1159, allocations: 294.5 kB / 454.1 MB, free: 13.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009409/0.1168, allocations: 378.9 kB / 454.5 MB, free: 13.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008343/0.1177, allocations: 0.6823 MB / 455.2 MB, free: 12.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004656/0.1181, allocations: 221.8 kB / 455.4 MB, free: 12.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004617/0.1186, allocations: 294.8 kB / 455.7 MB, free: 11.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.119, allocations: 310.5 kB / 456 MB, free: 11.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.815e-05/0.1191, allocations: 60 kB / 456 MB, free: 11.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.1194, allocations: 132 kB / 456.2 MB, free: 11.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002381/0.1196, allocations: 223.2 kB / 456.4 MB, free: 11.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003143/0.1199, allocations: 290.3 kB / 456.7 MB, free: 10.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.1211, allocations: 0.9531 MB / 457.6 MB, free: 9.863 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1211, allocations: 0 / 457.6 MB, free: 9.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1211, allocations: 0 / 457.6 MB, free: 9.863 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1211, allocations: 0 / 457.6 MB, free: 9.863 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001932/0.123, allocations: 1.101 MB / 458.7 MB, free: 8.723 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1231, allocations: 12.03 kB / 458.7 MB, free: 8.711 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.1232, allocations: 100.3 kB / 458.8 MB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008623/0.1241, allocations: 0.5417 MB / 459.4 MB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.103e-05/0.1241, allocations: 40.94 kB / 459.4 MB, free: 8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-05/0.1242, allocations: 51.95 kB / 459.5 MB, free: 7.949 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000966/0.1252, allocations: 491.7 kB / 459.9 MB, free: 7.449 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.1252, allocations: 0 / 459.9 MB, free: 7.449 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.1252, allocations: 20 kB / 460 MB, free: 7.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.1253, allocations: 12 kB / 460 MB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009326/0.1262, allocations: 355.7 kB / 460.3 MB, free: 7.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002707/0.1289, allocations: 1.569 MB / 461.9 MB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008871/0.1298, allocations: 334.7 kB / 462.2 MB, free: 5.113 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003871/0.1302, allocations: 132.8 kB / 462.3 MB, free: 4.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.1302, allocations: 4 kB / 462.3 MB, free: 4.977 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004921/0.1307, allocations: 191.3 kB / 462.5 MB, free: 4.777 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.854e-06/0.1307, allocations: 4 kB / 462.5 MB, free: 4.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=30): time 0.001813/0.1325, allocations: 0.5679 MB / 463.1 MB, free: 4.195 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.1326, allocations: 59.39 kB / 463.2 MB, free: 4.125 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.1338, allocations: 0.9377 MB / 464.1 MB, free: 3.176 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.1338, allocations: 33.7 kB / 464.1 MB, free: 3.137 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003445/0.1342, allocations: 388.4 kB / 464.5 MB, free: 2.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.1343, allocations: 103.2 kB / 464.6 MB, free: 2.648 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.1344, allocations: 90.08 kB / 464.7 MB, free: 2.555 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002506/0.1347, allocations: 382.8 kB / 465.1 MB, free: 2.172 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/0.1351, allocations: 162.6 kB / 465.2 MB, free: 2.004 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/0.1356, allocations: 233.5 kB / 465.5 MB, free: 1.746 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008445/0.1364, allocations: 380.1 kB / 465.8 MB, free: 1.344 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1364, allocations: 0 / 465.8 MB, free: 1.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001292/0.1377, allocations: 0.5597 MB / 466.4 MB, free: 0.7617 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.1378, allocations: 37.69 kB / 466.4 MB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1378, allocations: 4 kB / 466.4 MB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002895/0.1381, allocations: 64.81 kB / 466.5 MB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.1384, allocations: 79.77 kB / 466.6 MB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.1404, allocations: 1.665 MB / 468.2 MB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.1407, allocations: 51.78 kB / 468.3 MB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.1408, allocations: 12 kB / 468.3 MB, free: 14.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003924/0.1412, allocations: 277.6 kB / 468.6 MB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.673e-05/0.1413, allocations: 71.59 kB / 468.6 MB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.1424, allocations: 442.1 kB / 469.1 MB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.1424, allocations: 4 kB / 469.1 MB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.1424, allocations: 0 / 469.1 MB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1424, allocations: 0 / 469.1 MB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005396/0.1429, allocations: 432.9 kB / 469.5 MB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1429, allocations: 7.922 kB / 469.5 MB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.1432, allocations: 48.09 kB / 469.6 MB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002121/0.1434, allocations: 64.75 kB / 469.6 MB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.1434, allocations: 8 kB / 469.6 MB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/0.1452, allocations: 1.669 MB / 471.3 MB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1452, allocations: 3.938 kB / 471.3 MB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.1467, allocations: 0.5882 MB / 471.9 MB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.1468, allocations: 83.55 kB / 472 MB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.437e-05/0.1469, allocations: 4 kB / 472 MB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.1471, allocations: 27.91 kB / 472 MB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.859e-05/0.1472, allocations: 35.94 kB / 472 MB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.1472, allocations: 4.188 kB / 472 MB, free: 10.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008694/0.1481, allocations: 0.6708 MB / 472.7 MB, free: 10.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1481, allocations: 4 kB / 472.7 MB, free: 10.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005464/0.1486, allocations: 143.6 kB / 472.9 MB, free: 10.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002544/0.1512, allocations: 0.6536 MB / 473.5 MB, free: 9.645 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.1524, allocations: 0.5346 MB / 474 MB, free: 9.078 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1524, allocations: 0 / 474 MB, free: 9.078 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005591/0.1529, allocations: 274.5 kB / 474.3 MB, free: 8.797 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005118/0.1535, allocations: 94.47 kB / 474.4 MB, free: 8.707 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.1558, allocations: 1.42 MB / 475.8 MB, free: 7.254 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.1562, allocations: 373.6 kB / 476.2 MB, free: 6.867 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001984/0.1564, allocations: 76.33 kB / 476.3 MB, free: 6.789 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.1565, allocations: 36.5 kB / 476.3 MB, free: 6.75 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1565, allocations: 0 / 476.3 MB, free: 6.75 MB / 446.1 MB Notification: Performance of Templates: time 0.2003/0.3568, allocations: 6.886 MB / 483.2 MB, free: 71.87 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.866188511019573] Failed to read output from testmodel.py, exit status != 0: 0.3651905650040135 0.37413632499999994 0.25079300699999996 Calling exit ...