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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009233/0.0009233, allocations: 75.7 kB / 20.8 MB, free: 3.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008936/0.0008936, allocations: 166 kB / 24.09 MB, free: 428 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9156/0.9156, allocations: 177.1 MB / 204.4 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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.06138/0.06138, allocations: 18.13 MB / 279 MB, free: 11.48 MB / 266.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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=500,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=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 416.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.891e-05, allocations: 6.219 kB / 416.6 MB, free: 12.32 MB / 330.7 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.02904/0.02907, allocations: 24.13 MB / 440.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.03113, allocations: 0.9178 MB / 441.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.03135, allocations: 11.88 kB / 441.6 MB, free: 13.47 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.03156, allocations: 83.53 kB / 441.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003536/0.03191, allocations: 228.8 kB / 441.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000597/0.03251, allocations: 214.8 kB / 442.1 MB, free: 13.08 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008248/0.03333, allocations: 0.914 MB / 443.1 MB, free: 12.28 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005919/0.03393, allocations: 443.3 kB / 443.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005345/0.03446, allocations: 376 kB / 443.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005001/0.03496, allocations: 404.8 kB / 444.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.03507, allocations: 87.98 kB / 444.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.03517, allocations: 80 kB / 444.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.03539, allocations: 301.8 kB / 444.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002882/0.03568, allocations: 302.7 kB / 445 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008962/0.03657, allocations: 1.007 MB / 446 MB, free: 10.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.03658, allocations: 0 / 446 MB, free: 10.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.03658, allocations: 0 / 446 MB, free: 10.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.0366, allocations: 4 kB / 446 MB, free: 10.05 MB / 346.7 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.001532/0.03813, allocations: 0.9775 MB / 447 MB, free: 9.152 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.03817, allocations: 9.578 kB / 447 MB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.03829, allocations: 80.47 kB / 447.1 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005201/0.03881, allocations: 398.2 kB / 447.5 MB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.195e-05/0.03888, allocations: 80.28 kB / 447.6 MB, free: 8.609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.291e-05/0.03897, allocations: 65.5 kB / 447.6 MB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009897/0.03996, allocations: 0.7403 MB / 448.4 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.872e-05/0.03998, allocations: 5.172 kB / 448.4 MB, free: 7.934 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-05/0.04003, allocations: 28.12 kB / 448.4 MB, free: 7.906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.04004, allocations: 19.94 kB / 448.4 MB, free: 7.887 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008547/0.0409, allocations: 0.6548 MB / 449.1 MB, free: 7.332 MB / 346.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(stream_loss.w) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002868/0.04377, allocations: 1.959 MB / 451 MB, free: 5.633 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009224/0.04469, allocations: 0.5599 MB / 451.6 MB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004595/0.04515, allocations: 382.2 kB / 452 MB, free: 4.691 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.04518, allocations: 4.5 kB / 452 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.0452, allocations: 51.38 kB / 452 MB, free: 4.629 MB / 346.7 MB Notification: Performance of pre-optimization done (n=54): time 2.165e-06/0.04521, allocations: 0 / 452 MB, free: 4.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.00275/0.04795, allocations: 1.979 MB / 454 MB, free: 2.602 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.04798, allocations: 63.89 kB / 454.1 MB, free: 2.527 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.04827, allocations: 361.6 kB / 454.4 MB, free: 2.172 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.04831, allocations: 37.7 kB / 454.4 MB, free: 2.129 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.04845, allocations: 316.6 kB / 454.8 MB, free: 1.812 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.04857, allocations: 214.2 kB / 455 MB, free: 1.602 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.0487, allocations: 118.6 kB / 455.1 MB, free: 1.477 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.0488, allocations: 358.8 kB / 455.4 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.04919, allocations: 348 kB / 455.8 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004059/0.0496, allocations: 400.5 kB / 456.2 MB, free: 376 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00406/0.05366, allocations: 2.083 MB / 458.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.05366, allocations: 7.938 kB / 458.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00117/0.05483, allocations: 0.9812 MB / 459.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.05485, allocations: 8 kB / 459.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.05486, allocations: 0 / 459.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003564/0.05521, allocations: 176.1 kB / 459.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006417/0.05585, allocations: 231.7 kB / 459.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003475/0.05933, allocations: 6.944 MB / 466.6 MB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.05957, allocations: 23.97 kB / 466.6 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.05961, allocations: 27.98 kB / 466.6 MB, free: 5.281 MB / 362.7 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 Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.stream_load.w = 0.0. 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 (80): * Single equations (assignments): 75 * 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.0002597/0.05987, allocations: 225.8 kB / 466.9 MB, free: 5.051 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/0.05993, allocations: 59.61 kB / 466.9 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009581/0.06089, allocations: 0.843 MB / 467.8 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.06089, allocations: 8 kB / 467.8 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.0609, allocations: 0 / 467.8 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.0609, allocations: 3.984 kB / 467.8 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.06274, allocations: 1.564 MB / 469.3 MB, free: 2.465 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.06274, allocations: 0 / 469.3 MB, free: 2.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/0.06331, allocations: 196.1 kB / 469.5 MB, free: 2.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002282/0.06354, allocations: 144.2 kB / 469.7 MB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/0.06357, allocations: 19.98 kB / 469.7 MB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003002/0.06658, allocations: 6.583 MB / 476.3 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.06658, allocations: 0 / 476.3 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.06798, allocations: 1.287 MB / 477.6 MB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.025e-05/0.06803, allocations: 55.7 kB / 477.6 MB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.06808, allocations: 23.94 kB / 477.6 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.06829, allocations: 23.97 kB / 477.7 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.923e-05/0.06837, allocations: 56.34 kB / 477.7 MB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.0684, allocations: 20 kB / 477.7 MB, free: 9.473 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001696/0.06857, allocations: 251.2 kB / 478 MB, free: 9.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06857, allocations: 0 / 478 MB, free: 9.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005967/0.06916, allocations: 204 kB / 478.2 MB, free: 9.031 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 13 (stream_loss.T[1],stream_loss.T[2],stream_loss.T[3],stream_loss.T[4],stream_loss.T[5],stream_load.T[1],stream_load.T[2],stream_load.T[3],stream_load.T[4],stream_load.T[5],heater.Tfo,heater.Ec,heater.xpi) * 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 (54): * Single equations (assignments): 49 * 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 Backend phase and start with SimCode phase: time 0.0001311/0.0693, allocations: 135.1 kB / 478.3 MB, free: 8.891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.07048, allocations: 1.258 MB / 479.6 MB, free: 7.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.07048, allocations: 4 kB / 479.6 MB, free: 7.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006051/0.07108, allocations: 0.876 MB / 480.4 MB, free: 6.621 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.07151, allocations: 115.4 kB / 480.6 MB, free: 6.508 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.07368, allocations: 1.736 MB / 482.3 MB, free: 4.719 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.0739, allocations: 338.7 kB / 482.6 MB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002378/0.07414, allocations: 116.4 kB / 482.7 MB, free: 4.246 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.07428, allocations: 48.48 kB / 482.8 MB, free: 4.199 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.07428, allocations: 0 / 482.8 MB, free: 4.199 MB / 378.7 MB Notification: Performance of Templates: time 0.01147/0.08575, allocations: 10.21 MB / 493 MB, free: 10.15 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop.makefile [Timeout 660] (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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.228277513757348] Failed to read output from testmodel.py, exit status != 0: 0.09227914083749056 0.104924735 0.065671751 Calling exit ...