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.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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES 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(AES.Devel_test_models.Test_HE_LiquidLiquid_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,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=200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006599/0.006599, allocations: 109 kB / 15.74 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002316/0.002316, allocations: 189 kB / 16.67 MB, free: 5.941 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08818/0.08818, allocations: 22.33 MB / 312.8 MB, free: 8.891 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.89 kB / 437 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1206, allocations: 54.95 MB / 492 MB, free: 4.773 MB / 366.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.4509/0.5716, allocations: 21.67 MB / 0.5016 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008389/0.5724, allocations: 213.2 kB / 0.5018 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.5726, allocations: 14.06 kB / 0.5018 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.697e-05/0.5727, allocations: 26.83 kB / 0.5019 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.5729, allocations: 105 kB / 0.502 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.573, allocations: 32.92 kB / 0.502 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.5733, allocations: 287.8 kB / 0.5023 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002536/0.5736, allocations: 127.6 kB / 0.5024 GB, free: 5.754 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.5738, allocations: 132.2 kB / 0.5025 GB, free: 5.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.574, allocations: 88.97 kB / 0.5026 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.402e-05/0.5741, allocations: 21.12 kB / 0.5026 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.866e-05/0.5741, allocations: 12.38 kB / 0.5026 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.194e-05/0.5742, allocations: 34.75 kB / 0.5027 GB, free: 5.695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.5743, allocations: 114.7 kB / 0.5028 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.5747, allocations: 215 kB / 0.503 GB, free: 5.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.5747, allocations: 0 / 0.503 GB, free: 5.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5747, allocations: 0 / 0.503 GB, free: 5.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.5747, allocations: 2.688 kB / 0.503 GB, free: 5.625 MB / 382.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.0008513/0.5756, allocations: 0.5034 MB / 0.5035 GB, free: 5.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.5757, allocations: 10.69 kB / 0.5035 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.551e-05/0.5757, allocations: 27.66 kB / 0.5035 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/0.5761, allocations: 279.2 kB / 0.5038 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.5761, allocations: 9.5 kB / 0.5038 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.5762, allocations: 13.31 kB / 0.5038 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.5765, allocations: 177.8 kB / 0.504 GB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.5765, allocations: 0 / 0.504 GB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.5766, allocations: 5.594 kB / 0.504 GB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.5766, allocations: 9.344 kB / 0.504 GB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.5768, allocations: 92.17 kB / 0.5041 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.578, allocations: 0.8075 MB / 0.5049 GB, free: 4.219 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.5782, allocations: 77.02 kB / 0.5049 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.5783, allocations: 44.86 kB / 0.505 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.5783, allocations: 0 / 0.505 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.5784, allocations: 34.47 kB / 0.505 GB, free: 4.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.5784, allocations: 0 / 0.505 GB, free: 4.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003309/0.5787, allocations: 127.2 kB / 0.5051 GB, free: 4.102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.5787, allocations: 55.03 kB / 0.5052 GB, free: 4.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.579, allocations: 272.9 kB / 0.5054 GB, free: 3.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.5791, allocations: 26.86 kB / 0.5055 GB, free: 3.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.65e-05/0.5792, allocations: 143.5 kB / 0.5056 GB, free: 3.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.5792, allocations: 29.73 kB / 0.5056 GB, free: 3.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.5793, allocations: 27.33 kB / 0.5057 GB, free: 3.766 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.733e-05/0.5793, allocations: 338.2 kB / 0.506 GB, free: 3.453 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.472e-05/0.5794, allocations: 24.94 kB / 0.506 GB, free: 3.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-05/0.5795, allocations: 51.78 kB / 0.5061 GB, free: 3.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004879/0.58, allocations: 153.5 kB / 0.5062 GB, free: 3.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.58, allocations: 4.5 kB / 0.5062 GB, free: 3.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001892/0.5802, allocations: 134.4 kB / 0.5063 GB, free: 3.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.5802, allocations: 4.75 kB / 0.5063 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.5802, allocations: 2.547 kB / 0.5063 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.5802, allocations: 7.062 kB / 0.5064 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.5804, allocations: 31.53 kB / 0.5064 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.5804, allocations: 7.562 kB / 0.5064 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.607e-05/0.5805, allocations: 13.16 kB / 0.5064 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.5805, allocations: 4.344 kB / 0.5064 GB, free: 3.336 MB / 382.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.0001445/0.5807, allocations: 137.6 kB / 0.5065 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.5807, allocations: 22.44 kB / 0.5066 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.579e-05/0.5807, allocations: 27.72 kB / 0.5066 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.5808, allocations: 5.5 kB / 0.5066 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5808, allocations: 3.938 kB / 0.5066 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.5808, allocations: 3.438 kB / 0.5066 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.581, allocations: 247.9 kB / 0.5068 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.581, allocations: 0.9844 kB / 0.5068 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.5812, allocations: 22.59 kB / 0.5069 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5812, allocations: 0 / 0.5069 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.5812, allocations: 2.656 kB / 0.5069 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.5812, allocations: 7.828 kB / 0.5069 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5812, allocations: 7.875 kB / 0.5069 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.5815, allocations: 233.7 kB / 0.5071 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.5816, allocations: 97.02 kB / 0.5072 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.5816, allocations: 8.047 kB / 0.5072 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.5817, allocations: 3.469 kB / 0.5072 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.5818, allocations: 9.984 kB / 0.5072 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.5818, allocations: 2.422 kB / 0.5072 GB, free: 2.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001714/0.582, allocations: 195.6 kB / 0.5074 GB, free: 2.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.582, allocations: 0 / 0.5074 GB, free: 2.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.5822, allocations: 37.22 kB / 0.5074 GB, free: 2.652 MB / 382.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 0.00011/0.5823, allocations: 103.4 kB / 0.5075 GB, free: 2.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.5825, allocations: 74.73 kB / 0.5076 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5825, allocations: 0 / 0.5076 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.888e-05/0.5826, allocations: 32.92 kB / 0.5076 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.583, allocations: 53.62 kB / 0.5077 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008111/0.5838, allocations: 0.4905 MB / 0.5082 GB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.584, allocations: 0.7328 MB / 0.5089 GB, free: 1.625 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.97e-05/0.5841, allocations: 28.02 kB / 0.5089 GB, free: 1.625 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.5842, allocations: 22.88 kB / 0.5089 GB, free: 1.617 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.5842, allocations: 0 / 0.5089 GB, free: 1.617 MB / 382.1 MB Notification: Performance of Templates: time 0.005826/0.59, allocations: 2.306 MB / 0.5112 GB, free: 1.574 MB / 382.1 MB make -j1 -f AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.makefile (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 -lv LOG_STATS > AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe 2>&1)