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.001904/0.001904, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.002404/0.002404, allocations: 159.2 kB / 23.01 MB, free: 4.602 MB / 14.72 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.486/1.486, allocations: 177.2 MB / 203.4 MB, free: 8.875 MB / 190.1 MB " [Timeout remaining time 178] 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.03977/0.03977, allocations: 6.486 MB / 266.3 MB, free: 10.24 MB / 254.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/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: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003046/0.003046, allocations: 63.91 kB / 392.6 MB, free: 11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1409, allocations: 55.39 MB / 448 MB, free: 3.504 MB / 414.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.008446/0.1494, allocations: 3.52 MB / 451.5 MB, free: 15.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004513/0.1539, allocations: 1.886 MB / 453.4 MB, free: 14.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003712/0.1543, allocations: 11.94 kB / 453.4 MB, free: 14.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006923/0.155, allocations: 210.9 kB / 453.6 MB, free: 13.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.156, allocations: 278.6 kB / 453.9 MB, free: 13.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.1574, allocations: 403 kB / 454.3 MB, free: 13.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.1587, allocations: 0.6393 MB / 454.9 MB, free: 12.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004664/0.1591, allocations: 143.2 kB / 455.1 MB, free: 12.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006273/0.1598, allocations: 270.9 kB / 455.3 MB, free: 12.13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006513/0.1604, allocations: 282.7 kB / 455.6 MB, free: 11.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.1606, allocations: 52 kB / 455.7 MB, free: 11.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003319/0.1609, allocations: 115.9 kB / 455.8 MB, free: 11.69 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003375/0.1612, allocations: 211.3 kB / 456 MB, free: 11.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004612/0.1617, allocations: 250.5 kB / 456.2 MB, free: 11.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.1633, allocations: 0.8753 MB / 457.1 MB, free: 10.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1633, allocations: 0 / 457.1 MB, free: 10.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1633, allocations: 0 / 457.1 MB, free: 10.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.389e-05/0.1633, allocations: 3.938 kB / 457.1 MB, free: 10.36 MB / 430.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.002805/0.1661, allocations: 1.042 MB / 458.2 MB, free: 9.273 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.1662, allocations: 12.03 kB / 458.2 MB, free: 9.262 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002481/0.1664, allocations: 92.38 kB / 458.3 MB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.1677, allocations: 0.5301 MB / 458.8 MB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.09e-05/0.1678, allocations: 32.94 kB / 458.8 MB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.1679, allocations: 40 kB / 458.9 MB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.1693, allocations: 442.4 kB / 459.3 MB, free: 8.082 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/0.1693, allocations: 7.984 kB / 459.3 MB, free: 8.074 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.1694, allocations: 16 kB / 459.3 MB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.1694, allocations: 8 kB / 459.3 MB, free: 8.051 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.1706, allocations: 307.7 kB / 459.6 MB, free: 7.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003726/0.1743, allocations: 1.43 MB / 461.1 MB, free: 6.266 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.1758, allocations: 314.8 kB / 461.4 MB, free: 5.949 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005377/0.1763, allocations: 112.8 kB / 461.5 MB, free: 5.836 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/0.1764, allocations: 4 kB / 461.5 MB, free: 5.832 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007281/0.1771, allocations: 194.1 kB / 461.7 MB, free: 5.633 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 2.434e-06/0.1771, allocations: 0 / 461.7 MB, free: 5.633 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.002138/0.1792, allocations: 473.7 kB / 462.1 MB, free: 5.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.854e-05/0.1793, allocations: 89.11 kB / 462.2 MB, free: 5.055 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.1813, allocations: 0.926 MB / 463.1 MB, free: 4.117 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.1813, allocations: 41.62 kB / 463.2 MB, free: 4.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004722/0.1818, allocations: 352.6 kB / 463.5 MB, free: 3.723 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.1819, allocations: 87.28 kB / 463.6 MB, free: 3.637 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.1821, allocations: 69.69 kB / 463.7 MB, free: 3.562 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002885/0.1824, allocations: 378.8 kB / 464.1 MB, free: 3.184 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006353/0.183, allocations: 174.4 kB / 464.2 MB, free: 3.004 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007742/0.1838, allocations: 259 kB / 464.5 MB, free: 2.711 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.1851, allocations: 348.6 kB / 464.8 MB, free: 2.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.1851, allocations: 4 kB / 464.8 MB, free: 2.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00179/0.1869, allocations: 0.5047 MB / 465.3 MB, free: 1.809 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.76e-05/0.187, allocations: 41.69 kB / 465.4 MB, free: 1.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.187, allocations: 3.938 kB / 465.4 MB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.1872, allocations: 21.08 kB / 465.4 MB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005632/0.1878, allocations: 83.88 kB / 465.5 MB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.1894, allocations: 1.248 MB / 466.7 MB, free: 312 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005299/0.1899, allocations: 47.78 kB / 466.8 MB, free: 264 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.19, allocations: 20.16 kB / 466.8 MB, free: 244 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001005/0.191, allocations: 361.7 kB / 467.1 MB, free: 15.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007178/0.1917, allocations: 251.7 kB / 467.4 MB, free: 15.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001203/0.1929, allocations: 323.9 kB / 467.7 MB, free: 15.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.979e-06/0.1929, allocations: 7.938 kB / 467.7 MB, free: 15.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001351/0.1943, allocations: 0.4966 MB / 468.2 MB, free: 14.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/0.1943, allocations: 33.7 kB / 468.2 MB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1943, allocations: 0 / 468.2 MB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001007/0.1944, allocations: 24.84 kB / 468.3 MB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.1948, allocations: 75.83 kB / 468.3 MB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.196, allocations: 1.257 MB / 469.6 MB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003642/0.1964, allocations: 43.83 kB / 469.6 MB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.1964, allocations: 12 kB / 469.6 MB, free: 13.16 MB / 446.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.0002141/0.1966, allocations: 196.4 kB / 469.8 MB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.1967, allocations: 75.47 kB / 469.9 MB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.198, allocations: 382.9 kB / 470.3 MB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.198, allocations: 0 / 470.3 MB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.198, allocations: 4 kB / 470.3 MB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.198, allocations: 0 / 470.3 MB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006164/0.1986, allocations: 401 kB / 470.7 MB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1986, allocations: 0 / 470.7 MB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003665/0.199, allocations: 51.89 kB / 470.7 MB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001017/0.1991, allocations: 24.84 kB / 470.8 MB, free: 12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.1991, allocations: 8 kB / 470.8 MB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.2003, allocations: 1.241 MB / 472 MB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2004, allocations: 3.938 kB / 472 MB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.2018, allocations: 0.5171 MB / 472.5 MB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.202, allocations: 87.64 kB / 472.6 MB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.2021, allocations: 3.984 kB / 472.6 MB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.2023, allocations: 27.97 kB / 472.6 MB, free: 9.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.371e-05/0.2024, allocations: 27.89 kB / 472.7 MB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.2024, allocations: 8 kB / 472.7 MB, free: 9.945 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000885/0.2033, allocations: 0.6669 MB / 473.3 MB, free: 9.285 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2033, allocations: 0 / 473.3 MB, free: 9.285 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006768/0.204, allocations: 215.4 kB / 473.6 MB, free: 9.074 MB / 446.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.002639/0.2066, allocations: 0.6524 MB / 474.2 MB, free: 8.711 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.2084, allocations: 0.851 MB / 475.1 MB, free: 7.801 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2084, allocations: 0 / 475.1 MB, free: 7.801 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005431/0.209, allocations: 247.1 kB / 475.3 MB, free: 7.547 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.2095, allocations: 90.94 kB / 475.4 MB, free: 7.457 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.2118, allocations: 1.332 MB / 476.7 MB, free: 6.094 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.2122, allocations: 346 kB / 477.1 MB, free: 5.734 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002553/0.2124, allocations: 88.2 kB / 477.1 MB, free: 5.648 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.2126, allocations: 40.48 kB / 477.2 MB, free: 5.605 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2126, allocations: 0 / 477.2 MB, free: 5.605 MB / 446.1 MB Notification: Performance of Templates: time 0.2041/0.4167, allocations: 6.91 MB / 484.1 MB, free: 71.39 MB / 446.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 -s ida -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.914717091014609] Failed to read output from testmodel.py, exit status != 0: 0.4268738270038739 0.43477328299999995 0.26912567499999995 Calling exit ...