Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.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.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 109.2 kB / 16.41 MB, free: 6.465 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.001439/0.001439, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.338/1.338, allocations: 222.9 MB / 241.1 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09619/0.09619, allocations: 22.33 MB / 313.5 MB, free: 8.898 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 71.89 kB / 437.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0937/0.09494, allocations: 54.95 MB / 492.7 MB, free: 4.793 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Liquid/HE_LiquidLiquid_1vol.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/Liquid/HE_LiquidLiquid_1vol.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.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003): time 0.3971/0.492, allocations: 22.42 MB / 0.503 GB, free: 6.375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.4931, allocations: 418.1 kB / 0.5034 GB, free: 6.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.4933, allocations: 12.78 kB / 0.5034 GB, free: 6.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.4934, allocations: 44.92 kB / 0.5035 GB, free: 6.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003524/0.4937, allocations: 143.4 kB / 0.5036 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.4939, allocations: 90.81 kB / 0.5037 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.4942, allocations: 425.7 kB / 0.5041 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003077/0.4946, allocations: 241.9 kB / 0.5043 GB, free: 6.234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.4948, allocations: 202 kB / 0.5045 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.495, allocations: 176.6 kB / 0.5047 GB, free: 6.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.574e-05/0.495, allocations: 28.22 kB / 0.5047 GB, free: 6.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.4952, allocations: 58.58 kB / 0.5048 GB, free: 6.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.422e-05/0.4952, allocations: 76.5 kB / 0.5049 GB, free: 6.141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.4954, allocations: 175.7 kB / 0.505 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004238/0.4958, allocations: 406.5 kB / 0.5054 GB, free: 6.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4958, allocations: 2.656 kB / 0.5054 GB, free: 6.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.4958, allocations: 0 / 0.5054 GB, free: 6.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.4959, allocations: 0.75 kB / 0.5054 GB, free: 6.016 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0008706/0.4967, allocations: 0.645 MB / 0.5061 GB, free: 5.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.4968, allocations: 8.469 kB / 0.5061 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.4968, allocations: 44.55 kB / 0.5061 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.4971, allocations: 319.8 kB / 0.5064 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.4972, allocations: 17.98 kB / 0.5064 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.4972, allocations: 26.77 kB / 0.5064 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.4976, allocations: 280 kB / 0.5067 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4976, allocations: 6.188 kB / 0.5067 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.4976, allocations: 11 kB / 0.5067 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.4976, allocations: 5.438 kB / 0.5067 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.498, allocations: 189.4 kB / 0.5069 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.4992, allocations: 0.9136 MB / 0.5078 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.4995, allocations: 166 kB / 0.508 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.4997, allocations: 99.5 kB / 0.5081 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.4997, allocations: 3.281 kB / 0.5081 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.178e-05/0.4997, allocations: 36.8 kB / 0.5081 GB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002027/0.4999, allocations: 38.39 kB / 0.5081 GB, free: 4.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.974e-06/0.5, allocations: 4.594 kB / 0.5081 GB, free: 4.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001263/0.5012, allocations: 437.9 kB / 0.5086 GB, free: 4.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.386e-05/0.5013, allocations: 57.09 kB / 0.5086 GB, free: 4.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.5015, allocations: 299.1 kB / 0.5089 GB, free: 4.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.5016, allocations: 25.7 kB / 0.5089 GB, free: 4.246 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/0.5016, allocations: 183.6 kB / 0.5091 GB, free: 4.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.5017, allocations: 67.98 kB / 0.5092 GB, free: 4.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.666e-05/0.5018, allocations: 51.53 kB / 0.5092 GB, free: 4.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.932e-05/0.5018, allocations: 342.4 kB / 0.5095 GB, free: 3.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.502, allocations: 65.52 kB / 0.5096 GB, free: 3.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.5021, allocations: 84.62 kB / 0.5097 GB, free: 3.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004128/0.5063, allocations: 0.7091 MB / 0.5104 GB, free: 3.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5063, allocations: 1.156 kB / 0.5104 GB, free: 3.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000807/0.5071, allocations: 309.7 kB / 0.5107 GB, free: 3.648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.5071, allocations: 4.812 kB / 0.5107 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5071, allocations: 0.875 kB / 0.5107 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007727/0.5079, allocations: 107.1 kB / 0.5108 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.5082, allocations: 50.92 kB / 0.5108 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003038/0.5085, allocations: 0.5816 MB / 0.5114 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.5087, allocations: 6.984 kB / 0.5114 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.5087, allocations: 6.922 kB / 0.5114 GB, free: 3.113 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: 2 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.5089, allocations: 158.9 kB / 0.5116 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.5089, allocations: 30.22 kB / 0.5116 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008494/0.5098, allocations: 358.4 kB / 0.5119 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.5098, allocations: 1.688 kB / 0.5119 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5098, allocations: 1.375 kB / 0.5119 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.5099, allocations: 106 kB / 0.512 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.5099, allocations: 5.75 kB / 0.512 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.5101, allocations: 12.52 kB / 0.5121 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/0.5102, allocations: 26.86 kB / 0.5121 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007127/0.5109, allocations: 364.9 kB / 0.5124 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005156/0.5114, allocations: 0.506 MB / 0.5129 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001416/0.5116, allocations: 86.34 kB / 0.513 GB, free: 2.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001781/0.5118, allocations: 214 kB / 0.5132 GB, free: 2.34 MB / 382.1 MB Notification: Performance of Backend: time 3.9e-07/0.5118, allocations: 3.938 kB / 0.5132 GB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006842/0.5125, allocations: 227.5 kB / 0.5134 GB, free: 2.262 MB / 382.1 MB Notification: Performance of SimCode: time 0.001128/0.5136, allocations: 1.183 MB / 0.5146 GB, free: 1.445 MB / 382.1 MB Notification: Performance of Templates: time 0.008784/0.5224, allocations: 4.184 MB / 0.5187 GB, free: 1.219 MB / 382.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.makefile (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe 2>&1)