Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestIceP.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.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001417, 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.001705/0.001705, allocations: 193.1 kB / 16.67 MB, free: 6.574 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.536/1.536, allocations: 222.9 MB / 240.3 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1842/0.1842, allocations: 8.306 MB / 298.8 MB, free: 2.258 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 59.91 kB / 413.5 MB, free: 9.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2653, allocations: 51.26 MB / 464.7 MB, free: 18.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceP): time 0.004814/0.2702, allocations: 3.438 MB / 468.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.2724, allocations: 1.641 MB / 469.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.2727, allocations: 9.875 kB / 469.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006339/0.2733, allocations: 329.4 kB / 470.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005007/0.2738, allocations: 267.1 kB / 470.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000767/0.2746, allocations: 393.1 kB / 470.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005505/0.2752, allocations: 0.5477 MB / 471.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/0.2755, allocations: 192.9 kB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.2757, allocations: 243.9 kB / 471.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004327/0.2762, allocations: 324.4 kB / 472.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.428e-05/0.2763, allocations: 41.16 kB / 472.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.2764, allocations: 101 kB / 472.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002037/0.2767, allocations: 218.4 kB / 472.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000245/0.2769, allocations: 324.5 kB / 472.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000848/0.2778, allocations: 0.8115 MB / 473.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2778, allocations: 0.7969 kB / 473.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2778, allocations: 0 / 473.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.2778, allocations: 1.156 kB / 473.6 MB, free: 12.86 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001467/0.2793, allocations: 1.129 MB / 474.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2793, allocations: 10.33 kB / 474.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.2795, allocations: 86.88 kB / 474.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006767/0.2801, allocations: 0.5917 MB / 475.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.2802, allocations: 25.81 kB / 475.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-05/0.2802, allocations: 34.03 kB / 475.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007686/0.281, allocations: 377.9 kB / 475.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.2811, allocations: 6.25 kB / 475.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.2811, allocations: 11.78 kB / 475.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.2811, allocations: 7.5 kB / 475.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007034/0.2818, allocations: 277.4 kB / 476.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.2838, allocations: 1.588 MB / 477.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007968/0.2847, allocations: 388.5 kB / 478.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.285, allocations: 113.2 kB / 478.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.285, allocations: 6.531 kB / 478.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004077/0.2854, allocations: 181.9 kB / 478.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.284e-06/0.2854, allocations: 0 / 478.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001655/0.2871, allocations: 0.6071 MB / 479 MB, free: 9.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.2871, allocations: 85.14 kB / 479.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.2885, allocations: 1.114 MB / 480.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.2885, allocations: 31.77 kB / 480.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.2888, allocations: 376.4 kB / 480.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.872e-05/0.2889, allocations: 80.98 kB / 480.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.289, allocations: 53.86 kB / 480.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.439e-05/0.289, allocations: 316.4 kB / 481 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.2894, allocations: 114.1 kB / 481.1 MB, free: 8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.2897, allocations: 183.5 kB / 481.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005556/0.2903, allocations: 300.6 kB / 481.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2903, allocations: 1.156 kB / 481.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009283/0.2912, allocations: 470.1 kB / 482.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.2912, allocations: 38.3 kB / 482.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2913, allocations: 1.344 kB / 482.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002474/0.2915, allocations: 61.19 kB / 482.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.2918, allocations: 53.89 kB / 482.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.2933, allocations: 1.833 MB / 484 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/0.2936, allocations: 49.47 kB / 484.1 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.2937, allocations: 8.938 kB / 484.1 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005226/0.2942, allocations: 334.4 kB / 484.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002804/0.2945, allocations: 171.4 kB / 484.6 MB, free: 5.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005153/0.295, allocations: 285 kB / 484.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/0.295, allocations: 0 / 484.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0008793/0.2959, allocations: 453 kB / 485.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.2959, allocations: 36.83 kB / 485.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.296, allocations: 1.375 kB / 485.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/0.2961, allocations: 65.44 kB / 485.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.2963, allocations: 51.64 kB / 485.5 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.2976, allocations: 1.82 MB / 487.3 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.2979, allocations: 43.05 kB / 487.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.298, allocations: 8.25 kB / 487.3 MB, free: 2.84 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,iceP.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0001262/0.2981, allocations: 204.3 kB / 487.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.632e-05/0.2982, allocations: 74.94 kB / 487.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.2992, allocations: 399.6 kB / 488 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.2992, allocations: 2.375 kB / 488 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.2992, allocations: 1.031 kB / 488 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2992, allocations: 7.922 kB / 488 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.3007, allocations: 0.9686 MB / 489 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3007, allocations: 0 / 489 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.3009, allocations: 46.14 kB / 489 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000192/0.3011, allocations: 61.69 kB / 489.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.3012, allocations: 2.75 kB / 489.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.3024, allocations: 1.816 MB / 490.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3024, allocations: 0 / 490.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.3038, allocations: 0.5872 MB / 491.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.304, allocations: 169.7 kB / 491.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.198e-05/0.3041, allocations: 6.812 kB / 491.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.3043, allocations: 28.88 kB / 491.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.3044, allocations: 23.19 kB / 491.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.3045, allocations: 7.656 kB / 491.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001203/0.3057, allocations: 0.8146 MB / 492.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.214e-06/0.3057, allocations: 0 / 492.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001022/0.3067, allocations: 213.7 kB / 492.7 MB, free: 14.85 MB / 366.1 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 (17): * Single equations (assignments): 14 * 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.001533/0.3083, allocations: 0.6048 MB / 493.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00175/0.31, allocations: 0.7612 MB / 494.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.31, allocations: 0 / 494.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005135/0.3106, allocations: 262.2 kB / 494.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006517/0.3112, allocations: 95.64 kB / 494.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.3141, allocations: 1.485 MB / 495.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006036/0.3148, allocations: 0.959 MB / 496.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002277/0.315, allocations: 78.81 kB / 497 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.3151, allocations: 36.05 kB / 497 MB, free: 12.04 MB / 366.1 MB Notification: Performance of SimCode: time 1.613e-06/0.3151, allocations: 0 / 497 MB, free: 12.04 MB / 366.1 MB Notification: Performance of Templates: time 0.01364/0.3288, allocations: 7.484 MB / 0.4927 GB, free: 4.582 MB / 366.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceP.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceP.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestIceP.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestIceP.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestIceP.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestIceP -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceP.pipe 2>&1)