Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.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.001026/0.001026, 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.001604/0.001604, 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.072/1.072, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.02699/0.02699, allocations: 6.48 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 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.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 338.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.507e-05/3.764e-05, allocations: 2.312 kB / 338.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.004799/0.004836, allocations: 3.707 MB / 341.8 MB, free: 7.047 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002598/0.007435, allocations: 1.92 MB / 343.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003645/0.007799, allocations: 11.94 kB / 343.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005054/0.008304, allocations: 210.7 kB / 343.9 MB, free: 4.902 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006859/0.00899, allocations: 286.4 kB / 344.2 MB, free: 4.621 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007056/0.009696, allocations: 403 kB / 344.6 MB, free: 4.227 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005481/0.01024, allocations: 0.6508 MB / 345.2 MB, free: 3.574 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002774/0.01052, allocations: 147.2 kB / 345.4 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002835/0.0108, allocations: 367.1 kB / 345.7 MB, free: 3.062 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003754/0.01118, allocations: 263.2 kB / 346 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.848e-05/0.01124, allocations: 56 kB / 346.1 MB, free: 2.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002633/0.0115, allocations: 187.7 kB / 346.2 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.01166, allocations: 227.2 kB / 346.5 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.01179, allocations: 199.4 kB / 346.7 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006435/0.01244, allocations: 0.6383 MB / 347.3 MB, free: 1.508 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.01244, allocations: 0 / 347.3 MB, free: 1.508 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01244, allocations: 0 / 347.3 MB, free: 1.508 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.01245, allocations: 4 kB / 347.3 MB, free: 1.504 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.00111/0.01356, allocations: 1.147 MB / 348.4 MB, free: 316 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.01361, allocations: 8.031 kB / 348.5 MB, free: 308 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.01375, allocations: 112.4 kB / 348.6 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005707/0.01432, allocations: 481.4 kB / 349 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/0.01436, allocations: 33.38 kB / 349.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.186e-05/0.01442, allocations: 48.31 kB / 349.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007585/0.01518, allocations: 439.7 kB / 349.5 MB, free: 15.13 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.0152, allocations: 8 kB / 349.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.01523, allocations: 12 kB / 349.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.01525, allocations: 8 kB / 349.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002348/0.01548, allocations: 133.8 kB / 349.7 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.01717, allocations: 1.574 MB / 351.3 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.01755, allocations: 168.7 kB / 351.4 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.493e-05/0.01764, allocations: 47.66 kB / 351.5 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/0.01768, allocations: 15.94 kB / 351.5 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.01789, allocations: 117 kB / 351.6 MB, free: 12.97 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 2.875e-06/0.01789, allocations: 0 / 351.6 MB, free: 12.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006415/0.01853, allocations: 291.5 kB / 351.9 MB, free: 12.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.863e-05/0.01861, allocations: 132.5 kB / 352 MB, free: 12.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006723/0.01928, allocations: 0.7182 MB / 352.7 MB, free: 11.78 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.01932, allocations: 33.7 kB / 352.8 MB, free: 11.74 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.01958, allocations: 411.3 kB / 353.2 MB, free: 11.33 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.888e-05/0.01964, allocations: 91.34 kB / 353.3 MB, free: 11.24 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.01974, allocations: 79.34 kB / 353.3 MB, free: 11.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.01996, allocations: 0.5742 MB / 353.9 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.02008, allocations: 81.36 kB / 354 MB, free: 10.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.02028, allocations: 275.2 kB / 354.3 MB, free: 10.14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.02053, allocations: 226.6 kB / 354.5 MB, free: 9.879 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.02054, allocations: 4 kB / 354.5 MB, free: 9.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004805/0.02102, allocations: 383.7 kB / 354.9 MB, free: 9.477 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/0.02106, allocations: 33.7 kB / 354.9 MB, free: 9.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.02106, allocations: 4 kB / 354.9 MB, free: 9.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001782/0.02124, allocations: 27.83 kB / 354.9 MB, free: 9.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.02144, allocations: 79.91 kB / 355 MB, free: 9.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.02275, allocations: 1.728 MB / 356.7 MB, free: 7.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.02292, allocations: 43.77 kB / 356.8 MB, free: 7.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.02294, allocations: 16 kB / 356.8 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001832/0.02312, allocations: 216.6 kB / 357 MB, free: 7.191 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001655/0.02329, allocations: 268 kB / 357.3 MB, free: 6.859 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002026/0.02349, allocations: 218.8 kB / 357.5 MB, free: 6.605 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.02349, allocations: 4 kB / 357.5 MB, free: 6.602 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0004204/0.02391, allocations: 379.7 kB / 357.9 MB, free: 6.207 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.02395, allocations: 41.69 kB / 357.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.02395, allocations: 0 / 357.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.126e-05/0.02405, allocations: 23.62 kB / 357.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.02421, allocations: 79.83 kB / 358 MB, free: 6.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007994/0.02501, allocations: 1.733 MB / 359.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.02515, allocations: 35.83 kB / 359.8 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.02517, allocations: 16 kB / 359.8 MB, free: 4.148 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,iceT.tokgFuel.local_reset) * 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.0001488/0.02532, allocations: 290.8 kB / 360.1 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-05/0.02538, allocations: 71.58 kB / 360.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003601/0.02574, allocations: 235.3 kB / 360.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.02575, allocations: 8 kB / 360.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.02575, allocations: 0 / 360.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.02576, allocations: 0 / 360.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.02613, allocations: 428.2 kB / 360.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.02614, allocations: 4 kB / 360.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.02628, allocations: 47.97 kB / 360.8 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.692e-05/0.02636, allocations: 15.69 kB / 360.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.02638, allocations: 7.984 kB / 360.9 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000764/0.02714, allocations: 1.729 MB / 362.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.02715, allocations: 3.984 kB / 362.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000396/0.02754, allocations: 322.7 kB / 362.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.842e-05/0.02762, allocations: 83.48 kB / 363 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.02766, allocations: 8 kB / 363 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.02776, allocations: 24.11 kB / 363 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/0.02784, allocations: 23.95 kB / 363.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.02785, allocations: 4 kB / 363.1 MB, free: 0.668 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007581/0.02861, allocations: 470.9 kB / 363.5 MB, free: 220 kB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02861, allocations: 4 kB / 363.5 MB, free: 216 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000522/0.02913, allocations: 247.4 kB / 363.8 MB, free: 15.96 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,iceT.tokgFuel.y) * 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.001554/0.03068, allocations: 0.6835 MB / 364.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008647/0.03155, allocations: 0.7836 MB / 365.2 MB, free: 14.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.03155, allocations: 0 / 365.2 MB, free: 14.69 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.03174, allocations: 246.3 kB / 365.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.03213, allocations: 116.2 kB / 365.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.0339, allocations: 1.078 MB / 366.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.03401, allocations: 165.2 kB / 366.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001551/0.03416, allocations: 76.14 kB / 366.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.394e-05/0.03426, allocations: 48.48 kB / 366.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of SimCode: time 1.423e-06/0.03426, allocations: 0 / 366.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of Templates: time 0.01263/0.04689, allocations: 8.406 MB / 375.4 MB, free: 4.555 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1682182517834008]