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.001124/0.001124, allocations: 93.06 kB / 19.65 MB, free: 276 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.001325/0.001325, allocations: 169 kB / 23.02 MB, free: 1.547 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.04/1.04, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.02736/0.02736, allocations: 6.492 MB / 266.4 MB, free: 6.633 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.024e-06/2.024e-06, allocations: 0 / 338.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.937e-05, allocations: 4.562 kB / 338.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.003972/0.003991, allocations: 3.824 MB / 341.9 MB, free: 6.941 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.005874, allocations: 1.971 MB / 343.9 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.006092, allocations: 11.94 kB / 343.9 MB, free: 4.953 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004322/0.006525, allocations: 210.7 kB / 344.1 MB, free: 4.746 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004939/0.007019, allocations: 298.4 kB / 344.4 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.007547, allocations: 411 kB / 344.8 MB, free: 4.051 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004493/0.007996, allocations: 0.6898 MB / 345.5 MB, free: 3.359 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.008212, allocations: 160.2 kB / 345.6 MB, free: 3.195 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003271/0.008539, allocations: 391 kB / 346 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.008771, allocations: 259.2 kB / 346.3 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.709e-05/0.008818, allocations: 60 kB / 346.3 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.008937, allocations: 123.8 kB / 346.5 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.009052, allocations: 223.3 kB / 346.7 MB, free: 2.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.009164, allocations: 207.3 kB / 346.9 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004661/0.00963, allocations: 0.5915 MB / 347.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.009632, allocations: 0 / 347.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.009633, allocations: 4 kB / 347.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.00964, allocations: 0 / 347.5 MB, free: 1.359 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.0009267/0.01057, allocations: 1.146 MB / 348.6 MB, free: 172 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.0106, allocations: 8.031 kB / 348.6 MB, free: 164 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.01071, allocations: 120.4 kB / 348.7 MB, free: 44 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/0.0112, allocations: 488.9 kB / 349.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.01123, allocations: 29.38 kB / 349.2 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/0.01129, allocations: 48.31 kB / 349.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.01176, allocations: 393.4 kB / 349.7 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.01178, allocations: 0 / 349.7 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.0118, allocations: 16 kB / 349.7 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.01182, allocations: 15.94 kB / 349.7 MB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.01204, allocations: 141.8 kB / 349.8 MB, free: 14.87 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.01354, allocations: 1.623 MB / 351.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.0139, allocations: 195.4 kB / 351.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.685e-05/0.01398, allocations: 59.66 kB / 351.7 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.01401, allocations: 8 kB / 351.7 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.0142, allocations: 123.5 kB / 351.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 2.084e-06/0.0142, allocations: 0 / 351.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006979/0.0149, allocations: 372.9 kB / 352.2 MB, free: 12.4 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.01494, allocations: 85.11 kB / 352.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005836/0.01553, allocations: 0.7143 MB / 353 MB, free: 11.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.01555, allocations: 29.7 kB / 353 MB, free: 11.53 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.01579, allocations: 427.2 kB / 353.5 MB, free: 11.11 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.614e-05/0.01584, allocations: 95.28 kB / 353.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.154e-05/0.01593, allocations: 91.67 kB / 353.6 MB, free: 10.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.01611, allocations: 0.5703 MB / 354.2 MB, free: 10.33 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.01624, allocations: 86.98 kB / 354.3 MB, free: 10.24 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.0164, allocations: 212.5 kB / 354.5 MB, free: 9.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.01664, allocations: 236.9 kB / 354.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.01664, 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.0004653/0.0171, allocations: 425.1 kB / 355.2 MB, free: 9.266 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.01713, allocations: 29.7 kB / 355.2 MB, free: 9.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.01714, allocations: 7.938 kB / 355.2 MB, free: 9.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002404/0.01738, allocations: 59.86 kB / 355.2 MB, free: 9.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.01755, allocations: 75.89 kB / 355.3 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.01871, allocations: 2.133 MB / 357.5 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.01885, allocations: 39.77 kB / 357.5 MB, free: 6.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.01887, allocations: 24.02 kB / 357.5 MB, free: 6.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001778/0.01905, allocations: 209.4 kB / 357.7 MB, free: 6.555 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000151/0.0192, allocations: 208.7 kB / 357.9 MB, free: 6.301 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002111/0.01941, allocations: 227.4 kB / 358.1 MB, free: 6.039 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-06/0.01941, allocations: 0 / 358.1 MB, free: 6.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0004201/0.01983, allocations: 427.7 kB / 358.6 MB, free: 5.598 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.01986, allocations: 33.7 kB / 358.6 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.01986, allocations: 4 kB / 358.6 MB, free: 5.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/0.02, allocations: 67.8 kB / 358.7 MB, free: 5.484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.02015, allocations: 64.09 kB / 358.7 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.02121, allocations: 2.153 MB / 360.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.02134, allocations: 35.81 kB / 360.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.02135, allocations: 12 kB / 360.9 MB, free: 3.102 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.0001179/0.02147, allocations: 292 kB / 361.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/0.02153, allocations: 79.53 kB / 361.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.02188, allocations: 272 kB / 361.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.02188, allocations: 4 kB / 361.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.02188, allocations: 0 / 361.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.02189, allocations: 0 / 361.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007572/0.02265, allocations: 0.8134 MB / 362.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.02265, allocations: 3.984 kB / 362.4 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.02277, allocations: 40.17 kB / 362.4 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001261/0.0229, allocations: 59.62 kB / 362.5 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.02291, allocations: 8 kB / 362.5 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009464/0.02386, allocations: 2.129 MB / 364.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.02386, allocations: 0 / 364.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004507/0.02431, allocations: 476.4 kB / 365.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.818e-05/0.02438, allocations: 79.5 kB / 365.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.02441, allocations: 4.188 kB / 365.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.02452, allocations: 23.98 kB / 365.2 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.02459, allocations: 35.91 kB / 365.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.0246, allocations: 8 kB / 365.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003555/0.02496, allocations: 466.9 kB / 365.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02496, allocations: 0 / 365.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004942/0.02545, allocations: 231.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.001255/0.02671, allocations: 0.5706 MB / 366.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007477/0.02746, allocations: 0.8309 MB / 367.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.02746, allocations: 4.875 kB / 367.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.02765, allocations: 269.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.000357/0.028, allocations: 115.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.001481/0.02948, allocations: 1.126 MB / 368.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.02959, allocations: 173.3 kB / 369 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001432/0.02973, allocations: 68.33 kB / 369.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.406e-05/0.02981, allocations: 36.5 kB / 369.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02981, allocations: 4 kB / 369.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of Templates: time 0.01195/0.04176, allocations: 8.199 MB / 377.3 MB, free: 2.66 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: 3.21819043206051]