Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.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.001/0.001, allocations: 87.58 kB / 20.45 MB, free: 4.125 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.0009321/0.0009321, allocations: 169.3 kB / 23.82 MB, free: 0.7578 MB / 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.9692/0.9692, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.06392/0.06392, allocations: 18.14 MB / 278.9 MB, free: 11.29 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_component_models.Heater_power_vs_wTin.heater_wT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT") translateModel(AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 357.3 MB, free: 8.828 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.523e-05, allocations: 5.266 kB / 357.3 MB, free: 8.824 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_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/flowOnePort_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.Heater_power_vs_wTin.heater_wT): time 0.02724/0.02727, allocations: 26.16 MB / 383.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.02847, allocations: 0.6858 MB / 384.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.02858, allocations: 7.938 kB / 384.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.02873, allocations: 35.64 kB / 384.2 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.02893, allocations: 123 kB / 384.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.0293, allocations: 103.7 kB / 384.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003469/0.02964, allocations: 430.9 kB / 384.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.02991, allocations: 204.3 kB / 385.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.03015, allocations: 167.6 kB / 385.2 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.03038, allocations: 203.4 kB / 385.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.82e-05/0.03043, allocations: 44 kB / 385.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.804e-05/0.03047, allocations: 40 kB / 385.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.149e-05/0.03057, allocations: 135.6 kB / 385.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.03068, allocations: 143.7 kB / 385.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.03095, allocations: 311 kB / 386.1 MB, free: 12.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.03095, allocations: 4 kB / 386.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.03095, allocations: 0 / 386.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.03096, allocations: 0 / 386.1 MB, free: 12.21 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008552/0.03181, allocations: 0.7024 MB / 386.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.03185, allocations: 16.92 kB / 386.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.349e-05/0.03195, allocations: 56.7 kB / 386.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.0322, allocations: 239.5 kB / 387.1 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.03222, allocations: 16.88 kB / 387.1 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.03227, allocations: 32.33 kB / 387.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.03261, allocations: 225.2 kB / 387.4 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.03262, allocations: 192 / 387.4 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.03265, allocations: 16.12 kB / 387.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.03266, allocations: 8 kB / 387.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.03287, allocations: 122.9 kB / 387.5 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.03393, allocations: 0.7939 MB / 388.3 MB, free: 9.887 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.03414, allocations: 140.7 kB / 388.4 MB, free: 9.738 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000606/0.03475, allocations: 100.1 kB / 388.5 MB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.03477, allocations: 8.234 kB / 388.6 MB, free: 9.629 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.03479, allocations: 37.62 kB / 388.6 MB, free: 9.582 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.03479, allocations: 0 / 388.6 MB, free: 9.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001685/0.03648, allocations: 0.8877 MB / 389.5 MB, free: 8.637 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.03651, allocations: 55.41 kB / 389.5 MB, free: 8.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.03668, allocations: 288.3 kB / 389.8 MB, free: 8.273 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.03671, allocations: 33.7 kB / 389.8 MB, free: 8.234 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.037e-05/0.0368, allocations: 215.5 kB / 390.1 MB, free: 8.016 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.807e-05/0.03687, allocations: 115.1 kB / 390.2 MB, free: 7.902 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.873e-05/0.03695, allocations: 63.34 kB / 390.2 MB, free: 7.832 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.03706, allocations: 0.5117 MB / 390.7 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.03717, allocations: 59.97 kB / 390.8 MB, free: 7.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.0373, allocations: 103.1 kB / 390.9 MB, free: 7.141 MB / 362.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.tube.w = 0.0 (if time < w.startTime then 0.0 else if time < w.startTime + w.duration then w.height * w.duration / w.duration ^ 2.0 else 0.0 = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004444/0.03774, allocations: 247.6 kB / 391.1 MB, free: 6.891 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-06/0.03774, allocations: 0 / 391.1 MB, free: 6.891 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005444/0.03829, allocations: 375.5 kB / 391.5 MB, free: 6.496 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.0383, allocations: 7.938 kB / 391.5 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.03831, allocations: 3.984 kB / 391.5 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00041/0.03872, allocations: 162.3 kB / 391.7 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.03898, allocations: 91.88 kB / 391.8 MB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003736/0.04272, allocations: 8.978 MB / 400.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.04284, allocations: 27.91 kB / 400.8 MB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.04286, allocations: 11.98 kB / 400.8 MB, free: 12.55 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.tube.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (32): * Single equations (assignments): 27 * 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.0001148/0.04298, allocations: 172.5 kB / 401 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.04302, allocations: 35.84 kB / 401 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004788/0.0435, allocations: 379 kB / 401.4 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.04351, allocations: 4 kB / 401.4 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.04351, allocations: 0 / 401.4 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.04351, allocations: 3.984 kB / 401.4 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.04374, allocations: 264.4 kB / 401.6 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.04374, allocations: 8 kB / 401.6 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.044, allocations: 91.88 kB / 401.7 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002774/0.04428, allocations: 138.3 kB / 401.9 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.0443, allocations: 11.98 kB / 401.9 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00341/0.04771, allocations: 8.7 MB / 410.6 MB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.04771, allocations: 3.938 kB / 410.6 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006964/0.0484, allocations: 0.5683 MB / 411.1 MB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.04843, allocations: 19.86 kB / 411.2 MB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.04846, allocations: 11.98 kB / 411.2 MB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.04858, allocations: 15.98 kB / 411.2 MB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.0487, allocations: 35.94 kB / 411.2 MB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.04872, allocations: 7.984 kB / 411.2 MB, free: 1.355 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.04884, allocations: 209.1 kB / 411.4 MB, free: 1.148 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04884, allocations: 4 kB / 411.4 MB, free: 1.145 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000332/0.04917, allocations: 119.9 kB / 411.6 MB, free: 1.027 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * 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 (25): * Single equations (assignments): 20 * 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.0001028/0.04927, allocations: 103.2 kB / 411.7 MB, free: 0.918 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007017/0.04997, allocations: 1.055 MB / 412.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.04998, allocations: 4 kB / 412.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004452/0.05042, allocations: 0.9583 MB / 413.7 MB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.05071, allocations: 72.52 kB / 413.7 MB, free: 14.65 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.05269, allocations: 1.081 MB / 414.8 MB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.147e-05/0.05276, allocations: 108.6 kB / 414.9 MB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.05286, allocations: 38.27 kB / 415 MB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.025e-05/0.05294, allocations: 36.48 kB / 415 MB, free: 13.33 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.05294, allocations: 0 / 415 MB, free: 13.33 MB / 394.7 MB Notification: Performance of Templates: time 0.008158/0.0611, allocations: 7.05 MB / 422.1 MB, free: 6.379 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.sim & ./AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2078329250216484]