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.001969/0.001969, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002185/0.002185, allocations: 217.2 kB / 22.25 MB, free: 4.855 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.785 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.04417/0.04417, allocations: 8.551 MB / 321 MB, free: 10.39 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.002706/0.002706, allocations: 72.19 kB / 447.4 MB, free: 15.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1355, allocations: 55.42 MB / 0.491 GB, free: 7.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.007785/0.1433, allocations: 3.602 MB / 0.4945 GB, free: 3.973 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004311/0.1476, allocations: 1.92 MB / 0.4964 GB, free: 2.047 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009484/0.1485, allocations: 15.88 kB / 0.4964 GB, free: 2.031 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009708/0.1495, allocations: 198.9 kB / 0.4966 GB, free: 1.836 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.1512, allocations: 290.5 kB / 0.4969 GB, free: 1.551 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.1527, allocations: 421.6 kB / 0.4973 GB, free: 1.145 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.1542, allocations: 0.6744 MB / 0.4979 GB, free: 476 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005672/0.1548, allocations: 160.2 kB / 0.4981 GB, free: 304 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007677/0.1556, allocations: 286.8 kB / 0.4984 GB, free: 16 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006529/0.1562, allocations: 294.6 kB / 0.4986 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.1564, allocations: 56 kB / 0.4987 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003477/0.1567, allocations: 120 kB / 0.4988 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000306/0.157, allocations: 219.3 kB / 0.499 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004102/0.1574, allocations: 270.3 kB / 0.4993 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.159, allocations: 0.9142 MB / 0.5002 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.159, allocations: 0 / 0.5002 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.159, allocations: 0 / 0.5002 GB, free: 14.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.314e-05/0.1591, allocations: 0 / 0.5002 GB, free: 14.16 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.003151/0.1623, allocations: 1.054 MB / 0.5012 GB, free: 13.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.1623, allocations: 11.97 kB / 0.5012 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003259/0.1626, allocations: 88.38 kB / 0.5013 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.164, allocations: 0.5457 MB / 0.5018 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.504e-05/0.164, allocations: 37.12 kB / 0.5019 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.734e-05/0.1641, allocations: 44 kB / 0.5019 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.1652, allocations: 474.3 kB / 0.5024 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.1652, allocations: 7.953 kB / 0.5024 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/0.1653, allocations: 19.94 kB / 0.5024 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.1653, allocations: 8 kB / 0.5024 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009322/0.1662, allocations: 335.7 kB / 0.5027 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003283/0.1695, allocations: 1.502 MB / 0.5042 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.1706, allocations: 342.8 kB / 0.5045 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003866/0.171, allocations: 128.8 kB / 0.5046 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.481e-05/0.171, allocations: 4 kB / 0.5046 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005225/0.1716, allocations: 193.1 kB / 0.5048 GB, free: 9.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 2.385e-06/0.1716, allocations: 0 / 0.5048 GB, free: 9.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001982/0.1735, allocations: 0.57 MB / 0.5054 GB, free: 8.641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.376e-05/0.1736, allocations: 89.03 kB / 0.5055 GB, free: 8.535 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.1751, allocations: 0.93 MB / 0.5064 GB, free: 7.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/0.1752, allocations: 37.7 kB / 0.5064 GB, free: 7.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.1756, allocations: 368.6 kB / 0.5068 GB, free: 7.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.1757, allocations: 91.23 kB / 0.5068 GB, free: 7.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.1758, allocations: 82.11 kB / 0.5069 GB, free: 7.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002432/0.1761, allocations: 394.6 kB / 0.5073 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004423/0.1765, allocations: 168 kB / 0.5075 GB, free: 6.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004984/0.177, allocations: 270.7 kB / 0.5077 GB, free: 6.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008534/0.1779, allocations: 366.2 kB / 0.5081 GB, free: 5.746 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.1779, allocations: 0 / 0.5081 GB, free: 5.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001374/0.1793, allocations: 0.5686 MB / 0.5086 GB, free: 5.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.649e-05/0.1793, allocations: 29.7 kB / 0.5086 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.1793, allocations: 4 kB / 0.5087 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000317/0.1796, allocations: 56.81 kB / 0.5087 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/0.18, allocations: 79.83 kB / 0.5088 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.1821, allocations: 1.692 MB / 0.5104 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/0.1825, allocations: 47.78 kB / 0.5105 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.1825, allocations: 16 kB / 0.5105 GB, free: 3.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007276/0.1832, allocations: 382.6 kB / 0.5109 GB, free: 2.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004648/0.1837, allocations: 250.8 kB / 0.5111 GB, free: 2.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008031/0.1845, allocations: 340.4 kB / 0.5114 GB, free: 2.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.607e-06/0.1845, allocations: 3.938 kB / 0.5114 GB, free: 2.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001338/0.1859, allocations: 0.5442 MB / 0.512 GB, free: 1.527 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.363e-05/0.1859, allocations: 37.69 kB / 0.512 GB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.1859, allocations: 4 kB / 0.512 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002207/0.1861, allocations: 64.75 kB / 0.5121 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.1864, allocations: 76.05 kB / 0.5121 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2757/0.4621, allocations: 1.679 MB / 0.5138 GB, free: 25.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005848/0.4627, allocations: 39.94 kB / 0.5138 GB, free: 25.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.4628, allocations: 14.59 kB / 0.5138 GB, free: 25.31 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.0001835/0.4629, allocations: 201.5 kB / 0.514 GB, free: 25.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.4631, allocations: 68.34 kB / 0.5141 GB, free: 25.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.4642, allocations: 436.5 kB / 0.5145 GB, free: 25.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.4642, allocations: 9.656 kB / 0.5145 GB, free: 25.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.4642, allocations: 0 / 0.5145 GB, free: 25.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4642, allocations: 0 / 0.5145 GB, free: 25.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.4658, allocations: 0.8816 MB / 0.5154 GB, free: 24.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4658, allocations: 3.25 kB / 0.5154 GB, free: 24.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.466, allocations: 53.16 kB / 0.5154 GB, free: 24.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/0.4662, allocations: 59.52 kB / 0.5155 GB, free: 24.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.4662, allocations: 6.812 kB / 0.5155 GB, free: 24.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.4674, allocations: 1.678 MB / 0.5171 GB, free: 23.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4674, allocations: 0 / 0.5171 GB, free: 23.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.4686, allocations: 0.6508 MB / 0.5178 GB, free: 23.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.4687, allocations: 87.25 kB / 0.5178 GB, free: 23.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.913e-05/0.4688, allocations: 12.33 kB / 0.5179 GB, free: 23.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.4691, allocations: 27.45 kB / 0.5179 GB, free: 23.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.825e-05/0.4691, allocations: 27.55 kB / 0.5179 GB, free: 23.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.4692, allocations: 12.83 kB / 0.5179 GB, free: 23.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007147/0.4699, allocations: 0.6686 MB / 0.5186 GB, free: 23.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4699, allocations: 0 / 0.5186 GB, free: 23.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008132/0.4707, allocations: 231.6 kB / 0.5188 GB, free: 23.23 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.002546/0.4732, allocations: 0.6552 MB / 0.5194 GB, free: 23.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.4749, allocations: 0.9079 MB / 0.5203 GB, free: 22.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4749, allocations: 0 / 0.5203 GB, free: 22.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000474/0.4754, allocations: 270 kB / 0.5206 GB, free: 22.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005911/0.476, allocations: 93.09 kB / 0.5207 GB, free: 22.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.4781, allocations: 1.388 MB / 0.522 GB, free: 21.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.4786, allocations: 364.2 kB / 0.5224 GB, free: 21.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002789/0.4789, allocations: 86.88 kB / 0.5225 GB, free: 21.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.479, allocations: 39.69 kB / 0.5225 GB, free: 21.82 MB / 382.1 MB Notification: Performance of SimCode: time 1.372e-06/0.479, allocations: 0 / 0.5225 GB, free: 21.82 MB / 382.1 MB Notification: Performance of Templates: time 0.01766/0.4967, allocations: 8.373 MB / 0.5307 GB, free: 20.4 MB / 382.1 MB " [Timeout remaining time 659] 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: 5.515119848772883] Failed to read output from testmodel.py, exit status != 0: 0.5058689191937447 0.517854961 0.35609162 Calling exit ...