Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001096/0.001096, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001193/0.001193, allocations: 177 kB / 23.36 MB, free: 1.129 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.9651/0.9651, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.03158/0.03158, allocations: 6.512 MB / 266.8 MB, free: 6.492 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 285.3 MB, free: 3.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257e-05/1.398e-05, allocations: 2.312 kB / 285.3 MB, free: 3.926 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.004098/0.004112, allocations: 3.692 MB / 289 MB, free: 216 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1385/0.1426, allocations: 1.966 MB / 291 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.1429, allocations: 11.44 kB / 291 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004364/0.1433, allocations: 204.3 kB / 291.2 MB, free: 18.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005199/0.1438, allocations: 282.5 kB / 291.5 MB, free: 18.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006726/0.1445, allocations: 399 kB / 291.9 MB, free: 18.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005648/0.1451, allocations: 0.6497 MB / 292.5 MB, free: 18.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.1453, allocations: 161.8 kB / 292.7 MB, free: 18.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004443/0.1457, allocations: 369.1 kB / 293 MB, free: 18.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003024/0.146, allocations: 234.6 kB / 293.2 MB, free: 18.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.632e-05/0.1461, allocations: 51.53 kB / 293.3 MB, free: 18.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.1462, allocations: 114 kB / 293.4 MB, free: 18.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.1464, allocations: 215 kB / 293.6 MB, free: 18.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.1465, allocations: 193.7 kB / 293.8 MB, free: 18.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.1471, allocations: 0.5676 MB / 294.4 MB, free: 17.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1471, allocations: 5.156 kB / 294.4 MB, free: 17.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1471, allocations: 1.031 kB / 294.4 MB, free: 17.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.1471, allocations: 0 / 294.4 MB, free: 17.79 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.0009852/0.1481, allocations: 0.973 MB / 295.4 MB, free: 17.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.1481, allocations: 9.219 kB / 295.4 MB, free: 17.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.1482, allocations: 78.48 kB / 295.4 MB, free: 17.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.1486, allocations: 389.1 kB / 295.8 MB, free: 16.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.1486, allocations: 28.44 kB / 295.9 MB, free: 16.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.1487, allocations: 42.45 kB / 295.9 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.149, allocations: 341.6 kB / 296.2 MB, free: 16.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1491, allocations: 4.969 kB / 296.2 MB, free: 16.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.1491, allocations: 17.52 kB / 296.2 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.1491, allocations: 9.656 kB / 296.3 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.1492, allocations: 95.61 kB / 296.4 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.1504, allocations: 1.031 MB / 297.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.1506, allocations: 143.3 kB / 297.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.1507, allocations: 32.5 kB / 297.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.1507, allocations: 8.625 kB / 297.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.1508, allocations: 105.8 kB / 297.7 MB, free: 15.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.362e-06/0.1508, allocations: 0 / 297.7 MB, free: 15.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003316/0.1512, allocations: 195.1 kB / 297.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.1512, allocations: 81.88 kB / 297.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000494/0.1517, allocations: 0.6076 MB / 298.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.1517, allocations: 31.8 kB / 298.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1518, allocations: 253.5 kB / 298.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.1518, allocations: 81.64 kB / 298.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.588e-05/0.1519, allocations: 82.62 kB / 299 MB, free: 15.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.829e-05/0.152, allocations: 382.2 kB / 299.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.766e-05/0.1521, allocations: 64.88 kB / 299.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.007e-05/0.1522, allocations: 170.6 kB / 299.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.1523, allocations: 196.6 kB / 299.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1523, allocations: 0 / 299.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002864/0.1526, allocations: 279.8 kB / 300.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.1526, allocations: 33.38 kB / 300.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1526, allocations: 2.531 kB / 300.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.916e-05/0.1527, allocations: 21.95 kB / 300.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.1529, allocations: 78.11 kB / 300.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003753/0.1533, allocations: 1.163 MB / 301.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.1534, allocations: 39.75 kB / 301.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.1534, allocations: 12.75 kB / 301.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001166/0.1535, allocations: 151.1 kB / 301.5 MB, free: 13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.637e-05/0.1536, allocations: 164.1 kB / 301.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001301/0.1537, allocations: 182.6 kB / 301.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.1537, allocations: 0.5469 kB / 301.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0002546/0.154, allocations: 269.6 kB / 302.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.154, allocations: 33.53 kB / 302.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.154, allocations: 9.906 kB / 302.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5e-05/0.1541, allocations: 22.64 kB / 302.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.1542, allocations: 76.7 kB / 302.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003125/0.1545, allocations: 1.16 MB / 303.4 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.1546, allocations: 40.62 kB / 303.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.1546, allocations: 14.84 kB / 303.5 MB, free: 11.37 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 6.415e-05/0.1547, allocations: 204.1 kB / 303.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-05/0.1548, allocations: 42.92 kB / 303.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.155, allocations: 181.6 kB / 303.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.155, allocations: 1.531 kB / 303.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.155, allocations: 4.438 kB / 303.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.155, allocations: 0 / 303.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.1552, allocations: 266.2 kB / 304.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1552, allocations: 0 / 304.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.1553, allocations: 46.67 kB / 304.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.047e-05/0.1554, allocations: 19.03 kB / 304.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1554, allocations: 7.172 kB / 304.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003413/0.1557, allocations: 1.156 MB / 305.4 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1557, allocations: 4.125 kB / 305.4 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.156, allocations: 230.3 kB / 305.6 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.156, allocations: 65.95 kB / 305.7 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.1561, allocations: 5.375 kB / 305.7 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-05/0.1562, allocations: 21.05 kB / 305.7 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.1562, allocations: 27.81 kB / 305.8 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.1562, allocations: 5 kB / 305.8 MB, free: 9.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000292/0.1565, allocations: 312.1 kB / 306.1 MB, free: 9.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1565, allocations: 0 / 306.1 MB, free: 9.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003776/0.1569, allocations: 220.5 kB / 306.3 MB, free: 9.441 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.001489/0.1584, allocations: 0.7859 MB / 307.1 MB, free: 9.234 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004224/0.1588, allocations: 0.6339 MB / 307.7 MB, free: 8.754 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.1588, allocations: 6.156 kB / 307.7 MB, free: 8.754 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.1589, allocations: 178 kB / 307.9 MB, free: 8.625 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.1592, allocations: 95.52 kB / 308 MB, free: 8.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.1604, allocations: 1.075 MB / 309.1 MB, free: 7.887 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.472e-05/0.1605, allocations: 161.5 kB / 309.2 MB, free: 7.766 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001345/0.1606, allocations: 65.44 kB / 309.3 MB, free: 7.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.1608, allocations: 127.8 kB / 309.4 MB, free: 7.672 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1608, allocations: 0 / 309.4 MB, free: 7.672 MB / 266.7 MB Notification: Performance of Templates: time 0.008233/0.169, allocations: 7.395 MB / 316.8 MB, free: 1.039 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8507442343980074]