Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.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.001274/0.001274, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.002129/0.002129, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.077/1.077, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.03452/0.03452, allocations: 6.492 MB / 266.8 MB, free: 6.508 MB / 250.7 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.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 285.3 MB, free: 3.941 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.991e-05, allocations: 2.312 kB / 285.3 MB, free: 3.938 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.006302/0.006332, allocations: 3.68 MB / 289 MB, free: 244 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1428/0.1491, allocations: 1.961 MB / 291 MB, free: 19.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003616/0.1495, allocations: 14.88 kB / 291 MB, free: 19.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005051/0.15, allocations: 202 kB / 291.2 MB, free: 19.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007023/0.1507, allocations: 281.1 kB / 291.4 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008659/0.1516, allocations: 403.6 kB / 291.8 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008286/0.1524, allocations: 0.6536 MB / 292.5 MB, free: 18.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/0.1527, allocations: 158.7 kB / 292.6 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005148/0.1532, allocations: 365.1 kB / 293 MB, free: 18.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004732/0.1537, allocations: 247.8 kB / 293.2 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.77e-05/0.1538, allocations: 57.66 kB / 293.3 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004263/0.1542, allocations: 184.2 kB / 293.5 MB, free: 18.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.1544, allocations: 229.6 kB / 293.7 MB, free: 18.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.1546, allocations: 201.7 kB / 293.9 MB, free: 18.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.1556, allocations: 0.6379 MB / 294.5 MB, free: 17.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1556, allocations: 1.188 kB / 294.5 MB, free: 17.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1556, allocations: 0.8125 kB / 294.5 MB, free: 17.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.082e-05/0.1557, allocations: 0 / 294.5 MB, free: 17.89 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001491/0.1571, allocations: 0.9955 MB / 295.5 MB, free: 17.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1572, allocations: 9.219 kB / 295.5 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.1574, allocations: 81.3 kB / 295.6 MB, free: 17.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/0.1579, allocations: 388.7 kB / 296 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.1579, allocations: 34.23 kB / 296 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.267e-05/0.158, allocations: 42.06 kB / 296.1 MB, free: 16.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.1584, allocations: 407.3 kB / 296.5 MB, free: 16.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.1585, allocations: 4.438 kB / 296.5 MB, free: 16.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.1585, allocations: 11.34 kB / 296.5 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.1585, allocations: 10.19 kB / 296.5 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.1587, allocations: 95.38 kB / 296.6 MB, free: 16.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.1601, allocations: 1.034 MB / 297.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.1604, allocations: 150.4 kB / 297.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.637e-05/0.1604, allocations: 37.16 kB / 297.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.1605, allocations: 5.359 kB / 297.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.1606, allocations: 110.8 kB / 297.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 3.276e-06/0.1606, allocations: 0 / 297.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004479/0.1611, allocations: 194.8 kB / 298.1 MB, free: 15.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.1611, allocations: 134.2 kB / 298.2 MB, free: 15.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006553/0.1618, allocations: 0.6183 MB / 298.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.1618, allocations: 32.17 kB / 298.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.162, allocations: 250.1 kB / 299.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/0.162, allocations: 88.7 kB / 299.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.808e-05/0.1621, allocations: 74.19 kB / 299.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.1622, allocations: 383.3 kB / 299.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.828e-05/0.1623, allocations: 64.2 kB / 299.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.1624, allocations: 234.4 kB / 300 MB, free: 14.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.1626, allocations: 201.1 kB / 300.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.1626, allocations: 3.938 kB / 300.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003506/0.1629, allocations: 271.8 kB / 300.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.163, allocations: 33.05 kB / 300.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.163, allocations: 2.906 kB / 300.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001443/0.1631, allocations: 21.45 kB / 300.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.1633, allocations: 77.45 kB / 300.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000532/0.1639, allocations: 1.165 MB / 301.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.164, allocations: 41.36 kB / 301.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.1641, allocations: 14.25 kB / 301.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001657/0.1642, allocations: 156.1 kB / 301.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001027/0.1643, allocations: 219.2 kB / 302.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000169/0.1645, allocations: 192.6 kB / 302.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.214e-06/0.1645, allocations: 0.5469 kB / 302.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0002984/0.1648, allocations: 267.8 kB / 302.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.1648, allocations: 38.69 kB / 302.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.1648, allocations: 1.812 kB / 302.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.116e-05/0.1649, allocations: 25.16 kB / 302.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.1651, allocations: 76.42 kB / 302.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004704/0.1655, allocations: 1.163 MB / 303.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.1657, allocations: 39.33 kB / 303.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.1657, allocations: 7.156 kB / 303.9 MB, free: 11.2 MB / 266.7 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 (iceT.tokgFuel.local_reset,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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 9.302e-05/0.1658, allocations: 205.1 kB / 304.1 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.1658, allocations: 45.03 kB / 304.2 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.1661, allocations: 193.2 kB / 304.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1661, allocations: 2.75 kB / 304.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1661, allocations: 0 / 304.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1661, allocations: 4.031 kB / 304.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.1664, allocations: 267.2 kB / 304.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1664, allocations: 0 / 304.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.1666, allocations: 47.53 kB / 304.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.029e-05/0.1666, allocations: 15.83 kB / 304.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.1666, allocations: 7.344 kB / 304.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003849/0.167, allocations: 1.169 MB / 305.9 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.167, allocations: 0 / 305.9 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.1673, allocations: 224.8 kB / 306.1 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/0.1674, allocations: 69.92 kB / 306.2 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.1674, allocations: 10.47 kB / 306.2 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.795e-05/0.1675, allocations: 18.06 kB / 306.2 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.1676, allocations: 29.91 kB / 306.2 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.1676, allocations: 1.906 kB / 306.2 MB, free: 9.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003353/0.1679, allocations: 321.3 kB / 306.5 MB, free: 9.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1679, allocations: 0 / 306.5 MB, free: 9.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006084/0.1685, allocations: 251 kB / 306.8 MB, free: 9.25 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,iceT.tokgFuel.y) * 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.002078/0.1706, allocations: 0.9146 MB / 307.7 MB, free: 8.988 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006949/0.1713, allocations: 0.6406 MB / 308.3 MB, free: 8.465 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.988e-05/0.1713, allocations: 7.031 kB / 308.3 MB, free: 8.465 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.1715, allocations: 176.3 kB / 308.5 MB, free: 8.324 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.1719, allocations: 98.98 kB / 308.6 MB, free: 8.277 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.1739, allocations: 1.073 MB / 309.7 MB, free: 7.562 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.174, allocations: 161.2 kB / 309.8 MB, free: 7.438 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002202/0.1742, allocations: 72.98 kB / 309.9 MB, free: 7.398 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.1744, allocations: 146.1 kB / 310.1 MB, free: 7.328 MB / 266.7 MB Notification: Performance of SimCode: time 1.944e-06/0.1744, allocations: 0 / 310.1 MB, free: 7.328 MB / 266.7 MB Notification: Performance of Templates: time 0.01226/0.1867, allocations: 8.442 MB / 318.5 MB, free: 15.47 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.171366003807634]