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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 104 kB / 16.4 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 190.8 kB / 19.35 MB, free: 3.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04241/0.04241, allocations: 8.419 MB / 305.6 MB, free: 4.293 MB / 238.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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001992/0.001992, allocations: 63.91 kB / 422.5 MB, free: 20.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1153, allocations: 51.37 MB / 473.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.008028/0.1234, allocations: 3.657 MB / 477.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004124/0.1276, allocations: 1.709 MB / 479.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004603/0.1281, allocations: 11.94 kB / 479.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006817/0.1288, allocations: 194.9 kB / 479.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008574/0.1297, allocations: 222.8 kB / 479.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.1311, allocations: 397.2 kB / 480.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.1322, allocations: 0.6159 MB / 480.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005461/0.1328, allocations: 230.6 kB / 480.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004776/0.1333, allocations: 254.9 kB / 481.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006003/0.1339, allocations: 290.8 kB / 481.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.134, allocations: 52 kB / 481.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003139/0.1344, allocations: 108 kB / 481.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003262/0.1347, allocations: 211.3 kB / 481.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004433/0.1352, allocations: 326 kB / 482.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.1368, allocations: 0.8443 MB / 483 MB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1368, allocations: 3.938 kB / 483 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1368, allocations: 0 / 483 MB, free: 7.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.228e-05/0.1369, allocations: 4 kB / 483 MB, free: 7.988 MB / 350.1 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.002606/0.1395, allocations: 1.087 MB / 484.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.939e-05/0.1396, allocations: 15.88 kB / 484.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.1398, allocations: 88.38 kB / 484.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.1411, allocations: 0.5866 MB / 484.7 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.517e-05/0.1411, allocations: 32.94 kB / 484.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.1413, allocations: 47.88 kB / 484.8 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.1424, allocations: 412.7 kB / 485.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.1425, allocations: 3.984 kB / 485.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.247e-05/0.1425, allocations: 16 kB / 485.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.1426, allocations: 8 kB / 485.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.1437, allocations: 311.7 kB / 485.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003782/0.1475, allocations: 1.68 MB / 487.2 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.1489, allocations: 326.8 kB / 487.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004649/0.1493, allocations: 120.8 kB / 487.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.648e-05/0.1494, allocations: 8 kB / 487.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006329/0.15, allocations: 183.1 kB / 487.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.866e-06/0.1501, allocations: 0 / 487.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.002037/0.1521, allocations: 0.5456 MB / 488.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.1522, allocations: 81.11 kB / 488.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.1534, allocations: 0.9182 MB / 489.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.1535, allocations: 33.7 kB / 489.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/0.1538, allocations: 344.2 kB / 489.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.199e-05/0.1539, allocations: 83.3 kB / 489.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.154, allocations: 73.69 kB / 489.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.1542, allocations: 378.8 kB / 490.3 MB, free: 364 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000407/0.1546, allocations: 144.7 kB / 490.4 MB, free: 216 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004966/0.1551, allocations: 207.6 kB / 490.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008802/0.156, allocations: 348.6 kB / 491 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.1561, allocations: 0 / 491 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00121/0.1573, allocations: 487.3 kB / 491.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.633e-05/0.1573, allocations: 41.62 kB / 491.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.1573, allocations: 4 kB / 491.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/0.1575, allocations: 16.86 kB / 491.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.1579, allocations: 87.81 kB / 491.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.1591, allocations: 1.367 MB / 493 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.1595, allocations: 63.53 kB / 493 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.1595, allocations: 19.92 kB / 493.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006478/0.1602, allocations: 336.8 kB / 493.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003958/0.1606, allocations: 195.6 kB / 493.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007241/0.1613, allocations: 327.9 kB / 493.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.1613, allocations: 4 kB / 493.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001018/0.1624, allocations: 470.8 kB / 494.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.1624, allocations: 33.7 kB / 494.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1624, allocations: 4 kB / 494.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.014e-05/0.1625, allocations: 20.84 kB / 494.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.1628, allocations: 76.11 kB / 494.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.164, allocations: 1.382 MB / 495.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.1643, allocations: 39.8 kB / 495.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.1643, allocations: 16 kB / 495.9 MB, free: 10.27 MB / 366.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,iceT.tokgFuel.local_reset) * 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 0.0001861/0.1645, allocations: 200.6 kB / 496.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.675e-05/0.1646, allocations: 71.53 kB / 496.2 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009772/0.1656, allocations: 374.9 kB / 496.6 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1657, allocations: 4 kB / 496.6 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.1657, allocations: 0 / 496.6 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1657, allocations: 0 / 496.6 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006619/0.1663, allocations: 0.5323 MB / 497.1 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1664, allocations: 0 / 497.1 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.1667, allocations: 55.89 kB / 497.1 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-05/0.1667, allocations: 24.84 kB / 497.2 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.1668, allocations: 0 / 497.2 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/0.1679, allocations: 1.371 MB / 498.5 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1679, allocations: 0 / 498.5 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.1692, allocations: 0.5251 MB / 499.1 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.1694, allocations: 160.7 kB / 499.2 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.1694, allocations: 8 kB / 499.2 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.1697, allocations: 27.97 kB / 499.3 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/0.1698, allocations: 23.91 kB / 499.3 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.1698, allocations: 11.98 kB / 499.3 MB, free: 6.652 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008143/0.1706, allocations: 0.6552 MB / 499.9 MB, free: 6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.954e-06/0.1706, allocations: 0 / 499.9 MB, free: 6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006354/0.1713, allocations: 219.5 kB / 0.4884 GB, free: 5.785 MB / 366.1 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.002309/0.1736, allocations: 0.5966 MB / 0.489 GB, free: 5.445 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001732/0.1753, allocations: 0.8108 MB / 0.4898 GB, free: 4.586 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1754, allocations: 0 / 0.4898 GB, free: 4.586 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005612/0.1759, allocations: 263 kB / 0.4901 GB, free: 4.316 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005817/0.1765, allocations: 105.6 kB / 0.4902 GB, free: 4.215 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.1789, allocations: 1.331 MB / 0.4915 GB, free: 2.852 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006623/0.1796, allocations: 0.9317 MB / 0.4924 GB, free: 1.898 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002959/0.1799, allocations: 88.2 kB / 0.4925 GB, free: 1.809 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.18, allocations: 39.44 kB / 0.4925 GB, free: 1.77 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.18, allocations: 0 / 0.4925 GB, free: 1.77 MB / 366.1 MB Notification: Performance of Templates: time 0.01421/0.1942, allocations: 6.699 MB / 0.499 GB, free: 11.09 MB / 382.1 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=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.205566030927002]