Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001868/0.001868, 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.002086/0.002086, 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.635/1.635, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.0726/0.0726, allocations: 6.481 MB / 266 MB, free: 6.656 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.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.601e-05, allocations: 2.312 kB / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.006375/0.006401, allocations: 3.764 MB / 341.1 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00361/0.01001, allocations: 1.947 MB / 343.1 MB, free: 5.402 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003451/0.01036, allocations: 11.94 kB / 343.1 MB, free: 5.391 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000602/0.01096, allocations: 206.8 kB / 343.3 MB, free: 5.188 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008945/0.01185, allocations: 294.2 kB / 343.6 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.01291, allocations: 419 kB / 344 MB, free: 4.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007873/0.01369, allocations: 0.6821 MB / 344.6 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003744/0.01407, allocations: 168.2 kB / 344.8 MB, free: 3.633 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006127/0.01468, allocations: 387 kB / 345.2 MB, free: 3.254 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000456/0.01514, allocations: 263.2 kB / 345.4 MB, free: 2.996 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.01524, allocations: 56 kB / 345.5 MB, free: 2.941 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00027/0.01551, allocations: 119.9 kB / 345.6 MB, free: 2.824 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.01572, allocations: 223.2 kB / 345.8 MB, free: 2.605 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002558/0.01598, allocations: 211.3 kB / 346 MB, free: 2.398 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.01708, allocations: 0.8994 MB / 346.9 MB, free: 1.496 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.01708, allocations: 0 / 346.9 MB, free: 1.496 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01708, allocations: 0 / 346.9 MB, free: 1.496 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.0171, allocations: 0 / 346.9 MB, free: 1.496 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.002171/0.01927, allocations: 1.213 MB / 348.2 MB, free: 244 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.01932, allocations: 16.03 kB / 348.2 MB, free: 228 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002293/0.01955, allocations: 120.3 kB / 348.3 MB, free: 108 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.02076, allocations: 0.493 MB / 348.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.845e-05/0.02082, allocations: 29.38 kB / 348.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.02093, allocations: 40.38 kB / 348.8 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.02233, allocations: 492.6 kB / 349.3 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/0.02237, allocations: 3.984 kB / 349.3 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.009e-05/0.02243, allocations: 20 kB / 349.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.02245, allocations: 12 kB / 349.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.0236, allocations: 279.8 kB / 349.6 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004742/0.02834, allocations: 1.904 MB / 351.5 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.02965, allocations: 334.2 kB / 351.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004613/0.03011, allocations: 115.6 kB / 352 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.199e-05/0.03017, allocations: 4 kB / 352 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006362/0.0308, allocations: 183.5 kB / 352.2 MB, free: 12.07 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 3.015e-06/0.03081, allocations: 0 / 352.2 MB, free: 12.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.002503/0.03331, allocations: 0.5242 MB / 352.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.03341, allocations: 85.05 kB / 352.8 MB, free: 11.44 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.03545, allocations: 0.894 MB / 353.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.688e-05/0.0355, allocations: 33.7 kB / 353.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007363/0.03624, allocations: 479.2 kB / 354.2 MB, free: 10.01 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.03641, allocations: 111.2 kB / 354.3 MB, free: 9.902 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/0.03667, allocations: 99.67 kB / 354.4 MB, free: 9.793 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0006437/0.03731, allocations: 0.6211 MB / 355 MB, free: 9.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005518/0.03786, allocations: 158.9 kB / 355.2 MB, free: 8.996 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007265/0.03859, allocations: 284.6 kB / 355.4 MB, free: 8.668 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.03971, allocations: 376.8 kB / 355.8 MB, free: 8.262 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.03971, allocations: 0 / 355.8 MB, free: 8.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001841/0.04156, allocations: 0.5403 MB / 356.3 MB, free: 7.699 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.408e-05/0.04162, allocations: 36.5 kB / 356.4 MB, free: 7.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.04163, allocations: 7.938 kB / 356.4 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004804/0.04211, allocations: 75.58 kB / 356.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.04259, allocations: 75.89 kB / 356.5 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003385/0.04598, allocations: 2.251 MB / 358.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.04647, allocations: 43.7 kB / 358.8 MB, free: 5.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/0.04652, allocations: 16 kB / 358.8 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008225/0.04735, allocations: 313.4 kB / 359.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006731/0.04802, allocations: 284.6 kB / 359.4 MB, free: 4.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001041/0.04906, allocations: 347.2 kB / 359.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.125e-06/0.04906, allocations: 0 / 359.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001703/0.05077, allocations: 0.5388 MB / 360.3 MB, free: 3.488 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.856e-05/0.05081, allocations: 33.7 kB / 360.3 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.05082, allocations: 0 / 360.3 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003904/0.05121, allocations: 72.05 kB / 360.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/0.05164, allocations: 79.88 kB / 360.5 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003272/0.05492, allocations: 2.258 MB / 362.7 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/0.05534, allocations: 43.78 kB / 362.8 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.05539, allocations: 16 kB / 362.8 MB, free: 0.8555 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.000435/0.05583, allocations: 290.2 kB / 363.1 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.05601, allocations: 79.53 kB / 363.2 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.05745, allocations: 376 kB / 363.5 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.05746, allocations: 4 kB / 363.5 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.05746, allocations: 4 kB / 363.5 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.05747, allocations: 3.984 kB / 363.5 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002967/0.06044, allocations: 1.075 MB / 364.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.06044, allocations: 0 / 364.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/0.06083, allocations: 40.11 kB / 364.7 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003905/0.06122, allocations: 79.62 kB / 364.7 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.06126, allocations: 8 kB / 364.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003074/0.06433, allocations: 2.239 MB / 367 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.06433, allocations: 4.031 kB / 367 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.06618, allocations: 0.6565 MB / 367.6 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.06644, allocations: 79.5 kB / 367.7 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.848e-05/0.06652, allocations: 4.188 kB / 367.7 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.0669, allocations: 23.98 kB / 367.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.06703, allocations: 35.88 kB / 367.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.06707, allocations: 12 kB / 367.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001197/0.06827, allocations: 0.5341 MB / 368.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.06827, allocations: 0 / 368.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001505/0.06977, allocations: 239.3 kB / 368.6 MB, free: 10.88 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.006659/0.07643, allocations: 0.647 MB / 369.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002952/0.07938, allocations: 1.038 MB / 370.2 MB, free: 9.418 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.07939, allocations: 0 / 370.2 MB, free: 9.418 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008434/0.08023, allocations: 330.2 kB / 370.6 MB, free: 9.074 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.08133, allocations: 106 kB / 370.7 MB, free: 8.977 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.08459, allocations: 1.187 MB / 371.9 MB, free: 7.754 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006187/0.08521, allocations: 346 kB / 372.2 MB, free: 7.391 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003612/0.08557, allocations: 68.33 kB / 372.3 MB, free: 7.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.08576, allocations: 44.48 kB / 372.3 MB, free: 7.273 MB / 298.7 MB Notification: Performance of SimCode: time 9.21e-07/0.08576, allocations: 3.938 kB / 372.3 MB, free: 7.27 MB / 298.7 MB Notification: Performance of Templates: time 0.02624/0.112, allocations: 7.79 MB / 380.1 MB, free: 15.54 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.930189791950397]