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.001466/0.001466, allocations: 80.94 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.001645/0.001645, allocations: 177 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.041/1.041, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.02662/0.02662, allocations: 6.492 MB / 266.7 MB, free: 6.523 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.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: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 285.3 MB, free: 3.957 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.559e-05, allocations: 2.312 kB / 285.3 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.007039/0.007075, allocations: 3.789 MB / 289.1 MB, free: 144 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1581/0.1651, allocations: 1.999 MB / 291.1 MB, free: 18.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004528/0.1656, allocations: 12.61 kB / 291.1 MB, free: 18.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006313/0.1662, allocations: 211.7 kB / 291.3 MB, free: 18.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009284/0.1671, allocations: 291.9 kB / 291.6 MB, free: 18.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.1682, allocations: 413.9 kB / 292 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.1693, allocations: 0.6787 MB / 292.7 MB, free: 18.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003874/0.1697, allocations: 173.4 kB / 292.8 MB, free: 18.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008873/0.1706, allocations: 389.3 kB / 293.2 MB, free: 18.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005589/0.1711, allocations: 241.6 kB / 293.5 MB, free: 18.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.1713, allocations: 57.53 kB / 293.5 MB, free: 18.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002843/0.1715, allocations: 124.7 kB / 293.6 MB, free: 18.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.1718, allocations: 221.2 kB / 293.9 MB, free: 17.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002578/0.172, allocations: 212.1 kB / 294.1 MB, free: 17.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.173, allocations: 0.5868 MB / 294.6 MB, free: 17.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.173, allocations: 0 / 294.6 MB, free: 17.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.173, allocations: 1.094 kB / 294.7 MB, free: 17.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.428e-05/0.1731, allocations: 0 / 294.7 MB, free: 17.6 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001756/0.1748, allocations: 1.007 MB / 295.7 MB, free: 16.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.234e-05/0.1749, allocations: 10.44 kB / 295.7 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.1751, allocations: 82.56 kB / 295.7 MB, free: 16.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005869/0.1757, allocations: 395.1 kB / 296.1 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/0.1758, allocations: 34 kB / 296.2 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.1758, allocations: 50.48 kB / 296.2 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005807/0.1764, allocations: 367.2 kB / 296.6 MB, free: 16.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.1764, allocations: 1.156 kB / 296.6 MB, free: 16.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.1765, allocations: 15.5 kB / 296.6 MB, free: 16.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.1765, allocations: 10.41 kB / 296.6 MB, free: 16.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.1767, allocations: 102.8 kB / 296.7 MB, free: 16.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.1784, allocations: 1.081 MB / 297.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.1787, allocations: 165 kB / 297.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.689e-05/0.1788, allocations: 44.22 kB / 298 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.855e-05/0.1789, allocations: 9.25 kB / 298 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.1791, allocations: 111 kB / 298.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 4.058e-06/0.1791, allocations: 0.7031 kB / 298.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007411/0.1799, allocations: 277.5 kB / 298.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.1799, allocations: 80.42 kB / 298.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007639/0.1807, allocations: 0.6142 MB / 299.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.1807, allocations: 35.73 kB / 299.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.1809, allocations: 264.6 kB / 299.4 MB, free: 15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.514e-05/0.1809, allocations: 98.48 kB / 299.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.952e-05/0.181, allocations: 74.78 kB / 299.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.653e-05/0.1811, allocations: 382.8 kB / 299.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.89e-05/0.1812, allocations: 68.75 kB / 300 MB, free: 14.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.1814, allocations: 167.8 kB / 300.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.1816, allocations: 196.9 kB / 300.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1816, allocations: 0 / 300.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004466/0.182, allocations: 319.4 kB / 300.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.1821, allocations: 33.73 kB / 300.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.1821, allocations: 2.438 kB / 300.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002463/0.1823, allocations: 64.09 kB / 300.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.1825, allocations: 75.27 kB / 300.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009706/0.1835, allocations: 1.556 MB / 302.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.1837, allocations: 41.95 kB / 302.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.1837, allocations: 11.31 kB / 302.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001544/0.1838, allocations: 158.8 kB / 302.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001015/0.1839, allocations: 168 kB / 302.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001741/0.1841, allocations: 194.8 kB / 302.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.214e-06/0.1841, allocations: 3.938 kB / 302.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0003532/0.1845, allocations: 308 kB / 303.2 MB, free: 12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.1845, allocations: 38.92 kB / 303.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1845, allocations: 1.75 kB / 303.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/0.1847, allocations: 59.53 kB / 303.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.1848, allocations: 70.47 kB / 303.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008174/0.1857, allocations: 1.561 MB / 305 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.1858, allocations: 35.52 kB / 305 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.1858, allocations: 7 kB / 305 MB, free: 10.45 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 (iceP.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 (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.0001217/0.186, allocations: 216 kB / 305.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.463e-05/0.186, allocations: 49.27 kB / 305.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003232/0.1864, allocations: 227 kB / 305.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1864, allocations: 3.812 kB / 305.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1864, allocations: 0 / 305.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.1864, allocations: 3 kB / 305.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007266/0.1871, allocations: 0.5145 MB / 306 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1871, allocations: 0 / 306 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.1873, allocations: 50.05 kB / 306.1 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000173/0.1874, allocations: 56.5 kB / 306.1 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.1874, allocations: 13.3 kB / 306.1 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009844/0.1884, allocations: 1.57 MB / 307.7 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1884, allocations: 0 / 307.7 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.1888, allocations: 332.4 kB / 308 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.862e-05/0.1889, allocations: 75.11 kB / 308.1 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.1889, allocations: 6.469 kB / 308.1 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.1891, allocations: 26.03 kB / 308.1 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.1891, allocations: 23.7 kB / 308.1 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.1892, allocations: 7.969 kB / 308.2 MB, free: 7.934 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003518/0.1895, allocations: 287.1 kB / 308.4 MB, free: 7.816 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1895, allocations: 0 / 308.4 MB, free: 7.816 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007845/0.1903, allocations: 231.5 kB / 308.7 MB, free: 7.758 MB / 266.7 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.001962/0.1922, allocations: 0.785 MB / 309.4 MB, free: 7.543 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007509/0.193, allocations: 0.6777 MB / 310.1 MB, free: 6.996 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.987e-05/0.193, allocations: 5.812 kB / 310.1 MB, free: 6.996 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.1932, allocations: 196.4 kB / 310.3 MB, free: 6.844 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.1936, allocations: 106.8 kB / 310.4 MB, free: 6.781 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.1955, allocations: 1.117 MB / 311.5 MB, free: 6.043 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.1957, allocations: 176.9 kB / 311.7 MB, free: 5.906 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001953/0.1959, allocations: 70.56 kB / 311.8 MB, free: 5.871 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.196, allocations: 128.3 kB / 311.9 MB, free: 5.789 MB / 266.7 MB Notification: Performance of SimCode: time 1.933e-06/0.196, allocations: 0 / 311.9 MB, free: 5.789 MB / 266.7 MB Notification: Performance of Templates: time 0.01259/0.2086, allocations: 8.243 MB / 320.2 MB, free: 13.64 MB / 282.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.168226190842688]