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.001315/0.001315, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001593/0.001593, allocations: 216.7 kB / 23.01 MB, free: 4.609 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.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.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.03982/0.03982, allocations: 8.545 MB / 321.7 MB, free: 10.66 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.00197/0.00197, allocations: 68.19 kB / 448.2 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1092, allocations: 55.41 MB / 0.4918 GB, free: 8.016 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006129/0.1154, allocations: 3.974 MB / 0.4957 GB, free: 4.016 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003374/0.1188, allocations: 1.94 MB / 0.4976 GB, free: 2.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00034/0.1191, allocations: 15.94 kB / 0.4976 GB, free: 2.055 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005226/0.1196, allocations: 210.8 kB / 0.4978 GB, free: 1.848 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006657/0.1203, allocations: 286.5 kB / 0.4981 GB, free: 1.566 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008769/0.1212, allocations: 391 kB / 0.4985 GB, free: 1.188 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008664/0.122, allocations: 0.6745 MB / 0.4991 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000502/0.1225, allocations: 241.8 kB / 0.4993 GB, free: 272 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004616/0.123, allocations: 298.9 kB / 0.4996 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004508/0.1234, allocations: 342.4 kB / 0.5 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.869e-05/0.1235, allocations: 64 kB / 0.5 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.1238, allocations: 131.9 kB / 0.5001 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.124, allocations: 231.2 kB / 0.5004 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003317/0.1243, allocations: 369.8 kB / 0.5007 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.1254, allocations: 0.9414 MB / 0.5016 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1254, allocations: 0 / 0.5016 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1254, allocations: 0 / 0.5016 GB, free: 13.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.1254, allocations: 0 / 0.5016 GB, free: 13.91 MB / 382.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.001869/0.1273, allocations: 1.101 MB / 0.5027 GB, free: 12.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.1273, allocations: 8.031 kB / 0.5027 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.1275, allocations: 100.3 kB / 0.5028 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008386/0.1283, allocations: 0.5378 MB / 0.5033 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/0.1284, allocations: 40.94 kB / 0.5034 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-05/0.1285, allocations: 51.95 kB / 0.5034 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009407/0.1294, allocations: 483.8 kB / 0.5039 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.1294, allocations: 4 kB / 0.5039 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.1295, allocations: 20 kB / 0.5039 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.1295, allocations: 12 kB / 0.5039 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000866/0.1303, allocations: 355.7 kB / 0.5043 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002875/0.1332, allocations: 1.786 MB / 0.506 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008401/0.1341, allocations: 323.2 kB / 0.5063 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.1344, allocations: 136.8 kB / 0.5064 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/0.1344, allocations: 7.938 kB / 0.5064 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004772/0.1349, allocations: 203.3 kB / 0.5066 GB, free: 8.598 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.154e-06/0.1349, allocations: 0 / 0.5066 GB, free: 8.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.001759/0.1367, allocations: 0.5758 MB / 0.5072 GB, free: 8.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.1367, allocations: 59.41 kB / 0.5073 GB, free: 7.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.1379, allocations: 0.9417 MB / 0.5082 GB, free: 6.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.138, allocations: 29.7 kB / 0.5082 GB, free: 6.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.1383, allocations: 376.4 kB / 0.5086 GB, free: 6.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.1384, allocations: 111.1 kB / 0.5087 GB, free: 6.473 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.1386, allocations: 82.12 kB / 0.5088 GB, free: 6.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002317/0.1388, allocations: 382.8 kB / 0.5091 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/0.1392, allocations: 136.8 kB / 0.5092 GB, free: 5.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/0.1396, allocations: 207.1 kB / 0.5094 GB, free: 5.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007941/0.1404, allocations: 364 kB / 0.5098 GB, free: 5.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.1404, allocations: 7.938 kB / 0.5098 GB, free: 5.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001178/0.1416, allocations: 0.5347 MB / 0.5103 GB, free: 4.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.875e-05/0.1417, allocations: 37.69 kB / 0.5104 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1417, allocations: 3.938 kB / 0.5104 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003059/0.142, allocations: 68.75 kB / 0.5104 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.1423, allocations: 71.89 kB / 0.5105 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.1442, allocations: 1.711 MB / 0.5122 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.1446, allocations: 51.78 kB / 0.5122 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.1446, allocations: 12 kB / 0.5122 GB, free: 2.625 MB / 382.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.000384/0.145, allocations: 277.6 kB / 0.5125 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.1451, allocations: 71.53 kB / 0.5126 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.1461, allocations: 438.2 kB / 0.513 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1461, allocations: 4 kB / 0.513 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1461, allocations: 3.984 kB / 0.513 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1461, allocations: 0 / 0.513 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006483/0.1468, allocations: 0.5547 MB / 0.5135 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1468, allocations: 4.188 kB / 0.5135 GB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.1471, allocations: 47.97 kB / 0.5136 GB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002043/0.1473, allocations: 56.81 kB / 0.5136 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.1473, allocations: 11.98 kB / 0.5136 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2151/0.3624, allocations: 1.698 MB / 0.5153 GB, free: 26.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3624, allocations: 0 / 0.5153 GB, free: 26.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.3637, allocations: 0.5963 MB / 0.5159 GB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.3639, allocations: 82.59 kB / 0.516 GB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.3639, allocations: 15.05 kB / 0.516 GB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.3641, allocations: 22.39 kB / 0.516 GB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/0.3642, allocations: 31.53 kB / 0.516 GB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.3643, allocations: 12.06 kB / 0.516 GB, free: 26.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006972/0.365, allocations: 0.673 MB / 0.5167 GB, free: 26.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.365, allocations: 0 / 0.5167 GB, free: 26.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005167/0.3655, allocations: 146.4 kB / 0.5168 GB, free: 26.38 MB / 382.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.00223/0.3677, allocations: 0.6052 MB / 0.5174 GB, free: 26.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.3687, allocations: 0.4969 MB / 0.5179 GB, free: 26.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3687, allocations: 0 / 0.5179 GB, free: 26.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004619/0.3692, allocations: 282.9 kB / 0.5182 GB, free: 25.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004977/0.3697, allocations: 95.58 kB / 0.5183 GB, free: 25.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.3717, allocations: 1.465 MB / 0.5197 GB, free: 25.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.372, allocations: 0.9575 MB / 0.5206 GB, free: 24.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.3722, allocations: 44.95 kB / 0.5207 GB, free: 24.62 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3722, allocations: 0 / 0.5207 GB, free: 24.62 MB / 382.1 MB Notification: Performance of Templates: time 0.01578/0.3879, allocations: 11.42 MB / 0.5318 GB, free: 21.61 MB / 382.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 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.046062462963164] Failed to read output from testmodel.py, exit status != 0: 0.3951414229813963 0.406615125 0.278847668 Calling exit ...