Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 225.6 MB / 249.9 MB, free: 3.184 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.06168/0.06168, allocations: 8.548 MB / 313.6 MB, free: 1.949 MB / 238.1 MB [Timeout remaining time 90] 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.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 72.11 kB / 436.9 MB, free: 9.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2893, allocations: 54.19 MB / 491.1 MB, free: 26.08 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.005164/0.2944, allocations: 3.784 MB / 494.9 MB, free: 23.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.2973, allocations: 1.799 MB / 496.7 MB, free: 22.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003903/0.2977, allocations: 7.031 kB / 496.7 MB, free: 22.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005202/0.2982, allocations: 201.7 kB / 496.9 MB, free: 22.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000603/0.2988, allocations: 247.7 kB / 497.2 MB, free: 21.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009599/0.2998, allocations: 410.9 kB / 497.6 MB, free: 21.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007635/0.3005, allocations: 0.6515 MB / 498.2 MB, free: 21.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000305/0.3008, allocations: 167.4 kB / 498.4 MB, free: 21.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003525/0.3012, allocations: 265.5 kB / 498.6 MB, free: 21.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.3016, allocations: 324.5 kB / 499 MB, free: 20.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.176e-05/0.3017, allocations: 55.66 kB / 499 MB, free: 20.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.3019, allocations: 116.8 kB / 499.1 MB, free: 20.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.3021, allocations: 218.2 kB / 499.3 MB, free: 20.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002264/0.3023, allocations: 344 kB / 499.7 MB, free: 20.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008654/0.3032, allocations: 0.88 MB / 0.4888 GB, free: 19.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3032, allocations: 0 / 0.4888 GB, free: 19.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3032, allocations: 5.156 kB / 0.4888 GB, free: 19.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.3032, allocations: 0 / 0.4888 GB, free: 19.9 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001727/0.3049, allocations: 1.124 MB / 0.4899 GB, free: 18.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3049, allocations: 14.23 kB / 0.4899 GB, free: 18.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.3051, allocations: 91.12 kB / 0.49 GB, free: 18.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006837/0.3058, allocations: 0.6023 MB / 0.4906 GB, free: 18.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.3058, allocations: 37.06 kB / 0.4907 GB, free: 18.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.949e-05/0.3059, allocations: 40.5 kB / 0.4907 GB, free: 18.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000789/0.3067, allocations: 448.3 kB / 0.4911 GB, free: 18.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.3067, allocations: 2.25 kB / 0.4911 GB, free: 18.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.3067, allocations: 15.41 kB / 0.4911 GB, free: 18.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.3067, allocations: 9.375 kB / 0.4911 GB, free: 18.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007687/0.3075, allocations: 335.4 kB / 0.4915 GB, free: 17.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.3098, allocations: 1.763 MB / 0.4932 GB, free: 16.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008848/0.3106, allocations: 429.8 kB / 0.4936 GB, free: 16.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.311, allocations: 132.7 kB / 0.4937 GB, free: 16.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.311, allocations: 3.406 kB / 0.4937 GB, free: 16.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004217/0.3114, allocations: 196.8 kB / 0.4939 GB, free: 16.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.994e-06/0.3114, allocations: 1.062 kB / 0.4939 GB, free: 16.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.001705/0.3131, allocations: 0.6439 MB / 0.4945 GB, free: 15.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.3132, allocations: 80.55 kB / 0.4946 GB, free: 15.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.3142, allocations: 0.9301 MB / 0.4955 GB, free: 15.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.3142, allocations: 32.95 kB / 0.4956 GB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.3144, allocations: 357.4 kB / 0.4959 GB, free: 14.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.811e-05/0.3145, allocations: 95.53 kB / 0.496 GB, free: 14.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.3146, allocations: 79.08 kB / 0.4961 GB, free: 14.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.3147, allocations: 383.6 kB / 0.4964 GB, free: 14.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/0.315, allocations: 142.3 kB / 0.4966 GB, free: 14.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/0.3154, allocations: 216.9 kB / 0.4968 GB, free: 14.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006931/0.3161, allocations: 364 kB / 0.4971 GB, free: 13.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3161, allocations: 0 / 0.4971 GB, free: 13.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001108/0.3172, allocations: 0.5486 MB / 0.4977 GB, free: 13.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.3173, allocations: 33.52 kB / 0.4977 GB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3173, allocations: 2.406 kB / 0.4977 GB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002731/0.3175, allocations: 57.34 kB / 0.4977 GB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.3178, allocations: 80.39 kB / 0.4978 GB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.3192, allocations: 1.817 MB / 0.4996 GB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.3195, allocations: 52.08 kB / 0.4996 GB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.3196, allocations: 14.59 kB / 0.4997 GB, free: 11.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005473/0.3201, allocations: 347 kB / 0.5 GB, free: 11.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003377/0.3204, allocations: 205.3 kB / 0.5002 GB, free: 11.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000614/0.3211, allocations: 341.8 kB / 0.5005 GB, free: 11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.914e-06/0.3211, allocations: 1.094 kB / 0.5005 GB, free: 11 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001025/0.3221, allocations: 0.5138 MB / 0.501 GB, free: 10.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.3221, allocations: 32.3 kB / 0.5011 GB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3221, allocations: 2.375 kB / 0.5011 GB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001942/0.3223, allocations: 61.47 kB / 0.5011 GB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.3226, allocations: 69.14 kB / 0.5012 GB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.3238, allocations: 1.83 MB / 0.503 GB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.3242, allocations: 40.64 kB / 0.503 GB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.3242, allocations: 17.61 kB / 0.503 GB, free: 8.824 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,iceP.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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.3243, allocations: 207.5 kB / 0.5032 GB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.997e-05/0.3244, allocations: 69.98 kB / 0.5033 GB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009595/0.3253, allocations: 423.8 kB / 0.5037 GB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.3254, allocations: 2.75 kB / 0.5037 GB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.3254, allocations: 5.375 kB / 0.5037 GB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3254, allocations: 3.984 kB / 0.5037 GB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.3269, allocations: 1.029 MB / 0.5047 GB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3269, allocations: 1.094 kB / 0.5047 GB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.3271, allocations: 56.48 kB / 0.5048 GB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001792/0.3273, allocations: 62.66 kB / 0.5048 GB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.3273, allocations: 5.375 kB / 0.5048 GB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.3285, allocations: 1.802 MB / 0.5066 GB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3285, allocations: 0 / 0.5066 GB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.3298, allocations: 0.6529 MB / 0.5072 GB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.3299, allocations: 163.3 kB / 0.5074 GB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.322e-05/0.33, allocations: 6.75 kB / 0.5074 GB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.3303, allocations: 25.22 kB / 0.5074 GB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/0.3303, allocations: 28.03 kB / 0.5074 GB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.3304, allocations: 12.64 kB / 0.5074 GB, free: 5.176 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000795/0.3312, allocations: 0.6607 MB / 0.5081 GB, free: 4.844 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3312, allocations: 0 / 0.5081 GB, free: 4.844 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009188/0.3321, allocations: 236.2 kB / 0.5083 GB, free: 4.781 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 (22): * Single equations (assignments): 19 * 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.002125/0.3342, allocations: 0.5983 MB / 0.5089 GB, free: 4.512 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.3358, allocations: 0.8517 MB / 0.5097 GB, free: 3.906 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3358, allocations: 1.312 kB / 0.5097 GB, free: 3.906 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004534/0.3362, allocations: 272.2 kB / 0.51 GB, free: 3.715 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000582/0.3368, allocations: 100.9 kB / 0.5101 GB, free: 3.652 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.3388, allocations: 1.425 MB / 0.5115 GB, free: 2.531 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.3391, allocations: 0.9441 MB / 0.5124 GB, free: 1.559 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.3393, allocations: 35.44 kB / 0.5124 GB, free: 1.527 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3393, allocations: 0 / 0.5124 GB, free: 1.527 MB / 366.1 MB Notification: Performance of Templates: time 0.01604/0.3553, allocations: 10.96 MB / 0.5231 GB, free: 6.574 MB / 382.1 MB [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 480]