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.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.001864/0.001864, allocations: 109.4 kB / 17.15 MB, free: 6.02 MB / 14.72 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.002584/0.002584, allocations: 203.2 kB / 20.11 MB, free: 3.066 MB / 14.72 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 1.68/1.68, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.1071/0.1071, allocations: 24.03 MB / 333.6 MB, free: 1.555 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.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_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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00256/0.00256, allocations: 72.97 kB / 468.9 MB, free: 31.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1646, allocations: 59.54 MB / 0.5161 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002): time 0.006187/0.1708, allocations: 3.365 MB / 0.5193 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.1735, allocations: 0.9781 MB / 0.5203 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006086/0.1741, allocations: 7.938 kB / 0.5203 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005518/0.1747, allocations: 111.1 kB / 0.5204 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008998/0.1756, allocations: 266.5 kB / 0.5207 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007573/0.1763, allocations: 187.7 kB / 0.5208 GB, free: 6.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.1778, allocations: 1.232 MB / 0.522 GB, free: 5.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.1789, allocations: 0.7497 MB / 0.5228 GB, free: 4.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007874/0.1797, allocations: 490.8 kB / 0.5232 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008506/0.1806, allocations: 0.5803 MB / 0.5238 GB, free: 3.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.1808, allocations: 132 kB / 0.5239 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.181, allocations: 132 kB / 0.5241 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004513/0.1814, allocations: 407 kB / 0.5245 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006536/0.1821, allocations: 0.537 MB / 0.525 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.1838, allocations: 1.464 MB / 0.5264 GB, free: 1.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1838, allocations: 0 / 0.5264 GB, free: 1.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1838, allocations: 0 / 0.5264 GB, free: 1.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.1838, allocations: 4 kB / 0.5264 GB, free: 1.121 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.002932/0.1867, allocations: 1.302 MB / 0.5277 GB, free: 15.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.1868, allocations: 12.62 kB / 0.5277 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.187, allocations: 92.36 kB / 0.5278 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009485/0.1879, allocations: 0.5701 MB / 0.5283 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.702e-05/0.188, allocations: 84.2 kB / 0.5284 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.1882, allocations: 80.33 kB / 0.5285 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.1899, allocations: 0.9328 MB / 0.5294 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.1899, allocations: 0 / 0.5294 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.643e-05/0.19, allocations: 28 kB / 0.5294 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.19, allocations: 20 kB / 0.5295 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.1914, allocations: 0.8082 MB / 0.5302 GB, free: 13.1 MB / 398.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.006531/0.198, allocations: 3.992 MB / 0.5341 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002734/0.2007, allocations: 1.025 MB / 0.5351 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006635/0.2014, allocations: 402.4 kB / 0.5355 GB, free: 7.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.439e-05/0.2014, allocations: 16.48 kB / 0.5355 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.062e-05/0.2015, allocations: 43.12 kB / 0.5356 GB, free: 7.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=58): time 3.267e-06/0.2015, allocations: 0 / 0.5356 GB, free: 7.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=58): time 0.004737/0.2062, allocations: 2.362 MB / 0.5379 GB, free: 4.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.2063, allocations: 59.97 kB / 0.5379 GB, free: 4.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005951/0.2069, allocations: 413.6 kB / 0.5383 GB, free: 4.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.192e-05/0.2069, allocations: 37.7 kB / 0.5384 GB, free: 4.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.2072, allocations: 328.7 kB / 0.5387 GB, free: 3.887 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.2075, allocations: 246 kB / 0.5389 GB, free: 3.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.2077, allocations: 122.7 kB / 0.539 GB, free: 3.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.2079, allocations: 374.8 kB / 0.5394 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007314/0.2087, allocations: 452.6 kB / 0.5398 GB, free: 2.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007328/0.2094, allocations: 0.4926 MB / 0.5403 GB, free: 2.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007351/0.2167, allocations: 2.371 MB / 0.5426 GB, free: 15.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.2167, allocations: 0 / 0.5426 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002719/0.2195, allocations: 1.329 MB / 0.5439 GB, free: 14.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.2195, allocations: 11.94 kB / 0.5439 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2195, allocations: 0 / 0.5439 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.2207, allocations: 344.3 kB / 0.5443 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008988/0.2216, allocations: 191.8 kB / 0.5445 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01453/0.2361, allocations: 15.15 MB / 0.5592 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008797/0.237, allocations: 71.69 kB / 0.5593 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/0.2372, allocations: 24 kB / 0.5593 GB, free: 13.18 MB / 430.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.000844/0.238, allocations: 285.5 kB / 0.5596 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002887/0.2383, allocations: 59.62 kB / 0.5597 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/0.2409, allocations: 1.131 MB / 0.5608 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.2409, allocations: 7.938 kB / 0.5608 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.241, allocations: 4 kB / 0.5608 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.241, allocations: 7.984 kB / 0.5608 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004336/0.2453, allocations: 2.149 MB / 0.5629 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.2453, allocations: 0 / 0.5629 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.2464, allocations: 164 kB / 0.563 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009578/0.2473, allocations: 312.3 kB / 0.5633 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.2475, allocations: 35.98 kB / 0.5634 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.014/0.2615, allocations: 14.71 MB / 0.5777 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.2615, allocations: 3.938 kB / 0.5777 GB, free: 8.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003829/0.2653, allocations: 1.608 MB / 0.5793 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004382/0.2657, allocations: 144.6 kB / 0.5795 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002547/0.266, allocations: 36.11 kB / 0.5795 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006738/0.2667, allocations: 27.97 kB / 0.5795 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002865/0.2669, allocations: 52.48 kB / 0.5796 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.2671, allocations: 16 kB / 0.5796 GB, free: 6.797 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005617/0.2676, allocations: 299.1 kB / 0.5799 GB, free: 6.504 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2676, allocations: 0 / 0.5799 GB, free: 6.504 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001883/0.2695, allocations: 299.5 kB / 0.5802 GB, free: 6.211 MB / 446.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.0004039/0.2699, allocations: 149.4 kB / 0.5803 GB, free: 6.059 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003712/0.2736, allocations: 2.008 MB / 0.5823 GB, free: 3.922 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.2736, allocations: 0 / 0.5823 GB, free: 3.922 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002208/0.2758, allocations: 1.545 MB / 0.5838 GB, free: 2.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000878/0.2767, allocations: 161.4 kB / 0.5839 GB, free: 2.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3151/0.5918, allocations: 3.066 MB / 0.5869 GB, free: 66.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007218/0.5925, allocations: 1.015 MB / 0.5879 GB, free: 65.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006713/0.5932, allocations: 167.5 kB / 0.5881 GB, free: 65.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.5934, allocations: 47.19 kB / 0.5881 GB, free: 65.36 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.5934, allocations: 0 / 0.5881 GB, free: 65.36 MB / 446.1 MB Notification: Performance of Templates: time 0.02717/0.6205, allocations: 13.29 MB / 0.6011 GB, free: 62.82 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: 6.165319038555026] Failed to read output from testmodel.py, exit status != 0: 0.6317916736006737 0.6415913369999999 0.45541475499999995 Calling exit ...