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.001545/0.001545, allocations: 92.7 kB / 19.44 MB, free: 324 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.001877/0.001877, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.519/1.519, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 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.03969/0.03969, allocations: 6.498 MB / 266.1 MB, free: 6.625 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 1.763e-06/1.763e-06, allocations: 0 / 337.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.977e-05, allocations: 2.312 kB / 337.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.004114/0.004144, allocations: 3.509 MB / 340.9 MB, free: 7.586 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.006173, allocations: 1.897 MB / 342.8 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.00636, allocations: 11.94 kB / 342.8 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003899/0.00675, allocations: 202.8 kB / 343 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005179/0.007268, allocations: 282.4 kB / 343.2 MB, free: 5.195 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005717/0.007839, allocations: 411 kB / 343.6 MB, free: 4.793 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004579/0.008297, allocations: 0.6585 MB / 344.3 MB, free: 4.133 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.00853, allocations: 147.2 kB / 344.4 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002874/0.008817, allocations: 367.1 kB / 344.8 MB, free: 3.621 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/0.0091, allocations: 259.2 kB / 345.1 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.398e-05/0.009164, allocations: 56 kB / 345.1 MB, free: 3.312 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.009368, allocations: 175.8 kB / 345.3 MB, free: 3.141 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.009506, allocations: 223.3 kB / 345.5 MB, free: 2.922 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.009662, allocations: 203.4 kB / 345.7 MB, free: 2.723 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006988/0.01036, allocations: 0.9462 MB / 346.6 MB, free: 1.773 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.01036, allocations: 0 / 346.6 MB, free: 1.773 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.01037, allocations: 0 / 346.6 MB, free: 1.773 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.01037, allocations: 0 / 346.6 MB, free: 1.773 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.001371/0.01174, allocations: 1.055 MB / 347.7 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.01177, allocations: 12.03 kB / 347.7 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.01192, allocations: 112.4 kB / 347.8 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006422/0.01256, allocations: 0.5529 MB / 348.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.0126, allocations: 29.38 kB / 348.4 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.279e-05/0.01269, allocations: 40.33 kB / 348.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009929/0.01368, allocations: 0.5074 MB / 348.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.0137, allocations: 4 kB / 349 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.01374, allocations: 12 kB / 349 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.01375, allocations: 8 kB / 349 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008843/0.01463, allocations: 311.7 kB / 349.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002592/0.01722, allocations: 1.457 MB / 350.7 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000995/0.01822, allocations: 329.7 kB / 351.1 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003588/0.01858, allocations: 112.8 kB / 351.2 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.01862, allocations: 4 kB / 351.2 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005181/0.01913, allocations: 193.5 kB / 351.4 MB, free: 12.87 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.783e-06/0.01914, allocations: 0 / 351.4 MB, free: 12.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.001519/0.02065, allocations: 481.6 kB / 351.8 MB, free: 12.39 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.02077, allocations: 140.5 kB / 352 MB, free: 12.22 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.02213, allocations: 0.9495 MB / 352.9 MB, free: 11.26 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.02217, allocations: 33.7 kB / 352.9 MB, free: 11.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003537/0.02252, allocations: 348.5 kB / 353.3 MB, free: 10.88 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.219e-05/0.02262, allocations: 83.28 kB / 353.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.02276, allocations: 77.64 kB / 353.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002577/0.02301, allocations: 390.7 kB / 353.8 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.02346, allocations: 166.5 kB / 354 MB, free: 10.15 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000579/0.02404, allocations: 328.1 kB / 354.3 MB, free: 9.773 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008536/0.02489, allocations: 355.7 kB / 354.7 MB, free: 9.395 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.0249, allocations: 0 / 354.7 MB, free: 9.395 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001238/0.02613, allocations: 0.5318 MB / 355.2 MB, free: 8.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.436e-05/0.02618, allocations: 33.7 kB / 355.2 MB, free: 8.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.02619, allocations: 4.203 kB / 355.2 MB, free: 8.797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003552/0.02654, allocations: 24.86 kB / 355.2 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.02689, allocations: 79.88 kB / 355.3 MB, free: 8.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.02817, allocations: 1.248 MB / 356.6 MB, free: 7.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/0.02849, allocations: 59.86 kB / 356.6 MB, free: 7.281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.02853, allocations: 12 kB / 356.6 MB, free: 7.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006619/0.02919, allocations: 373.7 kB / 357 MB, free: 6.895 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005322/0.02972, allocations: 320.8 kB / 357.3 MB, free: 6.523 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007572/0.03048, allocations: 328.1 kB / 357.6 MB, free: 6.172 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.03048, allocations: 0 / 357.6 MB, free: 6.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001126/0.03161, allocations: 0.5085 MB / 358.2 MB, free: 5.641 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.72e-05/0.03165, allocations: 37.69 kB / 358.2 MB, free: 5.598 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.03166, allocations: 0 / 358.2 MB, free: 5.598 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.089e-05/0.03175, allocations: 25.08 kB / 358.2 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.03206, allocations: 71.89 kB / 358.3 MB, free: 5.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.03324, allocations: 1.249 MB / 359.5 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.03355, allocations: 51.67 kB / 359.6 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.03358, allocations: 12.16 kB / 359.6 MB, free: 4.086 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.0001935/0.03377, allocations: 208.1 kB / 359.8 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.0339, allocations: 75.53 kB / 359.9 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.03492, allocations: 373.4 kB / 360.2 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.03492, allocations: 3.938 kB / 360.2 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-06/0.03493, allocations: 4 kB / 360.2 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.03493, allocations: 0 / 360.2 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005371/0.03547, allocations: 404.9 kB / 360.6 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.03547, allocations: 0 / 360.6 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.03577, allocations: 51.89 kB / 360.7 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-05/0.03586, allocations: 24.84 kB / 360.7 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.03589, allocations: 4 kB / 360.7 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.03708, allocations: 1.257 MB / 362 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.03708, allocations: 0 / 362 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.03862, allocations: 0.5285 MB / 362.5 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.03877, allocations: 83.55 kB / 362.6 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/0.03884, allocations: 8 kB / 362.6 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.0391, allocations: 27.95 kB / 362.6 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/0.03919, allocations: 19.97 kB / 362.6 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.03921, allocations: 15.98 kB / 362.7 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009768/0.04019, allocations: 0.6826 MB / 363.3 MB, free: 172 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04019, allocations: 0 / 363.3 MB, free: 172 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007849/0.04098, allocations: 243.4 kB / 363.6 MB, free: 15.93 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.003433/0.04441, allocations: 0.7557 MB / 364.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.04636, allocations: 0.8602 MB / 365.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.04636, allocations: 0 / 365.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005735/0.04693, allocations: 251 kB / 365.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000565/0.0475, allocations: 107.3 kB / 365.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.05008, allocations: 1.293 MB / 366.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.05056, allocations: 337.6 kB / 367.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003001/0.05086, allocations: 96.19 kB / 367.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.05101, allocations: 48.48 kB / 367.3 MB, free: 12.41 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.05101, allocations: 0 / 367.3 MB, free: 12.41 MB / 298.7 MB Notification: Performance of Templates: time 0.01774/0.06875, allocations: 7.93 MB / 375.2 MB, free: 4.551 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=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.7305196250090376]