Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01.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.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004878/0.004878, allocations: 98.55 kB / 15.73 MB, free: 6.047 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.001089/0.00109, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.139/0.139, allocations: 8.303 MB / 298.8 MB, free: 2.211 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.88 kB / 413.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2622, allocations: 51.27 MB / 464.8 MB, free: 18.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceT01): time 0.005184/0.2674, allocations: 3.343 MB / 468.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.2696, allocations: 1.614 MB / 469.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.2698, allocations: 5.906 kB / 469.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006111/0.2704, allocations: 320.4 kB / 470 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004817/0.271, allocations: 264.3 kB / 470.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007979/0.2718, allocations: 371.2 kB / 470.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005702/0.2723, allocations: 0.5208 MB / 471.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.2726, allocations: 161.7 kB / 471.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.2729, allocations: 221.6 kB / 471.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004341/0.2734, allocations: 324.4 kB / 471.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.361e-05/0.2734, allocations: 38.94 kB / 471.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.2737, allocations: 115.4 kB / 472 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.2739, allocations: 213.7 kB / 472.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.2741, allocations: 309.2 kB / 472.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.2752, allocations: 0.7971 MB / 473.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2752, allocations: 5.219 kB / 473.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2752, allocations: 0 / 473.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.2752, allocations: 0 / 473.3 MB, free: 13.01 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001461/0.2767, allocations: 1.117 MB / 474.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2767, allocations: 8.938 kB / 474.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.2769, allocations: 89.41 kB / 474.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007609/0.2776, allocations: 0.575 MB / 475.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.2777, allocations: 23.5 kB / 475.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.2777, allocations: 32.05 kB / 475.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007493/0.2785, allocations: 361 kB / 475.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.2785, allocations: 1.781 kB / 475.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.2786, allocations: 10.94 kB / 475.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.2786, allocations: 7.906 kB / 475.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007626/0.2793, allocations: 257.4 kB / 475.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.2817, allocations: 1.5 MB / 477.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007749/0.2824, allocations: 268.2 kB / 477.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.2827, allocations: 100.3 kB / 477.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-05/0.2828, allocations: 7.406 kB / 477.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000385/0.2832, allocations: 174.9 kB / 477.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.694e-06/0.2832, allocations: 1.031 kB / 477.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001226/0.2844, allocations: 0.494 MB / 478.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.2845, allocations: 136 kB / 478.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.2859, allocations: 1.126 MB / 479.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.2859, allocations: 35.8 kB / 479.6 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.2862, allocations: 371.8 kB / 480 MB, free: 8.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.2863, allocations: 63.22 kB / 480 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-05/0.2863, allocations: 49.22 kB / 480.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.945e-05/0.2864, allocations: 316.6 kB / 480.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.2867, allocations: 111.1 kB / 480.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.287, allocations: 181.1 kB / 480.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005615/0.2876, allocations: 294.9 kB / 481 MB, free: 8.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2876, allocations: 1 kB / 481 MB, free: 8.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008438/0.2884, allocations: 421.8 kB / 481.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.2885, allocations: 31.3 kB / 481.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2885, allocations: 2.031 kB / 481.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/0.2887, allocations: 28.62 kB / 481.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.2889, allocations: 55.36 kB / 481.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007242/0.2897, allocations: 1.388 MB / 482.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.29, allocations: 46.66 kB / 482.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.29, allocations: 11.78 kB / 482.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004743/0.2905, allocations: 326.5 kB / 483.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002854/0.2908, allocations: 176.1 kB / 483.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000481/0.2913, allocations: 267 kB / 483.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.355e-06/0.2913, allocations: 0.9375 kB / 483.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0007336/0.292, allocations: 391.8 kB / 484.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.2921, allocations: 39.31 kB / 484.1 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-06/0.2921, allocations: 1.125 kB / 484.1 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.089e-05/0.2921, allocations: 28.94 kB / 484.1 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.2924, allocations: 52.34 kB / 484.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006781/0.293, allocations: 1.381 MB / 485.6 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.2933, allocations: 32.28 kB / 485.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.2934, allocations: 14.77 kB / 485.6 MB, free: 3.98 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 0.0001019/0.2935, allocations: 204 kB / 485.8 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-05/0.2936, allocations: 74.44 kB / 485.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000785/0.2944, allocations: 344.9 kB / 486.2 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2944, allocations: 2.984 kB / 486.2 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2944, allocations: 7.984 kB / 486.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2944, allocations: 0 / 486.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.2948, allocations: 0.5079 MB / 486.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2949, allocations: 1.188 kB / 486.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.2951, allocations: 47.58 kB / 486.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.927e-05/0.2952, allocations: 17.03 kB / 486.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.2952, allocations: 6.219 kB / 486.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005631/0.2958, allocations: 1.378 MB / 488.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2958, allocations: 4.156 kB / 488.2 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009772/0.2968, allocations: 477.5 kB / 488.7 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.2969, allocations: 161.7 kB / 488.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.297, allocations: 2.75 kB / 488.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.2972, allocations: 25.72 kB / 488.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.919e-05/0.2973, allocations: 21.59 kB / 488.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.2973, allocations: 8.125 kB / 488.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008174/0.2981, allocations: 0.8198 MB / 489.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2982, allocations: 4 kB / 489.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006232/0.2988, allocations: 205.7 kB / 489.9 MB, free: 0.7461 MB / 350.1 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 (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.001324/0.3001, allocations: 0.6437 MB / 490.6 MB, free: 468 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.3014, allocations: 0.7181 MB / 491.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3014, allocations: 0 / 491.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004347/0.3019, allocations: 227.6 kB / 491.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.3024, allocations: 109 kB / 491.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.3045, allocations: 1.434 MB / 493 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/0.305, allocations: 0.9501 MB / 494 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002164/0.3053, allocations: 77.59 kB / 494.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.955e-05/0.3054, allocations: 32.47 kB / 494.1 MB, free: 14 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3054, allocations: 0 / 494.1 MB, free: 14 MB / 366.1 MB Notification: Performance of Templates: time 0.01322/0.3186, allocations: 6.873 MB / 0.4892 GB, free: 8.105 MB / 366.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01.pipe 2>&1)