Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.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.001307/0.001307, 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.001546/0.001546, allocations: 216 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.04643/0.04643, allocations: 8.545 MB / 321.7 MB, free: 10.41 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.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [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.002167/0.002167, allocations: 75.88 kB / 448.1 MB, free: 15.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1277, allocations: 55.4 MB / 0.4917 GB, free: 7.629 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.006526/0.1343, allocations: 3.615 MB / 0.4953 GB, free: 3.992 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003848/0.1381, allocations: 1.928 MB / 0.4971 GB, free: 2.059 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003562/0.1385, allocations: 11.94 kB / 0.4971 GB, free: 2.047 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005767/0.139, allocations: 202.9 kB / 0.4973 GB, free: 1.848 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008003/0.1398, allocations: 286.5 kB / 0.4976 GB, free: 1.566 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009626/0.1408, allocations: 409.8 kB / 0.498 GB, free: 1.172 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008725/0.1417, allocations: 0.686 MB / 0.4987 GB, free: 492 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.142, allocations: 160.2 kB / 0.4988 GB, free: 320 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004436/0.1425, allocations: 282.9 kB / 0.4991 GB, free: 36 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004419/0.1429, allocations: 298.6 kB / 0.4994 GB, free: 15.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.092e-05/0.143, allocations: 59.98 kB / 0.4994 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.1432, allocations: 116 kB / 0.4995 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.1435, allocations: 219.3 kB / 0.4998 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002911/0.1438, allocations: 270.3 kB / 0.5 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.145, allocations: 0.9103 MB / 0.5009 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.145, allocations: 0 / 0.5009 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.145, allocations: 0 / 0.5009 GB, free: 14.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.145, allocations: 0 / 0.5009 GB, free: 14.18 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.002037/0.1471, allocations: 1.058 MB / 0.5019 GB, free: 13.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1471, allocations: 8.031 kB / 0.5019 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.1472, allocations: 88.38 kB / 0.502 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009674/0.1482, allocations: 0.5534 MB / 0.5026 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.916e-05/0.1483, allocations: 37.12 kB / 0.5026 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.903e-05/0.1483, allocations: 44 kB / 0.5026 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009564/0.1493, allocations: 470.4 kB / 0.5031 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.1493, allocations: 15.83 kB / 0.5031 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.1494, allocations: 16 kB / 0.5031 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.1494, allocations: 8 kB / 0.5031 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008891/0.1503, allocations: 335.7 kB / 0.5035 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002717/0.153, allocations: 1.498 MB / 0.5049 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.154, allocations: 346.8 kB / 0.5052 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/0.1544, allocations: 128.8 kB / 0.5054 GB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.1544, allocations: 4 kB / 0.5054 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005176/0.1549, allocations: 197.1 kB / 0.5056 GB, free: 9.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 2.334e-06/0.1549, allocations: 0 / 0.5056 GB, free: 9.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001927/0.1569, allocations: 0.57 MB / 0.5061 GB, free: 8.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.1569, allocations: 81.11 kB / 0.5062 GB, free: 8.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.1582, allocations: 0.93 MB / 0.5071 GB, free: 7.609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/0.1583, allocations: 37.7 kB / 0.5071 GB, free: 7.566 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/0.1587, allocations: 368.6 kB / 0.5075 GB, free: 7.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.1588, allocations: 91.23 kB / 0.5076 GB, free: 7.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.1589, allocations: 82.02 kB / 0.5077 GB, free: 7.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002543/0.1592, allocations: 390.7 kB / 0.508 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.1596, allocations: 172 kB / 0.5082 GB, free: 6.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005077/0.1601, allocations: 270.8 kB / 0.5085 GB, free: 6.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008575/0.161, allocations: 370.2 kB / 0.5088 GB, free: 5.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.161, allocations: 4 kB / 0.5088 GB, free: 5.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001354/0.1624, allocations: 0.5686 MB / 0.5094 GB, free: 5.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/0.1624, allocations: 29.7 kB / 0.5094 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.1624, allocations: 4 kB / 0.5094 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003009/0.1627, allocations: 56.81 kB / 0.5095 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.1631, allocations: 79.88 kB / 0.5095 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.1651, allocations: 1.684 MB / 0.5112 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.1655, allocations: 47.75 kB / 0.5112 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/0.1655, allocations: 19.98 kB / 0.5112 GB, free: 3.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007205/0.1663, allocations: 378.6 kB / 0.5116 GB, free: 2.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004676/0.1667, allocations: 250.8 kB / 0.5118 GB, free: 2.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007495/0.1675, allocations: 344.5 kB / 0.5122 GB, free: 2.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/0.1675, allocations: 0 / 0.5122 GB, free: 2.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001244/0.1687, allocations: 0.5442 MB / 0.5127 GB, free: 1.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.094e-05/0.1688, allocations: 40.5 kB / 0.5127 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1688, allocations: 0 / 0.5127 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002187/0.169, allocations: 68.81 kB / 0.5128 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.1693, allocations: 79.98 kB / 0.5129 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2436/0.4129, allocations: 1.668 MB / 0.5145 GB, free: 25.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005054/0.4134, allocations: 50.66 kB / 0.5146 GB, free: 25.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.4134, allocations: 13.98 kB / 0.5146 GB, free: 25.32 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,iceP.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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.000156/0.4136, allocations: 204.8 kB / 0.5148 GB, free: 25.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.082e-05/0.4137, allocations: 68.02 kB / 0.5148 GB, free: 25.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.4147, allocations: 428.3 kB / 0.5152 GB, free: 25.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.4147, allocations: 5.281 kB / 0.5152 GB, free: 25.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.4147, allocations: 0.6562 kB / 0.5152 GB, free: 25.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4147, allocations: 3.984 kB / 0.5152 GB, free: 25.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.4162, allocations: 0.885 MB / 0.5161 GB, free: 24.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4162, allocations: 2.812 kB / 0.5161 GB, free: 24.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.4165, allocations: 56.36 kB / 0.5162 GB, free: 24.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001962/0.4167, allocations: 54.92 kB / 0.5162 GB, free: 24.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.4167, allocations: 8.219 kB / 0.5162 GB, free: 24.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.418, allocations: 1.672 MB / 0.5179 GB, free: 23.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.418, allocations: 0 / 0.5179 GB, free: 23.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.4193, allocations: 0.654 MB / 0.5185 GB, free: 23.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.4195, allocations: 86.64 kB / 0.5186 GB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.109e-05/0.4195, allocations: 7.453 kB / 0.5186 GB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.4198, allocations: 29.91 kB / 0.5186 GB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.255e-05/0.4199, allocations: 27.5 kB / 0.5186 GB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.4199, allocations: 5.625 kB / 0.5186 GB, free: 23.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008425/0.4207, allocations: 0.6725 MB / 0.5193 GB, free: 23.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4207, allocations: 0 / 0.5193 GB, free: 23.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008509/0.4216, allocations: 238.9 kB / 0.5195 GB, free: 23.24 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceP.inertia.w,iceP.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 (22): * Single equations (assignments): 19 * 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.002528/0.4241, allocations: 0.6559 MB / 0.5202 GB, free: 23.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001899/0.426, allocations: 0.9001 MB / 0.5211 GB, free: 22.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.426, allocations: 7.281 kB / 0.5211 GB, free: 22.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004963/0.4265, allocations: 270.6 kB / 0.5213 GB, free: 22.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005859/0.4271, allocations: 98.19 kB / 0.5214 GB, free: 22.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.4292, allocations: 1.421 MB / 0.5228 GB, free: 21.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.4297, allocations: 356.7 kB / 0.5231 GB, free: 21.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.4298, allocations: 42.3 kB / 0.5232 GB, free: 21.8 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4298, allocations: 0 / 0.5232 GB, free: 21.8 MB / 382.1 MB Notification: Performance of Templates: time 0.01856/0.4484, allocations: 11.4 MB / 0.5343 GB, free: 18.59 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.917189658153802] Failed to read output from testmodel.py, exit status != 0: 0.4567770133726299 0.468513154 0.321191181 Calling exit ...