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.00136/0.00136, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.00136/0.00136, allocations: 169 kB / 23.27 MB, free: 1.227 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.093/1.093, allocations: 177.1 MB / 203.7 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.02649/0.02649, allocations: 6.491 MB / 266.7 MB, free: 6.465 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.924e-06/1.924e-06, allocations: 0 / 338.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.765e-05, allocations: 6.312 kB / 338.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.007754/0.007772, allocations: 3.748 MB / 342.3 MB, free: 7.809 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005893/0.01366, allocations: 1.963 MB / 344.2 MB, free: 5.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002811/0.01395, allocations: 7.938 kB / 344.3 MB, free: 5.832 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004612/0.01441, allocations: 218.7 kB / 344.5 MB, free: 5.617 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006062/0.01501, allocations: 290.4 kB / 344.7 MB, free: 5.332 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006725/0.02174, allocations: 415 kB / 345.2 MB, free: 4.926 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006566/0.0224, allocations: 0.6821 MB / 345.8 MB, free: 4.242 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002696/0.02266, allocations: 160.2 kB / 346 MB, free: 4.082 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004506/0.02312, allocations: 391 kB / 346.4 MB, free: 3.699 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003365/0.02345, allocations: 267.2 kB / 346.6 MB, free: 3.438 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.303e-05/0.02352, allocations: 56 kB / 346.7 MB, free: 3.383 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.02371, allocations: 119.9 kB / 346.8 MB, free: 3.266 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.02389, allocations: 219.2 kB / 347 MB, free: 3.051 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.02407, allocations: 211.3 kB / 347.2 MB, free: 2.844 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00365/0.02772, allocations: 0.5915 MB / 347.8 MB, free: 2.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.02773, allocations: 0 / 347.8 MB, free: 2.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.02773, allocations: 0 / 347.8 MB, free: 2.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.02773, allocations: 0 / 347.8 MB, free: 2.25 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001261/0.02899, allocations: 1.154 MB / 349 MB, free: 1.051 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.02903, allocations: 12.02 kB / 349 MB, free: 1.039 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.02917, allocations: 120.4 kB / 349.1 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.02967, allocations: 464.9 kB / 349.6 MB, free: 448 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.0297, allocations: 45.31 kB / 349.6 MB, free: 400 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.02976, allocations: 40.38 kB / 349.6 MB, free: 360 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.03124, allocations: 373.4 kB / 350 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.03126, allocations: 3.953 kB / 350 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.03129, allocations: 19.94 kB / 350 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.03131, allocations: 12 kB / 350 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.0315, allocations: 114.8 kB / 350.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.03302, allocations: 1.503 MB / 351.7 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.03333, allocations: 175.5 kB / 351.8 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.56e-05/0.03341, allocations: 52.31 kB / 351.9 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.03344, allocations: 12 kB / 351.9 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.03361, allocations: 115.7 kB / 352 MB, free: 13.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 1.493e-06/0.03361, allocations: 0 / 352 MB, free: 13.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006778/0.03429, allocations: 350.7 kB / 352.3 MB, free: 13.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.03433, allocations: 81.11 kB / 352.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006262/0.03496, allocations: 0.6866 MB / 353.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.03498, allocations: 33.7 kB / 353.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/0.03529, allocations: 431.1 kB / 353.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.018e-05/0.03536, allocations: 99.19 kB / 353.7 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.03547, allocations: 87.62 kB / 353.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002259/0.03569, allocations: 0.578 MB / 354.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.867e-05/0.03579, allocations: 78.98 kB / 354.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.03596, allocations: 196.5 kB / 354.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.0362, allocations: 221 kB / 354.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.0362, allocations: 3.938 kB / 354.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005056/0.03671, allocations: 401.1 kB / 355.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.03674, allocations: 33.7 kB / 355.2 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.03675, allocations: 0 / 355.2 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002215/0.03697, allocations: 63.8 kB / 355.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.03717, allocations: 75.89 kB / 355.4 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.0384, allocations: 2.103 MB / 357.5 MB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.03854, allocations: 35.83 kB / 357.5 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.03855, allocations: 12 kB / 357.5 MB, free: 8.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000146/0.0387, allocations: 217.4 kB / 357.7 MB, free: 7.797 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001217/0.03882, allocations: 192.6 kB / 357.9 MB, free: 7.562 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001784/0.039, allocations: 211.3 kB / 358.1 MB, free: 7.316 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.204e-06/0.039, allocations: 7.938 kB / 358.1 MB, free: 7.309 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0003481/0.03935, allocations: 391.9 kB / 358.5 MB, free: 6.902 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.03937, allocations: 41.62 kB / 358.6 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.03937, allocations: 0 / 358.6 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/0.03951, allocations: 59.8 kB / 358.6 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.03963, allocations: 71.91 kB / 358.7 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.04065, allocations: 2.111 MB / 360.8 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.04077, allocations: 43.7 kB / 360.8 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.04079, allocations: 12 kB / 360.9 MB, free: 4.441 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 (iceP.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 (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.0001237/0.04091, allocations: 288 kB / 361.1 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.04097, allocations: 71.58 kB / 361.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.04127, allocations: 255.8 kB / 361.5 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.04128, allocations: 4 kB / 361.5 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.04128, allocations: 0 / 361.5 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.04128, allocations: 0 / 361.5 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006162/0.0419, allocations: 0.69 MB / 362.1 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.0419, allocations: 4 kB / 362.2 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.04201, allocations: 43.97 kB / 362.2 MB, free: 3.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001195/0.04213, allocations: 59.58 kB / 362.3 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.04215, allocations: 4 kB / 362.3 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009267/0.04307, allocations: 2.095 MB / 364.4 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.04307, allocations: 0 / 364.4 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003915/0.04347, allocations: 464 kB / 364.8 MB, free: 292 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.04353, allocations: 71.5 kB / 364.9 MB, free: 220 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.04356, allocations: 4 kB / 364.9 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.04367, allocations: 19.98 kB / 364.9 MB, free: 196 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.04373, allocations: 31.98 kB / 364.9 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.04374, allocations: 7.984 kB / 364.9 MB, free: 156 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002923/0.04403, allocations: 422.8 kB / 365.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04403, allocations: 0 / 365.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004827/0.04451, allocations: 239.4 kB / 365.6 MB, free: 15.51 MB / 346.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.001314/0.04583, allocations: 0.5574 MB / 366.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008525/0.04668, allocations: 0.7994 MB / 366.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.04668, allocations: 4 kB / 366.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.04694, allocations: 258.2 kB / 367.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.04746, allocations: 124.6 kB / 367.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.04896, allocations: 1.121 MB / 368.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.04907, allocations: 169.3 kB / 368.6 MB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.04919, allocations: 64.34 kB / 368.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.04938, allocations: 158.1 kB / 368.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of SimCode: time 8.02e-07/0.04938, allocations: 0 / 368.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of Templates: time 0.0106/0.05998, allocations: 8.386 MB / 377.2 MB, free: 4.055 MB / 346.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.371324100997299]