Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.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.001311/0.001311, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001377/0.001377, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.019/1.019, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.04217/0.04217, allocations: 6.5 MB / 267.5 MB, free: 6.473 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.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 339.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.101e-05, allocations: 2.312 kB / 339.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.004654/0.004685, allocations: 3.645 MB / 343 MB, free: 7.891 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.007114, allocations: 1.936 MB / 344.9 MB, free: 5.945 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002624/0.007377, allocations: 7.938 kB / 344.9 MB, free: 5.938 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003923/0.007769, allocations: 198.8 kB / 345.1 MB, free: 5.742 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005822/0.008351, allocations: 286.4 kB / 345.4 MB, free: 5.461 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007333/0.009085, allocations: 410.9 kB / 345.8 MB, free: 5.059 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005829/0.009667, allocations: 0.6469 MB / 346.4 MB, free: 4.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.009901, allocations: 147.2 kB / 346.6 MB, free: 4.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003894/0.01029, allocations: 367.1 kB / 346.9 MB, free: 3.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003114/0.0106, allocations: 247.3 kB / 347.2 MB, free: 3.668 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.624e-05/0.01066, allocations: 56 kB / 347.2 MB, free: 3.613 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.01082, allocations: 119.8 kB / 347.3 MB, free: 3.496 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.01097, allocations: 215.3 kB / 347.6 MB, free: 3.285 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.01112, allocations: 203.3 kB / 347.7 MB, free: 3.086 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005587/0.01168, allocations: 0.5526 MB / 348.3 MB, free: 2.531 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.01169, allocations: 0 / 348.3 MB, free: 2.531 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01169, allocations: 0 / 348.3 MB, free: 2.531 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.0117, allocations: 0 / 348.3 MB, free: 2.531 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001116/0.01281, allocations: 1.131 MB / 349.4 MB, free: 1.352 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.01284, allocations: 8.031 kB / 349.4 MB, free: 1.344 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.01297, allocations: 116.4 kB / 349.6 MB, free: 1.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/0.0134, allocations: 461 kB / 350 MB, free: 0.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.01343, allocations: 29.38 kB / 350 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.607e-05/0.01348, allocations: 40.33 kB / 350.1 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.01384, allocations: 361.1 kB / 350.4 MB, free: 300 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.01386, allocations: 0 / 350.4 MB, free: 300 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.01388, allocations: 12 kB / 350.4 MB, free: 288 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.01389, allocations: 8 kB / 350.4 MB, free: 280 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.01403, allocations: 110.8 kB / 350.6 MB, free: 168 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.01534, allocations: 1.43 MB / 352 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.01561, allocations: 167.2 kB / 352.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.01567, allocations: 39.67 kB / 352.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.01569, allocations: 4 kB / 352.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.01584, allocations: 119.2 kB / 352.3 MB, free: 14.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.743e-06/0.01584, allocations: 0 / 352.3 MB, free: 14.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004197/0.01626, allocations: 259.5 kB / 352.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.0163, allocations: 88.91 kB / 352.6 MB, free: 13.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004808/0.01678, allocations: 0.6788 MB / 353.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.0168, allocations: 37.64 kB / 353.4 MB, free: 13.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.01702, allocations: 419.2 kB / 353.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/0.01708, allocations: 95.19 kB / 353.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.301e-05/0.01716, allocations: 79.31 kB / 353.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.01733, allocations: 0.578 MB / 354.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.291e-05/0.01742, allocations: 73.34 kB / 354.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.01754, allocations: 200.3 kB / 354.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.01771, allocations: 203.4 kB / 355 MB, free: 11.47 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01771, allocations: 0 / 355 MB, free: 11.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003506/0.01806, allocations: 359.9 kB / 355.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.01809, allocations: 29.7 kB / 355.4 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.0181, allocations: 4 kB / 355.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000104/0.0182, allocations: 19.67 kB / 355.4 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.01838, allocations: 79.89 kB / 355.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007503/0.01913, allocations: 1.717 MB / 357.2 MB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.01927, allocations: 35.83 kB / 357.2 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.01929, allocations: 12 kB / 357.2 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001591/0.01944, allocations: 196.5 kB / 357.4 MB, free: 8.875 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001165/0.01956, allocations: 193.2 kB / 357.6 MB, free: 8.637 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000161/0.01972, allocations: 206.9 kB / 357.8 MB, free: 8.395 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-06/0.01972, allocations: 0 / 357.8 MB, free: 8.395 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0003262/0.02005, allocations: 363.4 kB / 358.2 MB, free: 8.016 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.02007, allocations: 29.7 kB / 358.2 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.02007, allocations: 8.219 kB / 358.2 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.349e-05/0.02014, allocations: 23.67 kB / 358.2 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.02029, allocations: 67.91 kB / 358.3 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006749/0.02096, allocations: 1.717 MB / 360 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.02109, allocations: 40 kB / 360 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.02111, allocations: 8 kB / 360.1 MB, free: 5.996 MB / 330.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 (iceT.tokgFuel.local_reset,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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.0001321/0.02124, allocations: 295.9 kB / 360.3 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.02131, allocations: 71.53 kB / 360.4 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.02158, allocations: 215.1 kB / 360.6 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.02158, allocations: 4 kB / 360.6 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.02158, allocations: 0 / 360.6 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.02159, allocations: 3.938 kB / 360.6 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.02189, allocations: 316.8 kB / 360.9 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.02189, allocations: 3.938 kB / 360.9 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.02202, allocations: 51.91 kB / 361 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.815e-05/0.02208, allocations: 19.67 kB / 361 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.02209, allocations: 8 kB / 361 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006351/0.02273, allocations: 1.71 MB / 362.7 MB, free: 3.152 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.02273, allocations: 0 / 362.7 MB, free: 3.152 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.02304, allocations: 294.5 kB / 363 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.0231, allocations: 71.48 kB / 363.1 MB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.02314, allocations: 11.94 kB / 363.1 MB, free: 2.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-05/0.02324, allocations: 11.98 kB / 363.1 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.02329, allocations: 31.98 kB / 363.1 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.0233, allocations: 4 kB / 363.2 MB, free: 2.707 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002818/0.02358, allocations: 430.8 kB / 363.6 MB, free: 2.289 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02358, allocations: 4.062 kB / 363.6 MB, free: 2.285 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004328/0.02401, allocations: 215.5 kB / 363.8 MB, free: 2.074 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceT.inertia.w,iceT.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 (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.001351/0.02537, allocations: 0.5524 MB / 364.3 MB, free: 1.758 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006443/0.02601, allocations: 0.7598 MB / 365.1 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.02601, allocations: 4 kB / 365.1 MB, free: 0.918 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.02619, allocations: 237.4 kB / 365.3 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.02655, allocations: 103.1 kB / 365.4 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.02803, allocations: 1.081 MB / 366.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.02813, allocations: 161.2 kB / 366.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001509/0.02828, allocations: 68.22 kB / 366.7 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.02847, allocations: 158.2 kB / 366.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.363e-06/0.02847, allocations: 0 / 366.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of Templates: time 0.0105/0.03897, allocations: 7.7 MB / 374.6 MB, free: 7.406 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0360301355831325]