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.0009872/0.0009872, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001013/0.001013, allocations: 177 kB / 23.36 MB, free: 1.137 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 0.9747/0.9747, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.02683/0.02683, allocations: 6.486 MB / 266.8 MB, free: 6.512 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.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: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 285.3 MB, free: 3.949 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.119e-05, allocations: 9.625 kB / 285.3 MB, free: 3.941 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.004244/0.004265, allocations: 3.681 MB / 289 MB, free: 240 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1466/0.1509, allocations: 1.967 MB / 291 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000329/0.1512, allocations: 10.94 kB / 291 MB, free: 18.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004825/0.1517, allocations: 211.7 kB / 291.2 MB, free: 18.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008241/0.1525, allocations: 280.9 kB / 291.5 MB, free: 18.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008427/0.1533, allocations: 394.4 kB / 291.8 MB, free: 18.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008057/0.1542, allocations: 0.6526 MB / 292.5 MB, free: 18.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003386/0.1545, allocations: 162.7 kB / 292.7 MB, free: 18.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007623/0.1553, allocations: 363.3 kB / 293 MB, free: 18.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004741/0.1557, allocations: 234.1 kB / 293.2 MB, free: 18.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.987e-05/0.1558, allocations: 52.12 kB / 293.3 MB, free: 18.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002406/0.1561, allocations: 117.2 kB / 293.4 MB, free: 18.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.1563, allocations: 218.3 kB / 293.6 MB, free: 18.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.1565, allocations: 197.1 kB / 293.8 MB, free: 18.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008955/0.1574, allocations: 0.5685 MB / 294.4 MB, free: 17.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1574, allocations: 0 / 294.4 MB, free: 17.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1574, allocations: 0.6562 kB / 294.4 MB, free: 17.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.706e-05/0.1574, allocations: 1.125 kB / 294.4 MB, free: 17.81 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001561/0.159, allocations: 0.9697 MB / 295.3 MB, free: 17.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.159, allocations: 13.16 kB / 295.4 MB, free: 17.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.1592, allocations: 79.59 kB / 295.4 MB, free: 17.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.1598, allocations: 386.3 kB / 295.8 MB, free: 16.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.1598, allocations: 28.69 kB / 295.8 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/0.1599, allocations: 39.89 kB / 295.9 MB, free: 16.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/0.1603, allocations: 346.9 kB / 296.2 MB, free: 16.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.1603, allocations: 2.672 kB / 296.2 MB, free: 16.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.1604, allocations: 11.72 kB / 296.2 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.1604, allocations: 12.53 kB / 296.2 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.1606, allocations: 96.52 kB / 296.3 MB, free: 16.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.1619, allocations: 1.027 MB / 297.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.1622, allocations: 149.6 kB / 297.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.516e-05/0.1623, allocations: 33.09 kB / 297.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.1623, allocations: 9.422 kB / 297.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.1625, allocations: 104.7 kB / 297.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 2.595e-06/0.1625, allocations: 1.25 kB / 297.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004343/0.163, allocations: 193.9 kB / 297.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.163, allocations: 81.91 kB / 297.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006279/0.1636, allocations: 0.6088 MB / 298.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.1637, allocations: 32.67 kB / 298.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.1638, allocations: 254.2 kB / 298.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.1638, allocations: 79.83 kB / 298.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.099e-05/0.1639, allocations: 79.62 kB / 299 MB, free: 15.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.749e-05/0.164, allocations: 382.7 kB / 299.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.903e-05/0.1641, allocations: 68.64 kB / 299.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.1642, allocations: 168.6 kB / 299.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.1644, allocations: 192.6 kB / 299.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1644, allocations: 1.188 kB / 299.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003673/0.1648, allocations: 275.9 kB / 300 MB, free: 14.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.1648, allocations: 35.42 kB / 300.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.1648, allocations: 3.625 kB / 300.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001217/0.1649, allocations: 22.53 kB / 300.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.1651, allocations: 77.75 kB / 300.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005207/0.1656, allocations: 1.162 MB / 301.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.1658, allocations: 44.95 kB / 301.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.1658, allocations: 12.52 kB / 301.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001687/0.166, allocations: 151.7 kB / 301.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.915e-05/0.1661, allocations: 159.4 kB / 301.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001675/0.1663, allocations: 190 kB / 301.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.504e-06/0.1663, allocations: 1.062 kB / 301.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0003005/0.1666, allocations: 272.4 kB / 302.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.1666, allocations: 34.23 kB / 302.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1666, allocations: 6.219 kB / 302.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.585e-05/0.1667, allocations: 17.48 kB / 302.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1668, allocations: 80.52 kB / 302.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004033/0.1672, allocations: 1.16 MB / 303.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.1674, allocations: 39.19 kB / 303.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.1674, allocations: 11.19 kB / 303.5 MB, free: 11.41 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.518e-05/0.1675, allocations: 202.3 kB / 303.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.1676, allocations: 40.08 kB / 303.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.1678, allocations: 184.2 kB / 303.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1678, allocations: 2.828 kB / 303.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.1678, allocations: 4.062 kB / 303.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1678, allocations: 4.609 kB / 303.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.1681, allocations: 267.1 kB / 304.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1681, allocations: 0 / 304.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.1683, allocations: 42.31 kB / 304.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.648e-05/0.1683, allocations: 20.53 kB / 304.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.1683, allocations: 2.125 kB / 304.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003954/0.1687, allocations: 1.158 MB / 305.4 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1687, allocations: 0 / 305.4 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.169, allocations: 232.6 kB / 305.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/0.1691, allocations: 63.78 kB / 305.7 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.1691, allocations: 8.562 kB / 305.7 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.912e-05/0.1692, allocations: 19.41 kB / 305.7 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.1693, allocations: 31.81 kB / 305.8 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.1693, allocations: 7.094 kB / 305.8 MB, free: 9.621 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003205/0.1696, allocations: 299.8 kB / 306.1 MB, free: 9.543 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1696, allocations: 1.531 kB / 306.1 MB, free: 9.543 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005029/0.1701, allocations: 220.2 kB / 306.3 MB, free: 9.484 MB / 266.7 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.001613/0.1717, allocations: 0.7892 MB / 307.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006404/0.1724, allocations: 0.6313 MB / 307.7 MB, free: 8.797 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.327e-05/0.1724, allocations: 7.812 kB / 307.7 MB, free: 8.797 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.1725, allocations: 177.9 kB / 307.9 MB, free: 8.668 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.1729, allocations: 100.4 kB / 308 MB, free: 8.629 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.1745, allocations: 1.074 MB / 309 MB, free: 7.922 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.1746, allocations: 162 kB / 309.2 MB, free: 7.801 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000188/0.1748, allocations: 60.52 kB / 309.3 MB, free: 7.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.175, allocations: 135 kB / 309.4 MB, free: 7.703 MB / 266.7 MB Notification: Performance of SimCode: time 2.284e-06/0.175, allocations: 0 / 309.4 MB, free: 7.703 MB / 266.7 MB Notification: Performance of Templates: time 0.01062/0.1856, allocations: 7.396 MB / 316.8 MB, free: 1.066 MB / 266.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9142730329185724]