Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.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.001371/0.001371, allocations: 92.22 kB / 19.65 MB, free: 276 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.001311/0.001311, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9494/0.9494, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.02754/0.02754, allocations: 6.495 MB / 266.4 MB, free: 6.613 MB / 250.7 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.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 338.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.811e-05, allocations: 2.312 kB / 338.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.005401/0.005429, allocations: 3.705 MB / 341.8 MB, free: 7.055 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002997/0.008426, allocations: 1.924 MB / 343.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004826/0.008909, allocations: 11.94 kB / 343.7 MB, free: 5.113 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005435/0.009452, allocations: 206.8 kB / 343.9 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008637/0.01032, allocations: 298.4 kB / 344.2 MB, free: 4.617 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009075/0.01122, allocations: 395.1 kB / 344.6 MB, free: 4.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007981/0.01202, allocations: 0.6546 MB / 345.3 MB, free: 3.574 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003256/0.01235, allocations: 151.2 kB / 345.4 MB, free: 3.418 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000497/0.01284, allocations: 371.1 kB / 345.8 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004417/0.01329, allocations: 259.2 kB / 346 MB, free: 2.801 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.071e-05/0.01338, allocations: 56 kB / 346.1 MB, free: 2.746 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003571/0.01373, allocations: 183.7 kB / 346.3 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.01391, allocations: 223.3 kB / 346.5 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.01411, allocations: 203.4 kB / 346.7 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008783/0.01499, allocations: 0.6383 MB / 347.3 MB, free: 1.508 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.01499, allocations: 0 / 347.3 MB, free: 1.508 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01499, allocations: 4 kB / 347.3 MB, free: 1.504 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.015, allocations: 0 / 347.3 MB, free: 1.504 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001483/0.01649, allocations: 1.143 MB / 348.5 MB, free: 320 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.01653, allocations: 8.031 kB / 348.5 MB, free: 312 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.01672, allocations: 112.4 kB / 348.6 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008005/0.01752, allocations: 488.9 kB / 349.1 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.01756, allocations: 29.38 kB / 349.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.472e-05/0.01765, allocations: 44.33 kB / 349.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007363/0.01838, allocations: 444.1 kB / 349.6 MB, free: 15.13 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.0184, allocations: 4 kB / 349.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.01844, allocations: 15.98 kB / 349.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.01846, allocations: 11.94 kB / 349.6 MB, free: 15.1 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003703/0.01883, allocations: 133.8 kB / 349.7 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002377/0.02121, allocations: 1.562 MB / 351.3 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.0217, allocations: 176.9 kB / 351.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.02182, allocations: 43.67 kB / 351.5 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.165e-05/0.02186, allocations: 7.984 kB / 351.5 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/0.02212, allocations: 124.9 kB / 351.6 MB, free: 12.97 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 2.845e-06/0.02212, allocations: 0 / 351.6 MB, free: 12.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008138/0.02293, allocations: 276.5 kB / 351.9 MB, free: 12.69 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.02301, allocations: 132.5 kB / 352 MB, free: 12.53 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.02405, allocations: 0.7298 MB / 352.8 MB, free: 11.78 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.02408, allocations: 37.7 kB / 352.8 MB, free: 11.74 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.02432, allocations: 407.4 kB / 353.2 MB, free: 11.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.776e-05/0.02437, allocations: 87.27 kB / 353.3 MB, free: 11.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.02448, allocations: 79.34 kB / 353.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.02466, allocations: 0.5703 MB / 353.9 MB, free: 10.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.02478, allocations: 85.34 kB / 354 MB, free: 10.49 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.02495, allocations: 271.3 kB / 354.3 MB, free: 10.15 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.02518, allocations: 238.5 kB / 354.5 MB, free: 9.879 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.02519, allocations: 0 / 354.5 MB, free: 9.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004577/0.02564, allocations: 383.7 kB / 354.9 MB, free: 9.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.02567, allocations: 37.69 kB / 354.9 MB, free: 9.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.02568, allocations: 4 kB / 354.9 MB, free: 9.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001471/0.02583, allocations: 23.91 kB / 354.9 MB, free: 9.406 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.02602, allocations: 75.89 kB / 355 MB, free: 9.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008514/0.02687, allocations: 1.732 MB / 356.8 MB, free: 7.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.02705, allocations: 39.77 kB / 356.8 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.02707, allocations: 20.12 kB / 356.8 MB, free: 7.418 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001947/0.02727, allocations: 216.5 kB / 357 MB, free: 7.195 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001701/0.02744, allocations: 267.9 kB / 357.3 MB, free: 6.863 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001954/0.02763, allocations: 218.8 kB / 357.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.02763, allocations: 0 / 357.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0003804/0.02801, allocations: 391.6 kB / 357.9 MB, free: 6.203 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.02804, allocations: 33.7 kB / 357.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.02804, allocations: 0 / 357.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.995e-05/0.02811, allocations: 23.67 kB / 357.9 MB, free: 6.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.02825, allocations: 71.91 kB / 358 MB, free: 6.066 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006455/0.0289, allocations: 1.729 MB / 359.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.02905, allocations: 39.77 kB / 359.8 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.02907, allocations: 16 kB / 359.8 MB, free: 4.16 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.0001356/0.0292, allocations: 288 kB / 360.1 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.885e-05/0.02927, allocations: 79.7 kB / 360.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.0296, allocations: 227.3 kB / 360.4 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.02961, allocations: 7.938 kB / 360.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.02961, allocations: 0 / 360.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.02962, allocations: 8.016 kB / 360.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.03001, allocations: 428.2 kB / 360.8 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.03002, allocations: 0 / 360.8 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.03016, allocations: 51.91 kB / 360.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.153e-05/0.03024, allocations: 19.67 kB / 360.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.03026, allocations: 8 kB / 360.9 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006989/0.03096, allocations: 1.732 MB / 362.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.03096, allocations: 0 / 362.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.03134, allocations: 318.8 kB / 362.9 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.152e-05/0.03142, allocations: 83.42 kB / 363 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.03145, allocations: 12.12 kB / 363 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.963e-05/0.03155, allocations: 19.98 kB / 363 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.03161, allocations: 23.95 kB / 363.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.03163, allocations: 4 kB / 363.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003885/0.03201, allocations: 470.9 kB / 363.5 MB, free: 224 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03201, allocations: 0 / 363.5 MB, free: 224 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005213/0.03254, allocations: 255.5 kB / 363.8 MB, free: 15.96 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,iceT.tokgFuel.y) * 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.001566/0.0341, allocations: 0.6777 MB / 364.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007773/0.03488, allocations: 0.7844 MB / 365.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.03488, allocations: 3.938 kB / 365.2 MB, free: 14.69 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.03506, allocations: 245.5 kB / 365.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.03543, allocations: 115.6 kB / 365.6 MB, free: 14.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.03704, allocations: 1.078 MB / 366.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.03714, allocations: 165.2 kB / 366.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.0373, allocations: 76.2 kB / 366.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.743e-05/0.03738, allocations: 44.48 kB / 367 MB, free: 12.91 MB / 298.7 MB Notification: Performance of SimCode: time 7.12e-07/0.03738, allocations: 4 kB / 367 MB, free: 12.91 MB / 298.7 MB Notification: Performance of Templates: time 0.01056/0.04795, allocations: 7.948 MB / 374.9 MB, free: 5.023 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.855646885931492]