Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.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.001381/0.001381, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001551/0.001551, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04255/0.04255, allocations: 8.544 MB / 321.7 MB, free: 10.43 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [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.002111/0.002111, allocations: 68.17 kB / 448.1 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1323, allocations: 55.41 MB / 0.4917 GB, free: 7.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.006331/0.1386, allocations: 3.525 MB / 0.4952 GB, free: 4.121 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00351/0.1421, allocations: 1.882 MB / 0.497 GB, free: 2.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003259/0.1424, allocations: 11.94 kB / 0.497 GB, free: 2.219 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005307/0.143, allocations: 202.8 kB / 0.4972 GB, free: 2.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007548/0.1437, allocations: 290.6 kB / 0.4975 GB, free: 1.734 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009531/0.1447, allocations: 404.5 kB / 0.4979 GB, free: 1.344 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008438/0.1455, allocations: 0.6354 MB / 0.4985 GB, free: 0.707 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003696/0.1459, allocations: 155.1 kB / 0.4986 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004909/0.1464, allocations: 266.9 kB / 0.4989 GB, free: 296 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004247/0.1468, allocations: 282.6 kB / 0.4992 GB, free: 12 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.1469, allocations: 52.05 kB / 0.4992 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.1471, allocations: 115.9 kB / 0.4993 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.1474, allocations: 215.3 kB / 0.4995 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002977/0.1477, allocations: 254.5 kB / 0.4998 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.1488, allocations: 0.8714 MB / 0.5006 GB, free: 14.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1488, allocations: 0 / 0.5006 GB, free: 14.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1488, allocations: 0 / 0.5006 GB, free: 14.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.1489, allocations: 0 / 0.5006 GB, free: 14.51 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.002136/0.151, allocations: 1.035 MB / 0.5016 GB, free: 13.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.151, allocations: 12.03 kB / 0.5016 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.1512, allocations: 88.38 kB / 0.5017 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009666/0.1522, allocations: 0.5301 MB / 0.5022 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.1522, allocations: 28.94 kB / 0.5023 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.177e-05/0.1523, allocations: 43.95 kB / 0.5023 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000922/0.1532, allocations: 446.4 kB / 0.5027 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.1532, allocations: 11.92 kB / 0.5028 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.872e-05/0.1533, allocations: 12 kB / 0.5028 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.1533, allocations: 8 kB / 0.5028 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008787/0.1542, allocations: 303.8 kB / 0.5031 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/0.1569, allocations: 1.433 MB / 0.5045 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.1579, allocations: 314.8 kB / 0.5048 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/0.1583, allocations: 112.8 kB / 0.5049 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/0.1583, allocations: 4 kB / 0.5049 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005218/0.1588, allocations: 187.1 kB / 0.5051 GB, free: 9.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.935e-06/0.1588, allocations: 0 / 0.5051 GB, free: 9.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001499/0.1603, allocations: 473.3 kB / 0.5055 GB, free: 9.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.1604, allocations: 85.05 kB / 0.5056 GB, free: 9.227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.1617, allocations: 0.9377 MB / 0.5065 GB, free: 8.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.1618, allocations: 33.7 kB / 0.5065 GB, free: 8.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000354/0.1621, allocations: 348.6 kB / 0.5069 GB, free: 7.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.1623, allocations: 87.39 kB / 0.5069 GB, free: 7.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.1624, allocations: 77.64 kB / 0.507 GB, free: 7.727 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002474/0.1627, allocations: 378.8 kB / 0.5074 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004386/0.1631, allocations: 166.5 kB / 0.5075 GB, free: 7.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/0.1636, allocations: 266.8 kB / 0.5078 GB, free: 6.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007998/0.1644, allocations: 356.4 kB / 0.5081 GB, free: 6.496 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1644, allocations: 0 / 0.5081 GB, free: 6.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001242/0.1657, allocations: 0.5047 MB / 0.5086 GB, free: 5.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.007e-05/0.1657, allocations: 41.62 kB / 0.5087 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.1657, allocations: 3.938 kB / 0.5087 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001863/0.1659, allocations: 29.06 kB / 0.5087 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.1663, allocations: 87.88 kB / 0.5088 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.1677, allocations: 1.237 MB / 0.51 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.168, allocations: 47.78 kB / 0.51 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.1681, allocations: 20.16 kB / 0.5101 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007058/0.1688, allocations: 373.6 kB / 0.5104 GB, free: 4.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004574/0.1692, allocations: 243.8 kB / 0.5106 GB, free: 3.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007226/0.1699, allocations: 328.1 kB / 0.511 GB, free: 3.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.589e-06/0.1699, allocations: 3.938 kB / 0.511 GB, free: 3.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001189/0.1711, allocations: 0.4889 MB / 0.5114 GB, free: 2.879 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.1712, allocations: 33.7 kB / 0.5115 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1712, allocations: 3.984 kB / 0.5115 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.672e-05/0.1713, allocations: 20.86 kB / 0.5115 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.1716, allocations: 75.89 kB / 0.5116 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.1727, allocations: 1.241 MB / 0.5128 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003581/0.1731, allocations: 51.78 kB / 0.5128 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.1731, allocations: 12 kB / 0.5128 GB, free: 1.332 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: 6 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,iceT.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000214/0.1733, allocations: 200.3 kB / 0.513 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.1734, allocations: 75.5 kB / 0.5131 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.1745, allocations: 368.1 kB / 0.5135 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.1745, allocations: 7.984 kB / 0.5135 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.1745, allocations: 0 / 0.5135 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1745, allocations: 0 / 0.5135 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005989/0.1751, allocations: 401 kB / 0.5138 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.1751, allocations: 4 kB / 0.5138 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/0.1754, allocations: 59.83 kB / 0.5139 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.145e-05/0.1755, allocations: 20.84 kB / 0.5139 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.1755, allocations: 4 kB / 0.5139 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2915/0.467, allocations: 1.238 MB / 0.5151 GB, free: 25.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.467, allocations: 1.5 kB / 0.5151 GB, free: 25.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.4683, allocations: 0.5271 MB / 0.5157 GB, free: 25.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.4685, allocations: 89.95 kB / 0.5157 GB, free: 25.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/0.4685, allocations: 4.031 kB / 0.5157 GB, free: 25.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.4688, allocations: 35.78 kB / 0.5158 GB, free: 25.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.4689, allocations: 21.48 kB / 0.5158 GB, free: 25.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.4689, allocations: 7.5 kB / 0.5158 GB, free: 25.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007391/0.4696, allocations: 0.6665 MB / 0.5165 GB, free: 25.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4696, allocations: 1.188 kB / 0.5165 GB, free: 25.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006286/0.4703, allocations: 212.2 kB / 0.5167 GB, free: 25.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceT.inertia.w,iceT.tokgFuel.y,loadTorque.phi) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002454/0.4727, allocations: 0.6562 MB / 0.5173 GB, free: 25.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.4743, allocations: 0.8573 MB / 0.5181 GB, free: 25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4743, allocations: 0 / 0.5181 GB, free: 25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004332/0.4747, allocations: 246.2 kB / 0.5184 GB, free: 24.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/0.4752, allocations: 89.77 kB / 0.5185 GB, free: 24.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.4773, allocations: 1.367 MB / 0.5198 GB, free: 24.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.4776, allocations: 341.2 kB / 0.5201 GB, free: 24.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.4778, allocations: 39.58 kB / 0.5202 GB, free: 24.23 MB / 382.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4778, allocations: 0 / 0.5202 GB, free: 24.23 MB / 382.1 MB Notification: Performance of Templates: time 0.0178/0.4956, allocations: 11.09 MB / 0.531 GB, free: 21.4 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.597069927956909] Failed to read output from testmodel.py, exit status != 0: 0.5038401731289923 0.5163234099999999 0.36496361499999996 Calling exit ...