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.001868/0.001868, allocations: 75.75 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.002344/0.002344, allocations: 155.7 kB / 23.01 MB, free: 4.605 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.417/1.417, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] 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.03955/0.03955, allocations: 6.488 MB / 266.3 MB, free: 10.26 MB / 254.1 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: 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.003342/0.003342, allocations: 75.83 kB / 392.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1496, allocations: 55.4 MB / 448 MB, free: 3.492 MB / 414.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.008673/0.1583, allocations: 3.52 MB / 451.5 MB, free: 15.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004496/0.1628, allocations: 1.886 MB / 453.4 MB, free: 14.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004244/0.1632, allocations: 11.94 kB / 453.4 MB, free: 14.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000712/0.1639, allocations: 210.9 kB / 453.6 MB, free: 13.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.1649, allocations: 278.6 kB / 453.9 MB, free: 13.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.1664, allocations: 410.8 kB / 454.3 MB, free: 13.17 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001272/0.1676, allocations: 0.6354 MB / 455 MB, free: 12.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000474/0.1681, allocations: 147.2 kB / 455.1 MB, free: 12.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005717/0.1687, allocations: 270.9 kB / 455.4 MB, free: 12.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005391/0.1692, allocations: 286.7 kB / 455.6 MB, free: 11.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.1693, allocations: 52 kB / 455.7 MB, free: 11.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.1696, allocations: 115.9 kB / 455.8 MB, free: 11.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003096/0.1699, allocations: 215.3 kB / 456 MB, free: 11.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003723/0.1703, allocations: 250.4 kB / 456.3 MB, free: 11.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.1717, allocations: 0.8676 MB / 457.1 MB, free: 10.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1717, allocations: 0 / 457.1 MB, free: 10.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.709e-06/0.1718, allocations: 4 kB / 457.1 MB, free: 10.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1718, allocations: 0 / 457.1 MB, free: 10.34 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.002502/0.1743, allocations: 1.035 MB / 458.2 MB, free: 9.262 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.1743, allocations: 8.031 kB / 458.2 MB, free: 9.254 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.1745, allocations: 88.38 kB / 458.3 MB, free: 9.168 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.1757, allocations: 0.5418 MB / 458.8 MB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.191e-05/0.1758, allocations: 32.94 kB / 458.8 MB, free: 8.566 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.1759, allocations: 39.94 kB / 458.9 MB, free: 8.527 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.1771, allocations: 442.4 kB / 459.3 MB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.1772, allocations: 0 / 459.3 MB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/0.1772, allocations: 16 kB / 459.3 MB, free: 8.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.1772, allocations: 8 kB / 459.3 MB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.1785, allocations: 315.7 kB / 459.6 MB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.182, allocations: 1.434 MB / 461.1 MB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.1834, allocations: 306.8 kB / 461.4 MB, free: 5.938 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005068/0.1839, allocations: 120.7 kB / 461.5 MB, free: 5.816 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/0.1839, allocations: 8 kB / 461.5 MB, free: 5.809 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006867/0.1846, allocations: 190 kB / 461.7 MB, free: 5.613 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 2.605e-06/0.1846, allocations: 0 / 461.7 MB, free: 5.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.002032/0.1866, allocations: 473.6 kB / 462.1 MB, free: 5.141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.381e-05/0.1867, allocations: 85.05 kB / 462.2 MB, free: 5.039 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.1885, allocations: 0.9339 MB / 463.2 MB, free: 4.094 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/0.1886, allocations: 33.7 kB / 463.2 MB, free: 4.055 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004655/0.189, allocations: 352.5 kB / 463.5 MB, free: 3.707 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.1891, allocations: 87.28 kB / 463.6 MB, free: 3.621 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.1893, allocations: 77.62 kB / 463.7 MB, free: 3.539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002785/0.1896, allocations: 378.8 kB / 464.1 MB, free: 3.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006071/0.1902, allocations: 166.5 kB / 464.2 MB, free: 2.988 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000707/0.1909, allocations: 259 kB / 464.5 MB, free: 2.695 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.1921, allocations: 356.6 kB / 464.8 MB, free: 2.316 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1921, allocations: 0 / 464.8 MB, free: 2.316 MB / 430.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001639/0.1937, allocations: 0.5087 MB / 465.3 MB, free: 1.785 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.185e-05/0.1938, allocations: 33.7 kB / 465.4 MB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.1938, allocations: 7.938 kB / 465.4 MB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001967/0.194, allocations: 24.84 kB / 465.4 MB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.1945, allocations: 75.88 kB / 465.5 MB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.196, allocations: 1.245 MB / 466.7 MB, free: 300 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004496/0.1964, allocations: 51.77 kB / 466.8 MB, free: 248 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/0.1965, allocations: 16 kB / 466.8 MB, free: 232 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008959/0.1974, allocations: 365.7 kB / 467.2 MB, free: 15.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006113/0.198, allocations: 247.9 kB / 467.4 MB, free: 15.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001021/0.199, allocations: 331.9 kB / 467.7 MB, free: 15.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.32e-06/0.199, allocations: 3.938 kB / 467.7 MB, free: 15.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001458/0.2005, allocations: 0.489 MB / 468.2 MB, free: 14.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/0.2005, allocations: 41.67 kB / 468.3 MB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.2005, allocations: 0 / 468.3 MB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001142/0.2006, allocations: 28.83 kB / 468.3 MB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.2011, allocations: 79.83 kB / 468.4 MB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.2024, allocations: 1.245 MB / 469.6 MB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004462/0.2029, allocations: 51.89 kB / 469.7 MB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.2029, allocations: 8 kB / 469.7 MB, free: 13.14 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.0002256/0.2031, allocations: 200.2 kB / 469.9 MB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.2033, allocations: 71.47 kB / 469.9 MB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.2046, allocations: 378.1 kB / 470.3 MB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.2047, allocations: 4 kB / 470.3 MB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2047, allocations: 0 / 470.3 MB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.2047, allocations: 3.984 kB / 470.3 MB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006936/0.2054, allocations: 397 kB / 470.7 MB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2054, allocations: 0 / 470.7 MB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/0.2058, allocations: 55.89 kB / 470.7 MB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.2059, allocations: 28.8 kB / 470.8 MB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.2059, allocations: 11.92 kB / 470.8 MB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.2073, allocations: 1.23 MB / 472 MB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.2073, allocations: 7.969 kB / 472 MB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.2091, allocations: 0.5241 MB / 472.5 MB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/0.2093, allocations: 79.55 kB / 472.6 MB, free: 10 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/0.2094, allocations: 8 kB / 472.6 MB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.2098, allocations: 23.97 kB / 472.7 MB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.2099, allocations: 31.89 kB / 472.7 MB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.2099, allocations: 8 kB / 472.7 MB, free: 9.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001255/0.2112, allocations: 0.6669 MB / 473.4 MB, free: 9.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2112, allocations: 0 / 473.4 MB, free: 9.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001027/0.2122, allocations: 215.5 kB / 473.6 MB, free: 9.059 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.003448/0.2156, allocations: 0.6452 MB / 474.2 MB, free: 8.691 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002391/0.218, allocations: 0.8454 MB / 475.1 MB, free: 7.785 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.218, allocations: 0 / 475.1 MB, free: 7.785 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000791/0.2188, allocations: 246.5 kB / 475.3 MB, free: 7.531 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007133/0.2195, allocations: 101 kB / 475.4 MB, free: 7.438 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.2219, allocations: 1.336 MB / 476.7 MB, free: 6.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.2223, allocations: 338 kB / 477.1 MB, free: 5.719 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002494/0.2226, allocations: 96.19 kB / 477.2 MB, free: 5.625 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.2227, allocations: 44.44 kB / 477.2 MB, free: 5.578 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2227, allocations: 0 / 477.2 MB, free: 5.578 MB / 446.1 MB Notification: Performance of Templates: time 0.2078/0.4305, allocations: 6.903 MB / 484.1 MB, free: 71.62 MB / 446.1 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=480 -s ida -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.913345830049366] Failed to read output from testmodel.py, exit status != 0: 0.4408920529531315 0.44815354500000004 0.273948499 Calling exit ...