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.002279/0.002279, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002794/0.002794, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.7/1.7, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 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.04297/0.04297, allocations: 6.478 MB / 266 MB, free: 6.688 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.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 1.663e-06/1.663e-06, allocations: 0 / 337.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.258e-05, allocations: 4.844 kB / 337.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.004094/0.004116, allocations: 3.665 MB / 341 MB, free: 7.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.00632, allocations: 1.915 MB / 342.9 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.006526, allocations: 15.94 kB / 342.9 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.006898, allocations: 202.8 kB / 343.1 MB, free: 5.344 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004955/0.007394, allocations: 286.3 kB / 343.4 MB, free: 5.062 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.007983, allocations: 403 kB / 343.8 MB, free: 4.668 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004723/0.008456, allocations: 0.6546 MB / 344.5 MB, free: 4.012 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.008717, allocations: 155.2 kB / 344.6 MB, free: 3.855 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003867/0.009103, allocations: 359.1 kB / 345 MB, free: 3.504 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.009398, allocations: 251.2 kB / 345.2 MB, free: 3.258 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.439e-05/0.009473, allocations: 52 kB / 345.3 MB, free: 3.207 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.009627, allocations: 119.9 kB / 345.4 MB, free: 3.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.009766, allocations: 219.2 kB / 345.6 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.009914, allocations: 191.4 kB / 345.8 MB, free: 2.688 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006273/0.01054, allocations: 0.8527 MB / 346.6 MB, free: 1.832 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.01054, allocations: 0 / 346.6 MB, free: 1.832 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01055, allocations: 0 / 346.6 MB, free: 1.832 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.01055, allocations: 0 / 346.6 MB, free: 1.832 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001327/0.01188, allocations: 1.193 MB / 347.8 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.01191, allocations: 12.03 kB / 347.8 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.01204, allocations: 112.4 kB / 347.9 MB, free: 480 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006347/0.01268, allocations: 493 kB / 348.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/0.01272, allocations: 29.38 kB / 348.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.866e-05/0.0128, allocations: 48.25 kB / 348.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008502/0.01365, allocations: 448.5 kB / 348.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.01367, allocations: 7.984 kB / 348.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.01371, allocations: 16 kB / 349 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.01372, allocations: 8 kB / 349 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006912/0.01441, allocations: 267.8 kB / 349.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.01731, allocations: 1.816 MB / 351 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007813/0.01809, allocations: 283.3 kB / 351.3 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.01837, allocations: 99.64 kB / 351.4 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.213e-05/0.01841, allocations: 11.98 kB / 351.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000409/0.01882, allocations: 179.3 kB / 351.6 MB, free: 12.65 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.01882, allocations: 0 / 351.6 MB, free: 12.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.001225/0.02004, allocations: 436.5 kB / 352 MB, free: 12.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.02011, allocations: 81.11 kB / 352.1 MB, free: 12.12 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.02137, allocations: 0.8901 MB / 353 MB, free: 11.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.02141, allocations: 33.7 kB / 353 MB, free: 11.17 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004653/0.02188, allocations: 463.3 kB / 353.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.717e-05/0.02198, allocations: 87.33 kB / 353.6 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.02214, allocations: 99.3 kB / 353.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004371/0.02258, allocations: 0.6211 MB / 354.3 MB, free: 9.887 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.02292, allocations: 145.3 kB / 354.4 MB, free: 9.734 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00068/0.0236, allocations: 288.3 kB / 354.7 MB, free: 9.402 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007039/0.0243, allocations: 350.6 kB / 355.1 MB, free: 9.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.02431, allocations: 0 / 355.1 MB, free: 9.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001056/0.02536, allocations: 0.4957 MB / 355.6 MB, free: 8.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.81e-05/0.02541, allocations: 43.52 kB / 355.6 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.02542, allocations: 0 / 355.6 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001723/0.02559, allocations: 27.67 kB / 355.6 MB, free: 8.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.0259, allocations: 72.12 kB / 355.7 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.02745, allocations: 1.779 MB / 357.5 MB, free: 6.453 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.02772, allocations: 39.77 kB / 357.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.02776, allocations: 23.98 kB / 357.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005005/0.02826, allocations: 300.5 kB / 357.8 MB, free: 6.086 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004139/0.02867, allocations: 269.4 kB / 358.1 MB, free: 5.773 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006304/0.0293, allocations: 334.7 kB / 358.4 MB, free: 5.406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.0293, allocations: 4 kB / 358.4 MB, free: 5.402 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0009366/0.03024, allocations: 491.6 kB / 358.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/0.03028, allocations: 37.7 kB / 358.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.03028, allocations: 0 / 358.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.266e-05/0.03038, allocations: 27.67 kB / 359 MB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.03065, allocations: 72.06 kB / 359 MB, free: 4.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.03208, allocations: 1.768 MB / 360.8 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.03234, allocations: 43.77 kB / 360.8 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.03237, allocations: 12 kB / 360.9 MB, free: 2.809 MB / 282.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 (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.0002161/0.03258, allocations: 284 kB / 361.1 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.0327, allocations: 79.69 kB / 361.2 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008361/0.03354, allocations: 323.9 kB / 361.5 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.03354, allocations: 4 kB / 361.5 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.03355, allocations: 3.984 kB / 361.5 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.03355, allocations: 0 / 361.5 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.03459, allocations: 0.5549 MB / 362.1 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.03459, allocations: 0 / 362.1 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.03484, allocations: 39.97 kB / 362.1 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-05/0.03494, allocations: 31.67 kB / 362.2 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.03496, allocations: 4 kB / 362.2 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/0.03663, allocations: 1.771 MB / 363.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.03664, allocations: 0 / 363.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.03781, allocations: 0.495 MB / 364.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.038, allocations: 79.5 kB / 364.5 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.835e-05/0.03806, allocations: 4 kB / 364.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.03826, allocations: 23.92 kB / 364.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.619e-05/0.03836, allocations: 23.95 kB / 364.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.03838, allocations: 4 kB / 364.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007622/0.03914, allocations: 0.5341 MB / 365.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03914, allocations: 4 kB / 365.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006624/0.0398, allocations: 215.5 kB / 365.3 MB, free: 14.14 MB / 298.7 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.004597/0.0444, allocations: 0.6556 MB / 366 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001739/0.04614, allocations: 0.975 MB / 366.9 MB, free: 12.74 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.04614, allocations: 0 / 366.9 MB, free: 12.74 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000526/0.04666, allocations: 303.7 kB / 367.2 MB, free: 12.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005892/0.04725, allocations: 109.4 kB / 367.3 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.04937, allocations: 1.148 MB / 368.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.04978, allocations: 329.6 kB / 368.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002386/0.05001, allocations: 72.22 kB / 368.9 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.05013, allocations: 40.48 kB / 368.9 MB, free: 10.68 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.05013, allocations: 4 kB / 368.9 MB, free: 10.68 MB / 298.7 MB Notification: Performance of Templates: time 0.01608/0.06622, allocations: 6.965 MB / 375.9 MB, free: 3.77 MB / 298.7 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=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.829410893958993]