Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Pumps_valve.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.Pumps_valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Pumps_valve") translateModel(AES.Coursework.ThermSys_component_models.Pumps_valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Pumps_valve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 108.1 kB / 16.42 MB, free: 6.418 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.001046/0.001046, allocations: 192.3 kB / 17.35 MB, free: 5.688 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.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09569/0.09569, allocations: 22.34 MB / 313.5 MB, free: 8.867 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.89 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08222/0.08349, allocations: 54.94 MB / 492.7 MB, free: 4.754 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_component_models.Pumps_valve): time 0.3581/0.4417, allocations: 22.36 MB / 0.503 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008902/0.4426, allocations: 389.8 kB / 0.5033 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.4427, allocations: 4.625 kB / 0.5033 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.14e-05/0.4428, allocations: 44.11 kB / 0.5034 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.443, allocations: 108 kB / 0.5035 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.4433, allocations: 111.2 kB / 0.5036 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000294/0.4436, allocations: 409.8 kB / 0.504 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.4439, allocations: 261.5 kB / 0.5042 GB, free: 5.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.444, allocations: 162.8 kB / 0.5044 GB, free: 5.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.4442, allocations: 210.9 kB / 0.5046 GB, free: 5.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.4443, allocations: 40.22 kB / 0.5046 GB, free: 5.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.4444, allocations: 68.48 kB / 0.5047 GB, free: 5.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.558e-05/0.4444, allocations: 87.69 kB / 0.5048 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.4446, allocations: 193.4 kB / 0.505 GB, free: 5.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004198/0.445, allocations: 439.1 kB / 0.5054 GB, free: 5.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.445, allocations: 4.906 kB / 0.5054 GB, free: 5.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.445, allocations: 0 / 0.5054 GB, free: 5.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.4451, allocations: 0 / 0.5054 GB, free: 5.449 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00102/0.4461, allocations: 0.6881 MB / 0.5061 GB, free: 4.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.4461, allocations: 10.88 kB / 0.5061 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.133e-05/0.4462, allocations: 41.39 kB / 0.5061 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.4465, allocations: 309.3 kB / 0.5064 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.4465, allocations: 26.56 kB / 0.5064 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.4466, allocations: 23.19 kB / 0.5064 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005085/0.4471, allocations: 273.6 kB / 0.5067 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4471, allocations: 1.969 kB / 0.5067 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.4471, allocations: 19.34 kB / 0.5067 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4472, allocations: 5.75 kB / 0.5067 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005988/0.4478, allocations: 248.7 kB / 0.507 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.449, allocations: 0.8141 MB / 0.5078 GB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/0.4495, allocations: 242.1 kB / 0.508 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.4499, allocations: 144.5 kB / 0.5081 GB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.4499, allocations: 4.609 kB / 0.5081 GB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.45, allocations: 44.92 kB / 0.5082 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002031/0.4502, allocations: 41.89 kB / 0.5082 GB, free: 4.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.4502, allocations: 2.531 kB / 0.5082 GB, free: 4.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.003607/0.4538, allocations: 0.9745 MB / 0.5092 GB, free: 3.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.578e-05/0.4538, allocations: 55.59 kB / 0.5092 GB, free: 3.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.4541, allocations: 283.7 kB / 0.5095 GB, free: 3.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.4541, allocations: 30.11 kB / 0.5095 GB, free: 3.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.211e-05/0.4542, allocations: 185.8 kB / 0.5097 GB, free: 3.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.4543, allocations: 80.14 kB / 0.5098 GB, free: 3.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-05/0.4544, allocations: 51.36 kB / 0.5098 GB, free: 3.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.246e-05/0.4544, allocations: 340 kB / 0.5102 GB, free: 3.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.4547, allocations: 102.9 kB / 0.5103 GB, free: 3.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.455, allocations: 107.2 kB / 0.5104 GB, free: 3.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005427/0.4555, allocations: 228.7 kB / 0.5106 GB, free: 3.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4555, allocations: 6.594 kB / 0.5106 GB, free: 3.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001788/0.4573, allocations: 0.4934 MB / 0.5111 GB, free: 3.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.4574, allocations: 5.656 kB / 0.5111 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4574, allocations: 0 / 0.5111 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.4586, allocations: 210 kB / 0.5113 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006229/0.4592, allocations: 86.27 kB / 0.5114 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003487/0.4627, allocations: 4.774 MB / 0.516 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.463, allocations: 15.91 kB / 0.516 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.463, allocations: 9.688 kB / 0.516 GB, free: 14.86 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.4632, allocations: 144.7 kB / 0.5162 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.4632, allocations: 29.56 kB / 0.5162 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.4647, allocations: 0.5118 MB / 0.5167 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.4647, allocations: 5.641 kB / 0.5167 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4647, allocations: 0 / 0.5167 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.4648, allocations: 111.8 kB / 0.5168 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.4648, allocations: 7.062 kB / 0.5168 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.4651, allocations: 16.33 kB / 0.5168 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.4651, allocations: 36.39 kB / 0.5169 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001571/0.4667, allocations: 0.5705 MB / 0.5174 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001105/0.4678, allocations: 0.6639 MB / 0.5181 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000303/0.4682, allocations: 140.8 kB / 0.5182 GB, free: 14.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001859/0.4683, allocations: 209.9 kB / 0.5184 GB, free: 14.02 MB / 398.1 MB Notification: Performance of Backend: time 6.51e-07/0.4684, allocations: 0 / 0.5184 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002062/0.4704, allocations: 0.6212 MB / 0.519 GB, free: 13.72 MB / 398.1 MB Notification: Performance of SimCode: time 0.001122/0.4716, allocations: 1.143 MB / 0.5201 GB, free: 12.9 MB / 398.1 MB Notification: Performance of Templates: time 0.009743/0.4813, allocations: 5.188 MB / 0.5252 GB, free: 11.73 MB / 398.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.Pumps_valve.makefile (rm -f AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Pumps_valve.sim & ./AES_AES.Coursework.ThermSys_component_models.Pumps_valve -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe 2>&1)