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.00125/0.00125, allocations: 119.4 kB / 16.42 MB, free: 6.48 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.001222/0.001222, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.291/1.291, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09405/0.09405, allocations: 22.32 MB / 313.5 MB, free: 8.891 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 76.02 kB / 437.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08648/0.08772, allocations: 54.95 MB / 492.7 MB, free: 4.766 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.3619/0.4496, allocations: 22.42 MB / 0.503 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009089/0.4505, allocations: 418.9 kB / 0.5034 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.4507, allocations: 10.31 kB / 0.5034 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.425e-05/0.4508, allocations: 45.95 kB / 0.5035 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.4511, allocations: 144.8 kB / 0.5036 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.4513, allocations: 90.5 kB / 0.5037 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000283/0.4515, allocations: 425 kB / 0.5041 GB, free: 5.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002735/0.4518, allocations: 250.5 kB / 0.5044 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.452, allocations: 200.6 kB / 0.5045 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.4522, allocations: 171.9 kB / 0.5047 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.4523, allocations: 27.28 kB / 0.5047 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.4524, allocations: 63.78 kB / 0.5048 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.4524, allocations: 70.61 kB / 0.5049 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.4526, allocations: 179.1 kB / 0.505 GB, free: 5.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003788/0.453, allocations: 401.8 kB / 0.5054 GB, free: 5.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.453, allocations: 2.688 kB / 0.5054 GB, free: 5.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.453, allocations: 0 / 0.5054 GB, free: 5.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.453, allocations: 0 / 0.5054 GB, free: 5.445 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.0008078/0.4538, allocations: 0.6433 MB / 0.5061 GB, free: 4.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.4539, allocations: 8.656 kB / 0.5061 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.476e-05/0.4539, allocations: 43.56 kB / 0.5061 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.4542, allocations: 324.9 kB / 0.5064 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.4543, allocations: 18.84 kB / 0.5064 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.4543, allocations: 28.73 kB / 0.5065 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.4547, allocations: 272.1 kB / 0.5067 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4547, allocations: 192 / 0.5067 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.4547, allocations: 18.88 kB / 0.5067 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.4547, allocations: 8.984 kB / 0.5067 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.4551, allocations: 194.6 kB / 0.5069 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.4562, allocations: 0.9044 MB / 0.5078 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.4565, allocations: 161.1 kB / 0.508 GB, free: 4.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.4567, allocations: 102.2 kB / 0.5081 GB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.4567, allocations: 7.531 kB / 0.5081 GB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.4567, allocations: 38.06 kB / 0.5081 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001947/0.4569, allocations: 33.28 kB / 0.5081 GB, free: 4.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 2.014e-06/0.4569, allocations: 2.625 kB / 0.5081 GB, free: 4.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001262/0.4582, allocations: 448.8 kB / 0.5086 GB, free: 3.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.312e-05/0.4582, allocations: 53.89 kB / 0.5086 GB, free: 3.816 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.4585, allocations: 299.6 kB / 0.5089 GB, free: 3.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.4585, allocations: 30.06 kB / 0.5089 GB, free: 3.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.4586, allocations: 186.2 kB / 0.5091 GB, free: 3.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.4587, allocations: 69.38 kB / 0.5092 GB, free: 3.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.4587, allocations: 47.41 kB / 0.5092 GB, free: 3.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.171e-05/0.4588, allocations: 345.8 kB / 0.5096 GB, free: 3.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.4589, allocations: 62.86 kB / 0.5096 GB, free: 3.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.4591, allocations: 86.08 kB / 0.5097 GB, free: 3.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004078/0.4632, allocations: 0.704 MB / 0.5104 GB, free: 3.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4632, allocations: 1.188 kB / 0.5104 GB, free: 3.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007487/0.4639, allocations: 308.8 kB / 0.5107 GB, free: 3.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.464, allocations: 7.719 kB / 0.5107 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.464, allocations: 2.656 kB / 0.5107 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007713/0.4647, allocations: 105.7 kB / 0.5108 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.465, allocations: 45.89 kB / 0.5108 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002726/0.4653, allocations: 0.5761 MB / 0.5114 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.4655, allocations: 10.08 kB / 0.5114 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.4655, allocations: 7.656 kB / 0.5114 GB, free: 2.543 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.0001391/0.4656, allocations: 158 kB / 0.5116 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.4657, allocations: 33.98 kB / 0.5116 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008433/0.4665, allocations: 357.9 kB / 0.5119 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4666, allocations: 2.141 kB / 0.5119 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4666, allocations: 0.6562 kB / 0.5119 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.4666, allocations: 111.5 kB / 0.512 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/0.4667, allocations: 5.734 kB / 0.512 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.4668, allocations: 12.66 kB / 0.5121 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.4669, allocations: 22.92 kB / 0.5121 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007244/0.4676, allocations: 367.3 kB / 0.5124 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005166/0.4682, allocations: 0.5001 MB / 0.5129 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001429/0.4683, allocations: 91.28 kB / 0.513 GB, free: 1.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.4685, allocations: 214 kB / 0.5132 GB, free: 1.77 MB / 382.1 MB Notification: Performance of Backend: time 3.01e-07/0.4685, allocations: 0 / 0.5132 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006586/0.4692, allocations: 220.4 kB / 0.5134 GB, free: 1.695 MB / 382.1 MB Notification: Performance of SimCode: time 0.0009644/0.4702, allocations: 1.187 MB / 0.5146 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of Templates: time 0.008334/0.4785, allocations: 4.178 MB / 0.5187 GB, free: 0.6328 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)