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.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.001451/0.001451, allocations: 113.3 kB / 17.08 MB, free: 5.789 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.001469/0.001469, allocations: 191.7 kB / 20.03 MB, free: 2.906 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.341/1.341, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 179] 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.1278/0.1278, allocations: 8.397 MB / 306.3 MB, free: 2.797 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_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 0.001813/0.001813, allocations: 71.88 kB / 423.2 MB, free: 6.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2036, allocations: 51.38 MB / 474.6 MB, free: 20.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.004163/0.2078, allocations: 3.649 MB / 478.2 MB, free: 17.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.2095, allocations: 1.707 MB / 479.9 MB, free: 16.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.2097, allocations: 10.81 kB / 479.9 MB, free: 16.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.21, allocations: 192.8 kB / 480.1 MB, free: 16.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003672/0.2104, allocations: 228.5 kB / 480.4 MB, free: 16.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005696/0.211, allocations: 393.8 kB / 480.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004679/0.2115, allocations: 0.6249 MB / 481.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002725/0.2118, allocations: 226.9 kB / 481.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.212, allocations: 247 kB / 481.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.2123, allocations: 293.2 kB / 482.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.321e-05/0.2124, allocations: 51.09 kB / 482.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.2125, allocations: 110 kB / 482.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.2127, allocations: 208.8 kB / 482.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.2129, allocations: 335 kB / 482.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006559/0.2135, allocations: 0.8434 MB / 483.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2136, allocations: 4 kB / 483.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2136, allocations: 0 / 483.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.2136, allocations: 0 / 483.6 MB, free: 13.96 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.001304/0.2149, allocations: 1.095 MB / 484.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.2149, allocations: 13.83 kB / 484.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.215, allocations: 90.41 kB / 484.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005541/0.2156, allocations: 0.5798 MB / 485.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.2156, allocations: 32.66 kB / 485.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.2157, allocations: 41.27 kB / 485.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000675/0.2164, allocations: 414.5 kB / 485.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.2164, allocations: 1.281 kB / 485.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.2164, allocations: 16.34 kB / 485.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.2165, allocations: 8.719 kB / 485.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007079/0.2172, allocations: 315.5 kB / 486.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.219, allocations: 1.685 MB / 487.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007804/0.2198, allocations: 331.6 kB / 488.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.2201, allocations: 121.2 kB / 488.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.2201, allocations: 3.438 kB / 488.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003793/0.2205, allocations: 183 kB / 488.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.2205, allocations: 0 / 488.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001218/0.2218, allocations: 0.5462 MB / 489.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.2218, allocations: 80.33 kB / 489.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008741/0.2227, allocations: 0.9206 MB / 490.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.2227, allocations: 32.08 kB / 490.1 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.2229, allocations: 339.4 kB / 490.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/0.2229, allocations: 89.91 kB / 490.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-05/0.223, allocations: 70.75 kB / 490.6 MB, free: 8.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.63e-05/0.2231, allocations: 378.2 kB / 491 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.2235, allocations: 141.6 kB / 491.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.2238, allocations: 209.1 kB / 491.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006293/0.2245, allocations: 354.2 kB / 491.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2245, allocations: 1.375 kB / 491.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008689/0.2253, allocations: 487.1 kB / 492.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.2254, allocations: 36.64 kB / 492.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2254, allocations: 1.406 kB / 492.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000125/0.2255, allocations: 29.41 kB / 492.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.2258, allocations: 84.38 kB / 492.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006017/0.2264, allocations: 1.377 MB / 493.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.2267, allocations: 56.33 kB / 493.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.2267, allocations: 17.56 kB / 493.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004272/0.2272, allocations: 333.4 kB / 494.1 MB, free: 6.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002964/0.2275, allocations: 198.7 kB / 494.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005406/0.228, allocations: 325.2 kB / 494.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.228, allocations: 1.062 kB / 494.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0007992/0.2288, allocations: 474.5 kB / 495 MB, free: 5.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.2289, allocations: 35.98 kB / 495.1 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-06/0.2289, allocations: 1.375 kB / 495.1 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.37e-05/0.2289, allocations: 25.28 kB / 495.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.2292, allocations: 74.23 kB / 495.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005083/0.2297, allocations: 1.374 MB / 496.5 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.23, allocations: 36.2 kB / 496.6 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.23, allocations: 14.38 kB / 496.6 MB, free: 3.949 MB / 350.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 8.984e-05/0.2301, allocations: 205.1 kB / 496.8 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/0.2302, allocations: 71.84 kB / 496.9 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007973/0.231, allocations: 374.1 kB / 497.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.231, allocations: 3.219 kB / 497.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.231, allocations: 0 / 497.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.231, allocations: 5.062 kB / 497.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.2314, allocations: 0.5259 MB / 497.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2314, allocations: 0 / 497.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.2317, allocations: 57.73 kB / 497.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.209e-05/0.2318, allocations: 22.22 kB / 497.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.2318, allocations: 6.031 kB / 497.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005085/0.2323, allocations: 1.364 MB / 499.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2323, allocations: 0 / 499.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.2334, allocations: 0.5334 MB / 499.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.2335, allocations: 162 kB / 499.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.684e-05/0.2335, allocations: 6.469 kB / 499.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.2338, allocations: 25.19 kB / 499.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.442e-05/0.2338, allocations: 22.72 kB / 500 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.2339, allocations: 5.062 kB / 500 MB, free: 1.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005952/0.2345, allocations: 0.6661 MB / 0.4889 GB, free: 0.7539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2345, allocations: 0 / 0.4889 GB, free: 0.7539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005558/0.235, allocations: 219.2 kB / 0.4891 GB, free: 0.6953 MB / 350.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.00203/0.2371, allocations: 0.5975 MB / 0.4897 GB, free: 444 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.2384, allocations: 0.8113 MB / 0.4905 GB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2384, allocations: 0 / 0.4905 GB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004945/0.2389, allocations: 258.4 kB / 0.4907 GB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.2394, allocations: 105.5 kB / 0.4908 GB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.2415, allocations: 1.361 MB / 0.4922 GB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005737/0.242, allocations: 0.9365 MB / 0.4931 GB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.2422, allocations: 35.44 kB / 0.4931 GB, free: 13.27 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2422, allocations: 4 kB / 0.4931 GB, free: 13.27 MB / 366.1 MB Notification: Performance of Templates: time 0.01328/0.2555, allocations: 10.63 MB / 0.5035 GB, free: 2.637 MB / 366.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 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.252570410026237] Failed to read output from testmodel.py, exit status != 0: 0.2620179040823132 0.27375892899999993 0.057837267000000005 Calling exit ...