Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 81.7 kB / 19.76 MB, free: 2.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 162.3 kB / 23.02 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.401/1.401, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1034/0.1034, allocations: 17.79 MB / 277.6 MB, free: 15.34 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Devel_test_models.Test_HE_LiquidLiquid_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001") translateModel(AES.Devel_test_models.Test_HE_LiquidLiquid_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 67.89 kB / 414.7 MB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09258/0.09466, allocations: 59.55 MB / 474.2 MB, free: 8.812 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HE_LiquidLiquid_001): time 0.3606/0.4552, allocations: 22.93 MB / 497.1 MB, free: 41.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005343/0.4558, allocations: 218.7 kB / 497.4 MB, free: 41.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.4559, allocations: 13.19 kB / 497.4 MB, free: 41.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.455e-05/0.4559, allocations: 32.91 kB / 497.4 MB, free: 41.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.4561, allocations: 102.3 kB / 497.5 MB, free: 41.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001143/0.4562, allocations: 41.2 kB / 497.5 MB, free: 41.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.4564, allocations: 290.8 kB / 497.8 MB, free: 41.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.4566, allocations: 100 kB / 497.9 MB, free: 41.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.4567, allocations: 131.7 kB / 498.1 MB, free: 41.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.4569, allocations: 85.69 kB / 498.1 MB, free: 41.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.4569, allocations: 12.62 kB / 498.1 MB, free: 41.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.667e-05/0.4569, allocations: 16.19 kB / 498.2 MB, free: 41.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.907e-05/0.457, allocations: 35.05 kB / 498.2 MB, free: 41.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.346e-05/0.457, allocations: 92.19 kB / 498.3 MB, free: 41.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.4572, allocations: 223.4 kB / 498.5 MB, free: 41.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.4572, allocations: 0 / 498.5 MB, free: 41.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4572, allocations: 0 / 498.5 MB, free: 41.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.4572, allocations: 3.062 kB / 498.5 MB, free: 41.43 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005562/0.4578, allocations: 443.7 kB / 498.9 MB, free: 41.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.4578, allocations: 14.8 kB / 499 MB, free: 41.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.4578, allocations: 31.08 kB / 499 MB, free: 41.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.4581, allocations: 210.4 kB / 499.2 MB, free: 40.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.4581, allocations: 13.06 kB / 499.2 MB, free: 40.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.4581, allocations: 9.719 kB / 499.2 MB, free: 40.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.4583, allocations: 164.9 kB / 499.4 MB, free: 40.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4583, allocations: 7.547 kB / 499.4 MB, free: 40.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.4583, allocations: 6.719 kB / 499.4 MB, free: 40.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.4584, allocations: 7.188 kB / 499.4 MB, free: 40.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.4585, allocations: 89.75 kB / 499.5 MB, free: 40.81 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/0.4591, allocations: 0.6952 MB / 0.4885 GB, free: 40.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.4592, allocations: 72.7 kB / 0.4885 GB, free: 40.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.641e-05/0.4592, allocations: 37.67 kB / 0.4886 GB, free: 40.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.4593, allocations: 3.188 kB / 0.4886 GB, free: 40.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.016e-05/0.4593, allocations: 34.19 kB / 0.4886 GB, free: 40.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.4593, allocations: 0 / 0.4886 GB, free: 40.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002313/0.4595, allocations: 132.3 kB / 0.4887 GB, free: 40.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.67e-05/0.4595, allocations: 54.59 kB / 0.4888 GB, free: 40.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.4597, allocations: 213.7 kB / 0.489 GB, free: 39.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.4597, allocations: 29.14 kB / 0.489 GB, free: 39.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.4597, allocations: 157.7 kB / 0.4892 GB, free: 39.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.4597, allocations: 36.47 kB / 0.4892 GB, free: 39.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.4598, allocations: 33.09 kB / 0.4892 GB, free: 39.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.895e-05/0.4598, allocations: 332.7 kB / 0.4895 GB, free: 39.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.143e-05/0.4599, allocations: 24.52 kB / 0.4896 GB, free: 39.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.103e-05/0.4599, allocations: 52.61 kB / 0.4896 GB, free: 39.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004616/0.4604, allocations: 164 kB / 0.4898 GB, free: 39.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4604, allocations: 0 / 0.4898 GB, free: 39.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001677/0.4605, allocations: 129.5 kB / 0.4899 GB, free: 39.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.4606, allocations: 10.41 kB / 0.4899 GB, free: 39.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4606, allocations: 0 / 0.4899 GB, free: 39.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.4606, allocations: 3.094 kB / 0.4899 GB, free: 39.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.4607, allocations: 25.97 kB / 0.4899 GB, free: 39.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4607, allocations: 3.25 kB / 0.4899 GB, free: 39.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.311e-05/0.4608, allocations: 18.73 kB / 0.49 GB, free: 39.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.4608, allocations: 3.25 kB / 0.49 GB, free: 39.35 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = \"K\" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = \"K\" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.4609, allocations: 138.1 kB / 0.4901 GB, free: 39.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.461, allocations: 21.42 kB / 0.4901 GB, free: 39.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.461, allocations: 20.27 kB / 0.4901 GB, free: 39.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.461, allocations: 0 / 0.4901 GB, free: 39.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.461, allocations: 3.188 kB / 0.4901 GB, free: 39.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.461, allocations: 3.938 kB / 0.4901 GB, free: 39.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.4611, allocations: 169.3 kB / 0.4903 GB, free: 39.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.4611, allocations: 6.969 kB / 0.4903 GB, free: 39.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.4613, allocations: 22.39 kB / 0.4903 GB, free: 39.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4613, allocations: 4 kB / 0.4903 GB, free: 39.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.4613, allocations: 3.938 kB / 0.4903 GB, free: 39.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4613, allocations: 3.625 kB / 0.4903 GB, free: 39.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.4613, allocations: 3.375 kB / 0.4903 GB, free: 39.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.4615, allocations: 234.3 kB / 0.4906 GB, free: 38.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.4615, allocations: 18.53 kB / 0.4906 GB, free: 38.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.4616, allocations: 6.281 kB / 0.4906 GB, free: 38.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.4617, allocations: 0 / 0.4906 GB, free: 38.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.4617, allocations: 6.328 kB / 0.4906 GB, free: 38.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.4617, allocations: 0 / 0.4906 GB, free: 38.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.734e-05/0.4618, allocations: 161.5 kB / 0.4907 GB, free: 38.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4618, allocations: 4.062 kB / 0.4908 GB, free: 38.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.4621, allocations: 44.95 kB / 0.4908 GB, free: 38.81 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.612e-05/0.4621, allocations: 104 kB / 0.4909 GB, free: 38.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.4623, allocations: 71.09 kB / 0.491 GB, free: 38.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4623, allocations: 3.344 kB / 0.491 GB, free: 38.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.611e-05/0.4623, allocations: 28.83 kB / 0.491 GB, free: 38.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.4626, allocations: 50.64 kB / 0.491 GB, free: 38.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006283/0.4633, allocations: 493.4 kB / 0.4915 GB, free: 38.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.672e-05/0.4633, allocations: 129.1 kB / 0.4916 GB, free: 38.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.97e-05/0.4634, allocations: 24.55 kB / 0.4917 GB, free: 38.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.4634, allocations: 17.81 kB / 0.4917 GB, free: 38.3 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4634, allocations: 0 / 0.4917 GB, free: 38.3 MB / 446.1 MB Notification: Performance of Templates: time 0.004553/0.468, allocations: 2.213 MB / 0.4938 GB, free: 38 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.sim & ./AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.451030359021388] Failed to read output from testmodel.py, exit status != 0: 0.4754711879650131 0.48531880899999996 0.025774854000000003 Calling exit ...