Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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_EHPTlib.MapBased.TestingModels.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.00148/0.00148, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 192.6 kB / 16.67 MB, free: 6.57 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.352/1.352, allocations: 222.9 MB / 240.3 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1577/0.1577, allocations: 8.306 MB / 298.8 MB, free: 2.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 59.91 kB / 413.5 MB, free: 9.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2693, allocations: 51.26 MB / 464.7 MB, free: 18.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceT): time 0.004893/0.2743, allocations: 3.308 MB / 468 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.2764, allocations: 1.61 MB / 469.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002179/0.2767, allocations: 9.562 kB / 469.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000637/0.2773, allocations: 320 kB / 470 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005533/0.2779, allocations: 261.5 kB / 470.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007992/0.2787, allocations: 378 kB / 470.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005642/0.2793, allocations: 0.5154 MB / 471.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.2796, allocations: 156.8 kB / 471.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003079/0.2799, allocations: 220.7 kB / 471.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004905/0.2804, allocations: 309 kB / 471.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.577e-05/0.2805, allocations: 37.25 kB / 471.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.2807, allocations: 96.86 kB / 471.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002241/0.2809, allocations: 212.2 kB / 472.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.2812, allocations: 303.6 kB / 472.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009078/0.2821, allocations: 0.7795 MB / 473.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2821, allocations: 1.969 kB / 473.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2821, allocations: 0 / 473.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.2821, allocations: 0.5156 kB / 473.2 MB, free: 13.23 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.001672/0.2838, allocations: 1.092 MB / 474.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.2838, allocations: 8.719 kB / 474.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.284, allocations: 90.3 kB / 474.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007148/0.2847, allocations: 0.5718 MB / 475 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.2847, allocations: 25.77 kB / 475 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.988e-05/0.2848, allocations: 31.2 kB / 475 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006968/0.2855, allocations: 347.5 kB / 475.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.2855, allocations: 1.469 kB / 475.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.2856, allocations: 11.27 kB / 475.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.2856, allocations: 7.219 kB / 475.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007042/0.2863, allocations: 262 kB / 475.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.2884, allocations: 1.502 MB / 477.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008071/0.2892, allocations: 271.6 kB / 477.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/0.2895, allocations: 103.3 kB / 477.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.179e-05/0.2895, allocations: 7.484 kB / 477.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000389/0.2899, allocations: 163.7 kB / 477.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.874e-06/0.2899, allocations: 0 / 477.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.00126/0.2912, allocations: 0.498 MB / 478.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.2912, allocations: 80.33 kB / 478.2 MB, free: 10 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.2924, allocations: 1.113 MB / 479.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.2924, allocations: 32.7 kB / 479.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.2926, allocations: 360.7 kB / 479.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.934e-05/0.2927, allocations: 70.78 kB / 479.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.883e-05/0.2928, allocations: 53.17 kB / 479.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.952e-05/0.2928, allocations: 315.4 kB / 480.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.2932, allocations: 107.3 kB / 480.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.2935, allocations: 167.6 kB / 480.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006505/0.2942, allocations: 299.6 kB / 480.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2942, allocations: 1.156 kB / 480.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009186/0.2951, allocations: 412.3 kB / 481.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.2952, allocations: 34.61 kB / 481.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2952, allocations: 6.391 kB / 481.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001625/0.2953, allocations: 24.3 kB / 481.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.2956, allocations: 50.89 kB / 481.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008045/0.2964, allocations: 1.392 MB / 482.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.2967, allocations: 42.95 kB / 482.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.2968, allocations: 7.688 kB / 482.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005017/0.2973, allocations: 326.3 kB / 483 MB, free: 6.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003041/0.2976, allocations: 161.9 kB / 483.2 MB, free: 6.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005483/0.2981, allocations: 263 kB / 483.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/0.2982, allocations: 5.031 kB / 483.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0008104/0.299, allocations: 398.8 kB / 483.8 MB, free: 5.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.299, allocations: 36.95 kB / 483.9 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.299, allocations: 6.266 kB / 483.9 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.491e-05/0.2991, allocations: 24.22 kB / 483.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.2993, allocations: 56.11 kB / 483.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000671/0.3, allocations: 1.38 MB / 485.3 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.3003, allocations: 39.62 kB / 485.4 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.3003, allocations: 8.219 kB / 485.4 MB, free: 4.262 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.0001176/0.3005, allocations: 194.2 kB / 485.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.3005, allocations: 69.88 kB / 485.6 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008518/0.3014, allocations: 353.5 kB / 486 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3014, allocations: 6.688 kB / 486 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3014, allocations: 1.25 kB / 486 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3014, allocations: 0 / 486 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005325/0.302, allocations: 0.4989 MB / 486.5 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.302, allocations: 4 kB / 486.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.3023, allocations: 42.72 kB / 486.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.531e-05/0.3023, allocations: 22.12 kB / 486.5 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.3024, allocations: 6.25 kB / 486.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006464/0.303, allocations: 1.377 MB / 487.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.303, allocations: 3.938 kB / 487.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.3041, allocations: 465.1 kB / 488.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.3042, allocations: 166.4 kB / 488.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.261e-05/0.3043, allocations: 10.06 kB / 488.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.3046, allocations: 25.23 kB / 488.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.5e-05/0.3047, allocations: 20.83 kB / 488.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.3047, allocations: 11.8 kB / 488.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008962/0.3056, allocations: 0.8127 MB / 489.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3056, allocations: 0 / 489.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000659/0.3063, allocations: 185.3 kB / 489.6 MB, free: 1.055 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.001384/0.3076, allocations: 0.5965 MB / 490.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.3091, allocations: 0.7138 MB / 490.9 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3091, allocations: 0 / 490.9 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004237/0.3095, allocations: 238 kB / 491.2 MB, free: 88 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005462/0.3101, allocations: 101.3 kB / 491.3 MB, free: 24 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.3125, allocations: 1.432 MB / 492.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/0.3131, allocations: 0.9465 MB / 493.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002778/0.3134, allocations: 80.53 kB / 493.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.3136, allocations: 40.66 kB / 493.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3136, allocations: 0 / 493.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of Templates: time 0.01273/0.3263, allocations: 6.436 MB / 0.4885 GB, free: 8.93 MB / 366.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT.pipe 2>&1)