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.0008681/0.0008681, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009818/0.0009818, allocations: 169.3 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.8952/0.8952, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.02546/0.02546, allocations: 6.49 MB / 266.4 MB, free: 6.629 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 1.443e-06/1.443e-06, allocations: 0 / 338.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.679e-05, allocations: 4.422 kB / 338.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.003157/0.003174, allocations: 3.816 MB / 341.9 MB, free: 6.945 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.00465, allocations: 1.971 MB / 343.9 MB, free: 4.969 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.004811, allocations: 11.94 kB / 343.9 MB, free: 4.957 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.005161, allocations: 210.7 kB / 344.1 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004059/0.005567, allocations: 294.3 kB / 344.4 MB, free: 4.461 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.005979, allocations: 415 kB / 344.8 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003746/0.006354, allocations: 0.6859 MB / 345.5 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.006558, allocations: 164.2 kB / 345.6 MB, free: 3.199 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000294/0.006852, allocations: 399 kB / 346 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.007076, allocations: 259.2 kB / 346.3 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.617e-05/0.007122, allocations: 56 kB / 346.3 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.007233, allocations: 119.8 kB / 346.4 MB, free: 2.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.007344, allocations: 223.3 kB / 346.7 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.00745, allocations: 207.3 kB / 346.9 MB, free: 1.961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004136/0.007864, allocations: 0.5915 MB / 347.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.007866, allocations: 0 / 347.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.007867, allocations: 4 kB / 347.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.007872, allocations: 0 / 347.5 MB, free: 1.363 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.0008718/0.008744, allocations: 1.146 MB / 348.6 MB, free: 176 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.008774, allocations: 8.031 kB / 348.6 MB, free: 168 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.531e-05/0.008869, allocations: 124.4 kB / 348.7 MB, free: 44 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.009344, allocations: 488.9 kB / 349.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.009374, allocations: 29.38 kB / 349.2 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.299e-05/0.009427, allocations: 44.38 kB / 349.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000455/0.009882, allocations: 397.3 kB / 349.7 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.009897, allocations: 0 / 349.7 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.009922, allocations: 16 kB / 349.7 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.009933, allocations: 15.94 kB / 349.7 MB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.01016, allocations: 141.8 kB / 349.8 MB, free: 14.87 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.0116, allocations: 1.619 MB / 351.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.01193, allocations: 197.4 kB / 351.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.491e-05/0.01202, allocations: 59.66 kB / 351.7 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.01205, allocations: 8 kB / 351.7 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.01221, allocations: 123.5 kB / 351.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.693e-06/0.01222, allocations: 4 kB / 351.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006439/0.01286, allocations: 368.9 kB / 352.2 MB, free: 12.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.0129, allocations: 81.11 kB / 352.3 MB, free: 12.31 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005677/0.01347, allocations: 0.7143 MB / 353 MB, free: 11.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.01349, allocations: 33.7 kB / 353 MB, free: 11.54 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.01372, allocations: 431.3 kB / 353.5 MB, free: 11.11 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.25e-05/0.01377, allocations: 91.22 kB / 353.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.581e-05/0.01387, allocations: 91.67 kB / 353.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.01404, allocations: 0.5703 MB / 354.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.01418, allocations: 86.98 kB / 354.3 MB, free: 10.24 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.01433, allocations: 212.5 kB / 354.5 MB, free: 9.984 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.01454, allocations: 240.9 kB / 354.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.01455, allocations: 8.031 kB / 354.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005005/0.01505, allocations: 417.1 kB / 355.1 MB, free: 9.273 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.01508, allocations: 36.83 kB / 355.2 MB, free: 9.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.01508, allocations: 7.938 kB / 355.2 MB, free: 9.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002122/0.0153, allocations: 63.86 kB / 355.3 MB, free: 9.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.01545, allocations: 75.89 kB / 355.3 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.01665, allocations: 2.122 MB / 357.4 MB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.01679, allocations: 51.69 kB / 357.5 MB, free: 6.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.01681, allocations: 20.03 kB / 357.5 MB, free: 6.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001679/0.01698, allocations: 209.4 kB / 357.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001438/0.01712, allocations: 208.7 kB / 357.9 MB, free: 6.305 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002009/0.01732, allocations: 227.4 kB / 358.1 MB, free: 6.043 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.01733, allocations: 32 / 358.1 MB, free: 6.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0004034/0.01773, allocations: 435.7 kB / 358.6 MB, free: 5.594 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.01775, allocations: 29.7 kB / 358.6 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.01775, allocations: 4.188 kB / 358.6 MB, free: 5.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001344/0.01789, allocations: 67.86 kB / 358.7 MB, free: 5.484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.01802, allocations: 67.84 kB / 358.7 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/0.01919, allocations: 2.145 MB / 360.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.01931, allocations: 35.81 kB / 360.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.01933, allocations: 12.03 kB / 360.9 MB, free: 3.105 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.0001042/0.01943, allocations: 292 kB / 361.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.01949, allocations: 75.53 kB / 361.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.01983, allocations: 272 kB / 361.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.01984, allocations: 4.188 kB / 361.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.01984, allocations: 4 kB / 361.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01984, allocations: 0 / 361.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007242/0.02057, allocations: 0.8212 MB / 362.4 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.02057, allocations: 0 / 362.4 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.02068, allocations: 39.98 kB / 362.4 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001305/0.02081, allocations: 59.62 kB / 362.5 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.02083, allocations: 4 kB / 362.5 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008945/0.02172, allocations: 2.134 MB / 364.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.02172, allocations: 0 / 364.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.02214, allocations: 476.3 kB / 365.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.131e-05/0.02221, allocations: 79.5 kB / 365.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.02224, allocations: 8 kB / 365.2 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.02238, allocations: 20.02 kB / 365.2 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.02247, allocations: 35.88 kB / 365.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.02249, allocations: 8 kB / 365.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003993/0.02289, allocations: 462.9 kB / 365.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02289, allocations: 0 / 365.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000479/0.02337, allocations: 235.4 kB / 365.9 MB, free: 13.91 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.001197/0.02456, allocations: 0.5675 MB / 366.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007125/0.02528, allocations: 0.827 MB / 367.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.02528, allocations: 4.875 kB / 367.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.02546, allocations: 277.3 kB / 367.6 MB, free: 12.37 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.02582, allocations: 110.6 kB / 367.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.02749, allocations: 1.125 MB / 368.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.02759, allocations: 169.3 kB / 369 MB, free: 10.92 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000132/0.02772, allocations: 72.33 kB / 369.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.0278, allocations: 40.5 kB / 369.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.0278, allocations: 0 / 369.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of Templates: time 0.00949/0.03729, allocations: 7.815 MB / 376.9 MB, free: 3.047 MB / 298.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: 2.939885228872299]