Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.0411/0.0411, allocations: 8.546 MB / 313 MB, free: 1.875 MB / 238.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-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.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 68.08 kB / 436.5 MB, free: 9.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2753, allocations: 54.19 MB / 490.7 MB, free: 26.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.00571/0.281, allocations: 3.694 MB / 494.4 MB, free: 23.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002924/0.2839, allocations: 1.782 MB / 496.2 MB, free: 22.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004783/0.2844, allocations: 6.875 kB / 496.2 MB, free: 22.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005693/0.285, allocations: 196.2 kB / 496.4 MB, free: 22.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005923/0.2856, allocations: 232.8 kB / 496.6 MB, free: 22.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009359/0.2865, allocations: 405.9 kB / 497 MB, free: 21.81 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006699/0.2872, allocations: 0.6127 MB / 497.6 MB, free: 21.51 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/0.2874, allocations: 156.2 kB / 497.8 MB, free: 21.4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.2877, allocations: 249.3 kB / 498 MB, free: 21.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004078/0.2881, allocations: 311.2 kB / 498.3 MB, free: 21.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.838e-05/0.2882, allocations: 58.84 kB / 498.4 MB, free: 21.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002534/0.2885, allocations: 142.3 kB / 498.5 MB, free: 21.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.2887, allocations: 210.1 kB / 498.7 MB, free: 21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.2889, allocations: 340.1 kB / 499.1 MB, free: 20.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008906/0.2898, allocations: 0.864 MB / 499.9 MB, free: 20.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.2898, allocations: 1.062 kB / 499.9 MB, free: 20.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2898, allocations: 0 / 499.9 MB, free: 20.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.2898, allocations: 0 / 499.9 MB, free: 20.23 MB / 366.1 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.001711/0.2915, allocations: 1.102 MB / 0.4893 GB, free: 19.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.2916, allocations: 13.48 kB / 0.4893 GB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.2917, allocations: 90.28 kB / 0.4894 GB, free: 19.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007187/0.2924, allocations: 0.5876 MB / 0.49 GB, free: 18.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.2925, allocations: 32.72 kB / 0.49 GB, free: 18.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-05/0.2926, allocations: 49.33 kB / 0.4901 GB, free: 18.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008285/0.2934, allocations: 430.5 kB / 0.4905 GB, free: 18.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.2934, allocations: 0 / 0.4905 GB, free: 18.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.2934, allocations: 19.53 kB / 0.4905 GB, free: 18.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.2935, allocations: 8.969 kB / 0.4905 GB, free: 18.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007388/0.2942, allocations: 303.7 kB / 0.4908 GB, free: 18.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.2964, allocations: 1.7 MB / 0.4924 GB, free: 16.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008733/0.2973, allocations: 315.5 kB / 0.4927 GB, free: 16.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/0.2976, allocations: 116.2 kB / 0.4929 GB, free: 16.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.652e-05/0.2977, allocations: 3.562 kB / 0.4929 GB, free: 16.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004274/0.2981, allocations: 188.6 kB / 0.493 GB, free: 16.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.442e-06/0.2981, allocations: 0 / 0.493 GB, free: 16.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001414/0.2995, allocations: 0.5374 MB / 0.4936 GB, free: 16.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.2996, allocations: 135.8 kB / 0.4937 GB, free: 16.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.3008, allocations: 0.937 MB / 0.4946 GB, free: 15.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.3008, allocations: 32.39 kB / 0.4946 GB, free: 15.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.3011, allocations: 340 kB / 0.495 GB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.801e-05/0.3011, allocations: 89.39 kB / 0.495 GB, free: 15.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.3012, allocations: 74.73 kB / 0.4951 GB, free: 15.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3014, allocations: 378.8 kB / 0.4955 GB, free: 14.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.3017, allocations: 146.5 kB / 0.4956 GB, free: 14.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004014/0.3021, allocations: 222 kB / 0.4958 GB, free: 14.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007022/0.3028, allocations: 350.2 kB / 0.4962 GB, free: 14.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.3028, allocations: 1.5 kB / 0.4962 GB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001057/0.3039, allocations: 493.1 kB / 0.4966 GB, free: 14.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.3039, allocations: 42.56 kB / 0.4967 GB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3039, allocations: 6.25 kB / 0.4967 GB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.3041, allocations: 21.27 kB / 0.4967 GB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.3044, allocations: 80.78 kB / 0.4968 GB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008151/0.3052, allocations: 1.379 MB / 0.4981 GB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003717/0.3056, allocations: 60.48 kB / 0.4982 GB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.3056, allocations: 10.03 kB / 0.4982 GB, free: 12.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000597/0.3062, allocations: 342.2 kB / 0.4985 GB, free: 12.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003435/0.3066, allocations: 210.9 kB / 0.4987 GB, free: 12.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006123/0.3072, allocations: 330.3 kB / 0.499 GB, free: 11.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.734e-06/0.3072, allocations: 0 / 0.499 GB, free: 11.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0009633/0.3082, allocations: 480.6 kB / 0.4995 GB, free: 11.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.3082, allocations: 40.88 kB / 0.4995 GB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3082, allocations: 1.656 kB / 0.4995 GB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.589e-05/0.3083, allocations: 20.69 kB / 0.4996 GB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.3086, allocations: 79.42 kB / 0.4996 GB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007089/0.3093, allocations: 1.37 MB / 0.501 GB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.3096, allocations: 41.34 kB / 0.501 GB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.3096, allocations: 14.22 kB / 0.501 GB, free: 10.06 MB / 366.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 (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.000143/0.3098, allocations: 201.2 kB / 0.5012 GB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-05/0.3099, allocations: 68.86 kB / 0.5013 GB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000933/0.3108, allocations: 371.9 kB / 0.5016 GB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3108, allocations: 5.859 kB / 0.5016 GB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3108, allocations: 1.125 kB / 0.5016 GB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3108, allocations: 0 / 0.5016 GB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005989/0.3114, allocations: 0.5342 MB / 0.5022 GB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3114, allocations: 5.156 kB / 0.5022 GB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.3117, allocations: 57.52 kB / 0.5022 GB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.681e-05/0.3118, allocations: 17.61 kB / 0.5022 GB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.3118, allocations: 7.109 kB / 0.5022 GB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006396/0.3124, allocations: 1.373 MB / 0.5036 GB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3124, allocations: 1.719 kB / 0.5036 GB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.3136, allocations: 0.5241 MB / 0.5041 GB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.3137, allocations: 161.5 kB / 0.5043 GB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.3137, allocations: 10.75 kB / 0.5043 GB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.314, allocations: 25.72 kB / 0.5043 GB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.3141, allocations: 26.91 kB / 0.5043 GB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.3141, allocations: 9.484 kB / 0.5043 GB, free: 7.195 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007865/0.3149, allocations: 0.6697 MB / 0.505 GB, free: 6.852 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3149, allocations: 0 / 0.505 GB, free: 6.852 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007149/0.3156, allocations: 223.8 kB / 0.5052 GB, free: 6.797 MB / 366.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 (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.002431/0.318, allocations: 0.6484 MB / 0.5058 GB, free: 6.488 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.3197, allocations: 0.7946 MB / 0.5066 GB, free: 5.922 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3197, allocations: 4.125 kB / 0.5066 GB, free: 5.918 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004431/0.3201, allocations: 253.9 kB / 0.5068 GB, free: 5.738 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006553/0.3208, allocations: 97.23 kB / 0.5069 GB, free: 5.688 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.323, allocations: 1.338 MB / 0.5082 GB, free: 4.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.3234, allocations: 0.9322 MB / 0.5092 GB, free: 4.051 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000265/0.3236, allocations: 90.22 kB / 0.5092 GB, free: 4.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.3237, allocations: 40.62 kB / 0.5093 GB, free: 4 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3237, allocations: 0 / 0.5093 GB, free: 4 MB / 366.1 MB Notification: Performance of Templates: time 0.01285/0.3366, allocations: 7.285 MB / 0.5164 GB, free: 13.04 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.95299001224339]