Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop.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_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop") translateModel(AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.001101, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001013/0.001013, allocations: 189.4 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09499/0.09499, allocations: 22.34 MB / 313.5 MB, free: 8.844 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 71.81 kB / 437.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09413/0.0954, allocations: 54.95 MB / 492.7 MB, free: 4.711 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_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/flowTwoPorts_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_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop): time 0.3642/0.4597, allocations: 22.85 MB / 0.5035 GB, free: 5.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.4612, allocations: 0.9178 MB / 0.5044 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.4614, allocations: 10.22 kB / 0.5044 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.4616, allocations: 82.38 kB / 0.5044 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.4619, allocations: 219.5 kB / 0.5047 GB, free: 5.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.4623, allocations: 207.1 kB / 0.5049 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006313/0.463, allocations: 0.8808 MB / 0.5057 GB, free: 5.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005147/0.4635, allocations: 0.5668 MB / 0.5063 GB, free: 5.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.4638, allocations: 379.9 kB / 0.5066 GB, free: 5.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004709/0.4643, allocations: 468.3 kB / 0.5071 GB, free: 5.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.4644, allocations: 79.59 kB / 0.5072 GB, free: 5.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.4645, allocations: 81.72 kB / 0.5072 GB, free: 5.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.4647, allocations: 285.1 kB / 0.5075 GB, free: 5.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003259/0.4651, allocations: 414.1 kB / 0.5079 GB, free: 5.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008727/0.4659, allocations: 0.9566 MB / 0.5088 GB, free: 5.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.466, allocations: 4 kB / 0.5088 GB, free: 5.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.466, allocations: 1.438 kB / 0.5088 GB, free: 5.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.466, allocations: 0 / 0.5088 GB, free: 5.004 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001935/0.4679, allocations: 1.064 MB / 0.5099 GB, free: 4.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.468, allocations: 10.22 kB / 0.5099 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.4681, allocations: 81.78 kB / 0.51 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005696/0.4687, allocations: 453.5 kB / 0.5104 GB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.208e-05/0.4688, allocations: 82.52 kB / 0.5105 GB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.4689, allocations: 66.09 kB / 0.5105 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.4701, allocations: 0.7161 MB / 0.5112 GB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.4701, allocations: 1.406 kB / 0.5112 GB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-05/0.4702, allocations: 28.64 kB / 0.5113 GB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.4702, allocations: 14.28 kB / 0.5113 GB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.4713, allocations: 0.6544 MB / 0.5119 GB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004159/0.4755, allocations: 2.771 MB / 0.5146 GB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.4773, allocations: 0.6374 MB / 0.5152 GB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006725/0.478, allocations: 393.9 kB / 0.5156 GB, free: 2.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.361e-05/0.478, allocations: 8.594 kB / 0.5156 GB, free: 2.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.4781, allocations: 38.73 kB / 0.5157 GB, free: 2.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=52): time 2.254e-06/0.4781, allocations: 0 / 0.5157 GB, free: 2.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.002878/0.481, allocations: 1.501 MB / 0.5171 GB, free: 2.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.699e-05/0.481, allocations: 56.47 kB / 0.5172 GB, free: 2.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004491/0.4814, allocations: 424.7 kB / 0.5176 GB, free: 2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/0.4815, allocations: 33.67 kB / 0.5176 GB, free: 1.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.4817, allocations: 310.3 kB / 0.5179 GB, free: 1.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.4818, allocations: 208.8 kB / 0.5181 GB, free: 1.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.482, allocations: 122.3 kB / 0.5182 GB, free: 1.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.449e-05/0.4821, allocations: 368 kB / 0.5186 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005602/0.4827, allocations: 338.4 kB / 0.5189 GB, free: 1.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/0.4833, allocations: 383.1 kB / 0.5193 GB, free: 1.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007804/0.4911, allocations: 2.053 MB / 0.5213 GB, free: 1.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4911, allocations: 0 / 0.5213 GB, free: 1.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001808/0.4929, allocations: 0.9737 MB / 0.5222 GB, free: 0.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.493, allocations: 6.656 kB / 0.5222 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.493, allocations: 1.281 kB / 0.5222 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006367/0.4936, allocations: 171.2 kB / 0.5224 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.4949, allocations: 227.6 kB / 0.5226 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005497/0.5004, allocations: 7.609 MB / 0.5301 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006356/0.501, allocations: 70.25 kB / 0.5301 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.946e-05/0.5011, allocations: 24.36 kB / 0.5301 GB, free: 8.922 MB / 398.1 MB Warning: Assuming fixed start value for the following 3 variables: heater.Ec:VARIABLE(flow=false fixed = true ) type: Real heater.Tfo:VARIABLE(min = 0.0 start = heater.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real heater.xpi:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004251/0.5015, allocations: 228.8 kB / 0.5304 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.5017, allocations: 56.86 kB / 0.5304 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.5033, allocations: 0.838 MB / 0.5312 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5034, allocations: 0 / 0.5312 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.5034, allocations: 5.062 kB / 0.5312 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.5035, allocations: 143.6 kB / 0.5314 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-05/0.5036, allocations: 16.58 kB / 0.5314 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.504, allocations: 19.48 kB / 0.5314 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.5041, allocations: 44.58 kB / 0.5315 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003568/0.5077, allocations: 1.141 MB / 0.5326 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001739/0.5095, allocations: 1.172 MB / 0.5337 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004809/0.51, allocations: 314.2 kB / 0.534 GB, free: 6.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003195/0.5103, allocations: 304 kB / 0.5343 GB, free: 6.289 MB / 398.1 MB Notification: Performance of Backend: time 5.61e-07/0.5103, allocations: 1.094 kB / 0.5343 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.512, allocations: 1.135 MB / 0.5354 GB, free: 5.383 MB / 398.1 MB Notification: Performance of SimCode: time 0.002617/0.5146, allocations: 2.246 MB / 0.5376 GB, free: 3.66 MB / 398.1 MB Notification: Performance of Templates: time 0.01581/0.5305, allocations: 10.76 MB / 0.5481 GB, free: 14.45 MB / 414.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop.makefile (rm -f AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop.sim & ./AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop.pipe 2>&1)