Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.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.002306/0.002306, allocations: 88.05 kB / 19.44 MB, free: 316 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.002744/0.002744, allocations: 169.3 kB / 22.76 MB, free: 1.641 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.584/1.584, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.06907/0.06907, allocations: 6.496 MB / 266.1 MB, free: 6.645 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.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.257e-05/3.465e-05, allocations: 4.703 kB / 337.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.00513/0.005165, allocations: 3.767 MB / 341.1 MB, free: 7.344 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.007542, allocations: 1.947 MB / 343.1 MB, free: 5.391 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002306/0.007772, allocations: 11.94 kB / 343.1 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004403/0.008213, allocations: 202.8 kB / 343.3 MB, free: 5.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000538/0.008751, allocations: 298.2 kB / 343.6 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006148/0.009365, allocations: 407 kB / 344 MB, free: 4.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004633/0.009829, allocations: 0.6938 MB / 344.7 MB, free: 3.793 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002605/0.01009, allocations: 160.2 kB / 344.8 MB, free: 3.629 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000445/0.01053, allocations: 395 kB / 345.2 MB, free: 3.242 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003402/0.01087, allocations: 251.3 kB / 345.4 MB, free: 2.996 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.075e-05/0.01096, allocations: 60 kB / 345.5 MB, free: 2.938 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.01116, allocations: 127.8 kB / 345.6 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.01136, allocations: 223.2 kB / 345.8 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.01155, allocations: 211.4 kB / 346.1 MB, free: 2.387 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008322/0.01239, allocations: 0.8955 MB / 347 MB, free: 1.488 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01239, allocations: 0 / 347 MB, free: 1.488 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.01239, allocations: 3.938 kB / 347 MB, free: 1.484 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.0124, allocations: 3.984 kB / 347 MB, free: 1.48 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001442/0.01384, allocations: 1.217 MB / 348.2 MB, free: 224 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.01387, allocations: 8.031 kB / 348.2 MB, free: 216 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.01402, allocations: 124.3 kB / 348.3 MB, free: 92 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008323/0.01485, allocations: 492.9 kB / 348.8 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/0.01489, allocations: 33.38 kB / 348.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-05/0.01497, allocations: 40.38 kB / 348.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009523/0.01592, allocations: 492.6 kB / 349.3 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.01595, allocations: 4 kB / 349.3 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.649e-05/0.01601, allocations: 16 kB / 349.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.01602, allocations: 12 kB / 349.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007494/0.01677, allocations: 287.8 kB / 349.7 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/0.01994, allocations: 1.904 MB / 351.6 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008861/0.02082, allocations: 330.3 kB / 351.9 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.02114, allocations: 119.6 kB / 352 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.575e-05/0.02119, allocations: 8 kB / 352 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004326/0.02162, allocations: 179.5 kB / 352.2 MB, free: 12.06 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.552e-06/0.02162, allocations: 0 / 352.2 MB, free: 12.06 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.001652/0.02328, allocations: 0.5241 MB / 352.7 MB, free: 11.53 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.02335, allocations: 85.09 kB / 352.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.02476, allocations: 0.8979 MB / 353.7 MB, free: 10.51 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.0248, allocations: 33.7 kB / 353.7 MB, free: 10.47 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005154/0.02532, allocations: 479.3 kB / 354.2 MB, free: 9.996 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.02546, allocations: 103.2 kB / 354.3 MB, free: 9.895 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.02571, allocations: 103.7 kB / 354.4 MB, free: 9.781 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0005411/0.02625, allocations: 0.6211 MB / 355 MB, free: 9.148 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.02662, allocations: 151 kB / 355.2 MB, free: 8.992 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/0.02711, allocations: 288.6 kB / 355.4 MB, free: 8.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007501/0.02786, allocations: 376.8 kB / 355.8 MB, free: 8.254 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.02786, allocations: 0 / 355.8 MB, free: 8.254 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001175/0.02903, allocations: 0.544 MB / 356.3 MB, free: 7.688 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/0.02908, allocations: 33.7 kB / 356.4 MB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.02909, allocations: 11.92 kB / 356.4 MB, free: 7.637 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003545/0.02945, allocations: 79.84 kB / 356.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.02975, allocations: 71.91 kB / 356.5 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/0.03212, allocations: 2.243 MB / 358.8 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.0324, allocations: 51.73 kB / 358.8 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.03244, allocations: 19.98 kB / 358.9 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005326/0.03297, allocations: 313.4 kB / 359.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004542/0.03342, allocations: 280.6 kB / 359.4 MB, free: 4.414 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006858/0.03411, allocations: 351.3 kB / 359.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.813e-06/0.03411, allocations: 7.875 kB / 359.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001068/0.03518, allocations: 0.5232 MB / 360.3 MB, free: 3.477 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.03523, allocations: 48.09 kB / 360.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.03523, allocations: 0 / 360.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002521/0.03548, allocations: 67.83 kB / 360.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.03577, allocations: 71.91 kB / 360.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/0.03813, allocations: 2.27 MB / 362.8 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.03839, allocations: 35.86 kB / 362.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.03843, allocations: 16 kB / 362.8 MB, free: 0.8398 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,iceP.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002487/0.03867, allocations: 284 kB / 363.1 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.0388, allocations: 79.53 kB / 363.2 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009662/0.03977, allocations: 384 kB / 363.5 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.03977, allocations: 4 kB / 363.5 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.03977, allocations: 0 / 363.5 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.03978, allocations: 3.984 kB / 363.5 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.04177, allocations: 1.067 MB / 364.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.04177, allocations: 4.188 kB / 364.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.04202, allocations: 51.91 kB / 364.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002551/0.04228, allocations: 67.64 kB / 364.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.0423, allocations: 3.984 kB / 364.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002285/0.04458, allocations: 2.255 MB / 367 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.04459, allocations: 0 / 367 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.04589, allocations: 0.6526 MB / 367.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.04609, allocations: 79.69 kB / 367.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.398e-05/0.04615, allocations: 12.03 kB / 367.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.04638, allocations: 15.98 kB / 367.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.04649, allocations: 35.83 kB / 367.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.04652, allocations: 7.984 kB / 367.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000826/0.04735, allocations: 0.538 MB / 368.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.04735, allocations: 0 / 368.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008801/0.04823, allocations: 239.3 kB / 368.6 MB, free: 10.87 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceP.inertia.w,iceP.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 (22): * Single equations (assignments): 19 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004817/0.05304, allocations: 0.653 MB / 369.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001976/0.05502, allocations: 1.035 MB / 370.3 MB, free: 9.406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.05502, allocations: 128 / 370.3 MB, free: 9.406 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005904/0.05561, allocations: 333.3 kB / 370.6 MB, free: 9.059 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006923/0.0563, allocations: 101.8 kB / 370.7 MB, free: 8.965 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.05878, allocations: 1.195 MB / 371.9 MB, free: 7.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.05923, allocations: 342.1 kB / 372.2 MB, free: 7.371 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002607/0.05949, allocations: 72.31 kB / 372.3 MB, free: 7.297 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.05962, allocations: 40.5 kB / 372.3 MB, free: 7.254 MB / 298.7 MB Notification: Performance of SimCode: time 1.272e-06/0.05962, allocations: 0 / 372.3 MB, free: 7.254 MB / 298.7 MB Notification: Performance of Templates: time 0.01806/0.07768, allocations: 7.781 MB / 380.1 MB, free: 15.53 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.871024430030957]