Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_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.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001137/0.001137, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.368/1.368, allocations: 222.9 MB / 241.1 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.09561/0.09561, allocations: 22.32 MB / 313.5 MB, free: 8.902 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.91 kB / 437.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08541/0.08672, allocations: 54.95 MB / 492.7 MB, free: 4.781 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.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001): time 0.3575/0.4442, allocations: 21.89 MB / 0.5025 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005835/0.4448, allocations: 217.2 kB / 0.5027 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.4449, allocations: 10.59 kB / 0.5027 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.367e-05/0.445, allocations: 32.97 kB / 0.5028 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.4452, allocations: 107.8 kB / 0.5029 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001184/0.4453, allocations: 43.91 kB / 0.5029 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.4455, allocations: 289 kB / 0.5032 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.4457, allocations: 156 kB / 0.5033 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.4459, allocations: 127.8 kB / 0.5035 GB, free: 5.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.446, allocations: 101.3 kB / 0.5036 GB, free: 5.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.4461, allocations: 15.94 kB / 0.5036 GB, free: 5.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.825e-05/0.4461, allocations: 15.91 kB / 0.5036 GB, free: 5.719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.163e-05/0.4462, allocations: 38.81 kB / 0.5036 GB, free: 5.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.186e-05/0.4462, allocations: 116.4 kB / 0.5037 GB, free: 5.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.4464, allocations: 228.3 kB / 0.5039 GB, free: 5.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.4464, allocations: 0 / 0.5039 GB, free: 5.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4464, allocations: 5.969 kB / 0.504 GB, free: 5.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.4465, allocations: 0 / 0.504 GB, free: 5.629 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005736/0.447, allocations: 0.5084 MB / 0.5044 GB, free: 5.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.4471, allocations: 11.56 kB / 0.5045 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.4471, allocations: 25 kB / 0.5045 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.4474, allocations: 277.8 kB / 0.5047 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.4474, allocations: 10.92 kB / 0.5048 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.4474, allocations: 17.03 kB / 0.5048 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.4478, allocations: 196.8 kB / 0.505 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.4478, allocations: 192 / 0.505 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.4478, allocations: 17.5 kB / 0.505 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.4478, allocations: 4.469 kB / 0.505 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.4481, allocations: 116.5 kB / 0.5051 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007232/0.4489, allocations: 0.8504 MB / 0.5059 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.449, allocations: 78.44 kB / 0.506 GB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.4492, allocations: 57.78 kB / 0.5061 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.4492, allocations: 4.656 kB / 0.5061 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.292e-05/0.4492, allocations: 37 kB / 0.5061 GB, free: 4.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.4492, allocations: 0 / 0.5061 GB, free: 4.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004565/0.4497, allocations: 182.5 kB / 0.5063 GB, free: 4.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.383e-05/0.4497, allocations: 55.06 kB / 0.5063 GB, free: 4.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.4499, allocations: 228.5 kB / 0.5065 GB, free: 3.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.4499, allocations: 25.7 kB / 0.5066 GB, free: 3.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/0.45, allocations: 140.9 kB / 0.5067 GB, free: 3.805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.45, allocations: 56.44 kB / 0.5068 GB, free: 3.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.45, allocations: 31.38 kB / 0.5068 GB, free: 3.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.647e-05/0.4501, allocations: 329.6 kB / 0.5071 GB, free: 3.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.4502, allocations: 42.78 kB / 0.5071 GB, free: 3.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.4503, allocations: 67.64 kB / 0.5072 GB, free: 3.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007752/0.4511, allocations: 231.2 kB / 0.5074 GB, free: 3.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4511, allocations: 0.9844 kB / 0.5074 GB, free: 3.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003045/0.4515, allocations: 167.9 kB / 0.5076 GB, free: 3.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.4515, allocations: 5.562 kB / 0.5076 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.4515, allocations: 3.344 kB / 0.5076 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.4515, allocations: 2.656 kB / 0.5076 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.4517, allocations: 40.72 kB / 0.5076 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4517, allocations: 0 / 0.5076 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.4518, allocations: 18.91 kB / 0.5077 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.4519, allocations: 7.219 kB / 0.5077 GB, free: 3.316 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 (18): * Single equations (assignments): 18 * 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.0001209/0.452, allocations: 139.2 kB / 0.5078 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.452, allocations: 22.56 kB / 0.5078 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.4521, allocations: 24.66 kB / 0.5078 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4521, allocations: 3.719 kB / 0.5078 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4521, allocations: 0 / 0.5078 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.4521, allocations: 97.11 kB / 0.5079 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.4522, allocations: 0 / 0.5079 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.4523, allocations: 8.906 kB / 0.5079 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.4524, allocations: 19.84 kB / 0.508 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004936/0.4529, allocations: 228.8 kB / 0.5082 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000432/0.4533, allocations: 386.6 kB / 0.5085 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001296/0.4535, allocations: 53.39 kB / 0.5086 GB, free: 2.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.4536, allocations: 165.4 kB / 0.5088 GB, free: 2.652 MB / 382.1 MB Notification: Performance of Backend: time 3.81e-07/0.4536, allocations: 0 / 0.5088 GB, free: 2.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000459/0.454, allocations: 151.2 kB / 0.5089 GB, free: 2.586 MB / 382.1 MB Notification: Performance of SimCode: time 0.0007551/0.4548, allocations: 0.9803 MB / 0.5099 GB, free: 1.867 MB / 382.1 MB Notification: Performance of Templates: time 0.005537/0.4604, allocations: 2.546 MB / 0.5123 GB, free: 1.82 MB / 382.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.makefile (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe 2>&1)