Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 103.4 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 187.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1003/0.1003, allocations: 22.69 MB / 325.4 MB, free: 3.578 MB / 254.1 MB " [Timeout remaining time 180] 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.Controlled_heater_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 67.89 kB / 457.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1485, allocations: 58.01 MB / 0.5036 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002): time 0.005933/0.1544, allocations: 3.353 MB / 0.5069 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002641/0.1571, allocations: 0.9508 MB / 0.5078 GB, free: 2.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004313/0.1575, allocations: 11.88 kB / 0.5078 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.1578, allocations: 103.1 kB / 0.5079 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005612/0.1584, allocations: 262.4 kB / 0.5082 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006672/0.1591, allocations: 191.7 kB / 0.5083 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001389/0.1605, allocations: 1.233 MB / 0.5095 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.1616, allocations: 0.7341 MB / 0.5103 GB, free: 288 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2821/0.4437, allocations: 490.7 kB / 0.5107 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.4448, allocations: 0.5799 MB / 0.5113 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000253/0.445, allocations: 132.9 kB / 0.5114 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.4452, allocations: 133.4 kB / 0.5115 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003492/0.4456, allocations: 401.7 kB / 0.5119 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005289/0.4461, allocations: 0.5337 MB / 0.5125 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.4475, allocations: 1.466 MB / 0.5139 GB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4475, allocations: 1.25 kB / 0.5139 GB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4475, allocations: 3.812 kB / 0.5139 GB, free: 11.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.047e-05/0.4475, allocations: 0 / 0.5139 GB, free: 11.16 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: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.002826/0.4503, allocations: 1.302 MB / 0.5152 GB, free: 10.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.4504, allocations: 10.94 kB / 0.5152 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.4506, allocations: 97.03 kB / 0.5153 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008795/0.4515, allocations: 0.5639 MB / 0.5158 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.4516, allocations: 86.52 kB / 0.5159 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.4517, allocations: 80.36 kB / 0.516 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.4535, allocations: 0.9331 MB / 0.5169 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.4535, allocations: 0 / 0.5169 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-05/0.4536, allocations: 30.47 kB / 0.5169 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.4536, allocations: 17.06 kB / 0.5169 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.4552, allocations: 0.8095 MB / 0.5177 GB, free: 10.05 MB / 382.1 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(pipeline.fluidStream.w) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006464/0.4616, allocations: 3.993 MB / 0.5216 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/0.4645, allocations: 1.01 MB / 0.5226 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006027/0.4651, allocations: 412.3 kB / 0.523 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.292e-05/0.4651, allocations: 7.031 kB / 0.523 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.4652, allocations: 38.66 kB / 0.523 GB, free: 6.996 MB / 382.1 MB Notification: Performance of pre-optimization done (n=58): time 2.214e-06/0.4652, allocations: 0 / 0.523 GB, free: 6.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.004125/0.4693, allocations: 2.363 MB / 0.5253 GB, free: 5.406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.4693, allocations: 65.81 kB / 0.5254 GB, free: 5.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006209/0.4699, allocations: 421.5 kB / 0.5258 GB, free: 5.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.833e-05/0.47, allocations: 35.7 kB / 0.5258 GB, free: 5.086 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.4702, allocations: 331.7 kB / 0.5262 GB, free: 4.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/0.4704, allocations: 239.9 kB / 0.5264 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/0.4707, allocations: 130.2 kB / 0.5265 GB, free: 4.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.4708, allocations: 368.4 kB / 0.5269 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007552/0.4716, allocations: 454.3 kB / 0.5273 GB, free: 4.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000706/0.4723, allocations: 0.4987 MB / 0.5278 GB, free: 3.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00735/0.4796, allocations: 2.362 MB / 0.5301 GB, free: 3.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.4796, allocations: 1.188 kB / 0.5301 GB, free: 3.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002517/0.4821, allocations: 1.343 MB / 0.5314 GB, free: 2.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.4822, allocations: 13.62 kB / 0.5314 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.4822, allocations: 2.781 kB / 0.5314 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.4834, allocations: 339.5 kB / 0.5317 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009211/0.4843, allocations: 185.9 kB / 0.5319 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.4961, allocations: 15.16 MB / 0.5467 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008207/0.4969, allocations: 66.48 kB / 0.5468 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.527e-05/0.497, allocations: 23.98 kB / 0.5468 GB, free: 3.52 MB / 398.1 MB Warning: Assuming fixed start value for the following 2 variables: CH.Ec:VARIABLE(flow=false fixed = true ) type: Real CH.Tfo:VARIABLE(min = 0.0 start = CH.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"outlet fluid temp\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (79): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0005983/0.4976, allocations: 285.2 kB / 0.5471 GB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.4977, allocations: 52.42 kB / 0.5471 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.5, allocations: 1.138 MB / 0.5482 GB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.5, allocations: 5.156 kB / 0.5483 GB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.5, allocations: 6.781 kB / 0.5483 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.006e-06/0.5, allocations: 5.047 kB / 0.5483 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003783/0.5038, allocations: 2.13 MB / 0.5503 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.5038, allocations: 4.969 kB / 0.5504 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.5048, allocations: 169.4 kB / 0.5505 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000914/0.5057, allocations: 303.2 kB / 0.5508 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-05/0.5058, allocations: 34.53 kB / 0.5508 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/0.5179, allocations: 14.71 MB / 0.5652 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.5179, allocations: 5.312 kB / 0.5652 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003205/0.5211, allocations: 1.601 MB / 0.5668 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.5214, allocations: 148.1 kB / 0.5669 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.5215, allocations: 30.75 kB / 0.5669 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004922/0.522, allocations: 34.45 kB / 0.567 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.5222, allocations: 55.62 kB / 0.567 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.5222, allocations: 19.14 kB / 0.567 GB, free: 0.957 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004166/0.5226, allocations: 299.2 kB / 0.5673 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5226, allocations: 0 / 0.5673 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001407/0.524, allocations: 298.9 kB / 0.5676 GB, free: 0.7148 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 22 (CH.Tfo,CH.Ec,pipeline.fluidStream.T[1],pipeline.fluidStream.T[2],pipeline.fluidStream.T[3],pipeline.fluidStream.T[4],pipeline.fluidStream.T[5],pipeline.wall.wall.T[1,1],pipeline.wall.wall.T[1,2],pipeline.wall.wall.T[1,3],pipeline.wall.wall.T[2,1],pipeline.wall.wall.T[2,2],pipeline.wall.wall.T[2,3],pipeline.wall.wall.T[3,1],pipeline.wall.wall.T[3,2],pipeline.wall.wall.T[3,3],pipeline.wall.wall.T[4,1],pipeline.wall.wall.T[4,2],pipeline.wall.wall.T[4,3],pipeline.wall.wall.T[5,1],pipeline.wall.wall.T[5,2],pipeline.wall.wall.T[5,3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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 Backend phase and start with SimCode phase: time 0.0002279/0.5243, allocations: 143.5 kB / 0.5678 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002973/0.5272, allocations: 2.011 MB / 0.5697 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.5272, allocations: 1.219 kB / 0.5697 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001903/0.5291, allocations: 1.546 MB / 0.5712 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008578/0.53, allocations: 169.7 kB / 0.5714 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005774/0.5358, allocations: 3.072 MB / 0.5744 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008157/0.5366, allocations: 1.015 MB / 0.5754 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006169/0.5372, allocations: 168.3 kB / 0.5755 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.5374, allocations: 41.75 kB / 0.5756 GB, free: 10.57 MB / 430.1 MB Notification: Performance of SimCode: time 1.924e-06/0.5374, allocations: 0 / 0.5756 GB, free: 10.57 MB / 430.1 MB Notification: Performance of Templates: time 0.02535/0.5628, allocations: 13.3 MB / 0.5886 GB, free: 13.87 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.636026225052774] Failed to read output from testmodel.py, exit status != 0: 0.5724799372255802 0.5842788130000001 0.13387406500000001 Calling exit ...