Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001239/0.001239, allocations: 110.5 kB / 17.6 MB, free: 4.688 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.001429/0.001429, allocations: 190.8 kB / 20.78 MB, free: 1.516 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.478/1.478, allocations: 225.6 MB / 249.4 MB, free: 3.164 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.06839/0.06839, allocations: 8.551 MB / 313 MB, free: 1.926 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_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 71.88 kB / 436.5 MB, free: 9.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2836, allocations: 54.19 MB / 490.7 MB, free: 26.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.005447/0.2891, allocations: 3.693 MB / 494.4 MB, free: 23.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00331/0.2924, allocations: 1.786 MB / 496.2 MB, free: 22.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003928/0.2928, allocations: 11.94 kB / 496.2 MB, free: 22.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005527/0.2934, allocations: 191.6 kB / 496.4 MB, free: 22.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005844/0.2939, allocations: 232.2 kB / 496.6 MB, free: 22.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008617/0.2948, allocations: 404.1 kB / 497 MB, free: 21.92 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006196/0.2954, allocations: 0.6157 MB / 497.6 MB, free: 21.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.2957, allocations: 151.8 kB / 497.8 MB, free: 21.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.2959, allocations: 249.1 kB / 498 MB, free: 21.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003672/0.2963, allocations: 318.2 kB / 498.3 MB, free: 21.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.96e-05/0.2964, allocations: 59.19 kB / 498.4 MB, free: 21.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.2966, allocations: 133.6 kB / 498.5 MB, free: 21.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.2968, allocations: 213.3 kB / 498.7 MB, free: 20.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.297, allocations: 333.2 kB / 499.1 MB, free: 20.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009331/0.298, allocations: 0.8727 MB / 499.9 MB, free: 20.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.298, allocations: 4 kB / 499.9 MB, free: 20.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.298, allocations: 0 / 499.9 MB, free: 20.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.298, allocations: 0 / 499.9 MB, free: 20.03 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.001609/0.2996, allocations: 1.091 MB / 0.4893 GB, free: 19.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2996, allocations: 16.84 kB / 0.4893 GB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.2998, allocations: 94.78 kB / 0.4894 GB, free: 19.06 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006766/0.3004, allocations: 0.5959 MB / 0.49 GB, free: 18.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.3005, allocations: 32.53 kB / 0.49 GB, free: 18.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.065e-05/0.3005, allocations: 41.08 kB / 0.4901 GB, free: 18.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007625/0.3013, allocations: 433.8 kB / 0.4905 GB, free: 18.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.3013, allocations: 1.875 kB / 0.4905 GB, free: 18.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.3014, allocations: 15.38 kB / 0.4905 GB, free: 18.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.3014, allocations: 8.812 kB / 0.4905 GB, free: 18.24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007225/0.3021, allocations: 306.4 kB / 0.4908 GB, free: 18.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/0.3042, allocations: 1.701 MB / 0.4924 GB, free: 16.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008205/0.305, allocations: 305.9 kB / 0.4927 GB, free: 16.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.3053, allocations: 117.4 kB / 0.4928 GB, free: 16.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.3053, allocations: 7.312 kB / 0.4929 GB, free: 16.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004063/0.3057, allocations: 187.5 kB / 0.493 GB, free: 16.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.633e-06/0.3057, allocations: 1.094 kB / 0.493 GB, free: 16.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001457/0.3072, allocations: 0.5329 MB / 0.4936 GB, free: 16.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.3073, allocations: 139.9 kB / 0.4937 GB, free: 15.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.3085, allocations: 0.9371 MB / 0.4946 GB, free: 15.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.3085, allocations: 32.27 kB / 0.4946 GB, free: 15.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.3088, allocations: 348 kB / 0.495 GB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.945e-05/0.3088, allocations: 77.69 kB / 0.495 GB, free: 15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.309, allocations: 75.3 kB / 0.4951 GB, free: 14.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3091, allocations: 383.1 kB / 0.4955 GB, free: 14.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.3094, allocations: 149.4 kB / 0.4956 GB, free: 14.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/0.3098, allocations: 214.7 kB / 0.4958 GB, free: 14.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006684/0.3105, allocations: 354.3 kB / 0.4962 GB, free: 14.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3105, allocations: 1.219 kB / 0.4962 GB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009432/0.3114, allocations: 497.1 kB / 0.4966 GB, free: 13.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.3115, allocations: 34.42 kB / 0.4967 GB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3115, allocations: 10.03 kB / 0.4967 GB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/0.3116, allocations: 24.94 kB / 0.4967 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.3119, allocations: 86.02 kB / 0.4968 GB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006953/0.3126, allocations: 1.37 MB / 0.4981 GB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.3129, allocations: 52.66 kB / 0.4982 GB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.3129, allocations: 10.06 kB / 0.4982 GB, free: 12.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004824/0.3134, allocations: 342.5 kB / 0.4985 GB, free: 12.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00033/0.3138, allocations: 210.7 kB / 0.4987 GB, free: 11.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005705/0.3143, allocations: 329.6 kB / 0.499 GB, free: 11.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.3143, allocations: 5.406 kB / 0.499 GB, free: 11.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0008803/0.3152, allocations: 480.4 kB / 0.4995 GB, free: 11.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3152, allocations: 32.02 kB / 0.4995 GB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.3152, allocations: 6.875 kB / 0.4995 GB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.077e-05/0.3153, allocations: 23.75 kB / 0.4995 GB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.3156, allocations: 75.67 kB / 0.4996 GB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006412/0.3162, allocations: 1.37 MB / 0.501 GB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.3165, allocations: 45.34 kB / 0.501 GB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.3166, allocations: 10.56 kB / 0.501 GB, free: 9.879 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.0001164/0.3167, allocations: 208.4 kB / 0.5012 GB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/0.3168, allocations: 72.91 kB / 0.5013 GB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008878/0.3176, allocations: 367.9 kB / 0.5016 GB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3176, allocations: 6.312 kB / 0.5016 GB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.3177, allocations: 0 / 0.5016 GB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3177, allocations: 1.156 kB / 0.5016 GB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005408/0.3182, allocations: 0.538 MB / 0.5022 GB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3182, allocations: 0 / 0.5022 GB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.3185, allocations: 54.45 kB / 0.5022 GB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.35e-05/0.3185, allocations: 22.47 kB / 0.5022 GB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.3186, allocations: 5.281 kB / 0.5022 GB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006631/0.3192, allocations: 1.37 MB / 0.5036 GB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3192, allocations: 0 / 0.5036 GB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.3204, allocations: 0.5252 MB / 0.5041 GB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.3205, allocations: 161.5 kB / 0.5042 GB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-05/0.3206, allocations: 10.75 kB / 0.5043 GB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.3208, allocations: 30.33 kB / 0.5043 GB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.27e-05/0.3209, allocations: 26.55 kB / 0.5043 GB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.3209, allocations: 4.969 kB / 0.5043 GB, free: 7.008 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007082/0.3216, allocations: 0.6737 MB / 0.505 GB, free: 6.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3216, allocations: 0 / 0.505 GB, free: 6.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006747/0.3223, allocations: 231.3 kB / 0.5052 GB, free: 6.598 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.002378/0.3247, allocations: 0.6387 MB / 0.5058 GB, free: 6.297 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.3261, allocations: 0.7943 MB / 0.5066 GB, free: 5.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3261, allocations: 0 / 0.5066 GB, free: 5.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004308/0.3266, allocations: 249.8 kB / 0.5068 GB, free: 5.555 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.3271, allocations: 108.6 kB / 0.5069 GB, free: 5.496 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.3294, allocations: 1.335 MB / 0.5082 GB, free: 4.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.3298, allocations: 0.9355 MB / 0.5092 GB, free: 3.859 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002951/0.3301, allocations: 86.88 kB / 0.5092 GB, free: 3.824 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.3302, allocations: 39.88 kB / 0.5093 GB, free: 3.812 MB / 366.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3302, allocations: 0 / 0.5093 GB, free: 3.812 MB / 366.1 MB Notification: Performance of Templates: time 0.01315/0.3434, allocations: 7.281 MB / 0.5164 GB, free: 13.05 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.881140165962279]