Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007439/0.007439, allocations: 99.66 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 196.2 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1779/0.1779, allocations: 8.311 MB / 298.8 MB, free: 2.211 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 71.89 kB / 413.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2713, allocations: 51.26 MB / 464.7 MB, free: 18.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceT): time 0.00432/0.2757, allocations: 3.312 MB / 468.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.2778, allocations: 1.61 MB / 469.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.2779, allocations: 9.062 kB / 469.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005252/0.2785, allocations: 316.5 kB / 470 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005154/0.279, allocations: 262.1 kB / 470.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008063/0.2798, allocations: 392.2 kB / 470.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006335/0.2805, allocations: 0.5115 MB / 471.1 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.2807, allocations: 154 kB / 471.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000278/0.281, allocations: 233.8 kB / 471.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004423/0.2815, allocations: 309.6 kB / 471.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.63e-05/0.2815, allocations: 36.88 kB / 471.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.2817, allocations: 92.45 kB / 471.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.282, allocations: 212.8 kB / 472.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002557/0.2822, allocations: 310.7 kB / 472.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008684/0.2831, allocations: 0.7733 MB / 473.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2831, allocations: 4 kB / 473.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2831, allocations: 0 / 473.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.2831, allocations: 0 / 473.2 MB, free: 13.05 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001475/0.2846, allocations: 1.097 MB / 474.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.2847, allocations: 8.812 kB / 474.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.2848, allocations: 85.44 kB / 474.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007056/0.2855, allocations: 0.5764 MB / 475 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.2855, allocations: 24.69 kB / 475 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.2856, allocations: 31.84 kB / 475.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006981/0.2863, allocations: 343.2 kB / 475.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.2863, allocations: 2.031 kB / 475.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.2864, allocations: 11.41 kB / 475.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.2864, allocations: 10.81 kB / 475.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006751/0.2871, allocations: 253.6 kB / 475.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.2891, allocations: 1.501 MB / 477.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000815/0.29, allocations: 266.9 kB / 477.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003004/0.2903, allocations: 103.2 kB / 477.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.2903, allocations: 7.344 kB / 477.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004093/0.2907, allocations: 165 kB / 477.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.753e-06/0.2908, allocations: 0 / 477.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.00129/0.2921, allocations: 0.4991 MB / 478.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.2921, allocations: 80.14 kB / 478.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.2933, allocations: 1.113 MB / 479.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.2933, allocations: 35.06 kB / 479.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.2935, allocations: 360.9 kB / 479.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.2936, allocations: 63.44 kB / 479.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.029e-05/0.2936, allocations: 53.55 kB / 479.9 MB, free: 9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.082e-05/0.2937, allocations: 316 kB / 480.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.294, allocations: 107.1 kB / 480.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.2943, allocations: 171.6 kB / 480.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005679/0.2949, allocations: 295.5 kB / 480.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2949, allocations: 1.156 kB / 480.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008316/0.2957, allocations: 420 kB / 481.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.2958, allocations: 33.05 kB / 481.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.2958, allocations: 5.25 kB / 481.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001604/0.296, allocations: 24 kB / 481.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.2962, allocations: 55.83 kB / 481.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007036/0.2969, allocations: 1.388 MB / 482.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.2972, allocations: 41.61 kB / 482.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.2973, allocations: 11.89 kB / 482.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004439/0.2977, allocations: 322.3 kB / 483 MB, free: 6.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002768/0.298, allocations: 165.8 kB / 483.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004864/0.2985, allocations: 256.1 kB / 483.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-06/0.2985, allocations: 3.938 kB / 483.5 MB, free: 6.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0007488/0.2993, allocations: 400.2 kB / 483.8 MB, free: 5.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.2993, allocations: 36.28 kB / 483.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.2993, allocations: 2.531 kB / 483.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.507e-05/0.2994, allocations: 28.09 kB / 483.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.2996, allocations: 47.94 kB / 484 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005879/0.3002, allocations: 1.38 MB / 485.3 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.3005, allocations: 35.17 kB / 485.4 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.3005, allocations: 16.8 kB / 485.4 MB, free: 4.234 MB / 350.1 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 (27): * Single equations (assignments): 25 * 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 9.164e-05/0.3006, allocations: 197.8 kB / 485.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.3007, allocations: 70.06 kB / 485.6 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008285/0.3015, allocations: 350.3 kB / 486 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3015, allocations: 2.219 kB / 486 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3016, allocations: 1.281 kB / 486 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.3016, allocations: 7.969 kB / 486 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.302, allocations: 0.5021 MB / 486.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.302, allocations: 0 / 486.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.3023, allocations: 51.52 kB / 486.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-05/0.3024, allocations: 22.03 kB / 486.6 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.3024, allocations: 6.25 kB / 486.6 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005868/0.303, allocations: 1.368 MB / 487.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.303, allocations: 5.188 kB / 488 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.304, allocations: 464.6 kB / 488.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.3041, allocations: 169.5 kB / 488.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.338e-05/0.3042, allocations: 6.75 kB / 488.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.3044, allocations: 25.72 kB / 488.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.3045, allocations: 20.22 kB / 488.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.3045, allocations: 8.125 kB / 488.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007981/0.3054, allocations: 0.8136 MB / 489.4 MB, free: 1.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3054, allocations: 3.938 kB / 489.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006002/0.306, allocations: 192.4 kB / 489.6 MB, free: 1.016 MB / 350.1 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 (18): * Single equations (assignments): 15 * 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.001279/0.3073, allocations: 0.5986 MB / 490.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.3086, allocations: 0.7058 MB / 490.9 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3086, allocations: 0 / 490.9 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004262/0.309, allocations: 241.2 kB / 491.2 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005148/0.3095, allocations: 93.09 kB / 491.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.3117, allocations: 1.445 MB / 492.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.3122, allocations: 0.9427 MB / 493.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.3124, allocations: 72.77 kB / 493.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.3125, allocations: 44.39 kB / 493.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3125, allocations: 0 / 493.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of Templates: time 0.01197/0.3245, allocations: 6.469 MB / 0.4885 GB, free: 8.875 MB / 366.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT.pipe 2>&1)