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.001454/0.001454, allocations: 84.44 kB / 19.76 MB, free: 2.023 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.001446/0.001446, allocations: 157.4 kB / 23.01 MB, free: 4.961 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.461/1.461, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.1022/0.1022, allocations: 17.8 MB / 277.6 MB, free: 15.34 MB / 270.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.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: 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.00328/0.00328, allocations: 63.91 kB / 414.7 MB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1265, allocations: 59.56 MB / 474.2 MB, free: 8.801 MB / 446.1 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.5291/0.6556, allocations: 23.18 MB / 497.4 MB, free: 41.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.6571, allocations: 0.671 MB / 498.1 MB, free: 41.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.6572, allocations: 10.72 kB / 498.1 MB, free: 41.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.6574, allocations: 39.59 kB / 498.1 MB, free: 41.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.6576, allocations: 109.8 kB / 498.2 MB, free: 41.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.658, allocations: 99.16 kB / 498.3 MB, free: 41.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003525/0.6583, allocations: 419.1 kB / 498.7 MB, free: 41.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002562/0.6586, allocations: 192.2 kB / 498.9 MB, free: 41.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.6588, allocations: 180.5 kB / 499.1 MB, free: 41.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.6591, allocations: 222.8 kB / 499.3 MB, free: 41.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.624e-05/0.6591, allocations: 37.78 kB / 499.4 MB, free: 41.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.216e-05/0.6592, allocations: 38.53 kB / 499.4 MB, free: 41.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.683e-05/0.6593, allocations: 123.2 kB / 499.5 MB, free: 41.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.6595, allocations: 171 kB / 499.7 MB, free: 41.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.6598, allocations: 452.8 kB / 0.4884 GB, free: 41.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6598, allocations: 0 / 0.4884 GB, free: 41.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.6598, allocations: 0 / 0.4884 GB, free: 41.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.6598, allocations: 0 / 0.4884 GB, free: 41.23 MB / 446.1 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.001195/0.661, allocations: 0.6225 MB / 0.489 GB, free: 40.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.661, allocations: 10.45 kB / 0.489 GB, free: 40.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.76e-05/0.6611, allocations: 40.45 kB / 0.4891 GB, free: 40.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.6615, allocations: 253.1 kB / 0.4893 GB, free: 40.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.6615, allocations: 22.28 kB / 0.4893 GB, free: 40.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.856e-05/0.6615, allocations: 31.02 kB / 0.4893 GB, free: 40.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005983/0.6621, allocations: 342.4 kB / 0.4897 GB, free: 40.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.6622, allocations: 4 kB / 0.4897 GB, free: 40.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.6622, allocations: 9.469 kB / 0.4897 GB, free: 40.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.6622, allocations: 10.2 kB / 0.4897 GB, free: 40.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006528/0.6629, allocations: 329.1 kB / 0.49 GB, free: 40.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.6645, allocations: 0.8308 MB / 0.4908 GB, free: 40.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/0.665, allocations: 274.6 kB / 0.4911 GB, free: 39.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004054/0.6654, allocations: 220 kB / 0.4913 GB, free: 39.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.6654, allocations: 3.203 kB / 0.4913 GB, free: 39.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.6655, allocations: 37.72 kB / 0.4913 GB, free: 39.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.863e-06/0.6655, allocations: 0 / 0.4913 GB, free: 39.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.004297/0.6698, allocations: 1.513 MB / 0.4928 GB, free: 39.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.6698, allocations: 54.66 kB / 0.4929 GB, free: 39.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.67, allocations: 246.8 kB / 0.4931 GB, free: 38.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.67, allocations: 36.7 kB / 0.4931 GB, free: 38.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.842e-05/0.6701, allocations: 167.9 kB / 0.4933 GB, free: 38.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.357e-05/0.6702, allocations: 111.6 kB / 0.4934 GB, free: 38.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.6703, allocations: 62.2 kB / 0.4935 GB, free: 38.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.203e-05/0.6703, allocations: 338.7 kB / 0.4938 GB, free: 38.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004167/0.6708, allocations: 188.3 kB / 0.494 GB, free: 38.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/0.6712, allocations: 227.2 kB / 0.4942 GB, free: 38.21 MB / 446.1 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.001623/0.6728, allocations: 0.575 MB / 0.4947 GB, free: 38.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6728, allocations: 0 / 0.4947 GB, free: 38.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001476/0.6743, allocations: 0.6286 MB / 0.4954 GB, free: 37.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.6743, allocations: 6.25 kB / 0.4954 GB, free: 37.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.6743, allocations: 0 / 0.4954 GB, free: 37.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000693/0.675, allocations: 171.1 kB / 0.4955 GB, free: 37.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/0.6756, allocations: 102.4 kB / 0.4956 GB, free: 37.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004039/0.6796, allocations: 6.955 MB / 0.5024 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004377/0.6801, allocations: 27.98 kB / 0.5024 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.6801, allocations: 14.72 kB / 0.5025 GB, free: 31.09 MB / 446.1 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.0002477/0.6803, allocations: 156.9 kB / 0.5026 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/0.6804, allocations: 24.55 kB / 0.5026 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.6822, allocations: 0.6104 MB / 0.5032 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.6822, allocations: 3.156 kB / 0.5032 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.6822, allocations: 6.094 kB / 0.5032 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.6822, allocations: 0 / 0.5032 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.6826, allocations: 316.7 kB / 0.5035 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.6826, allocations: 0 / 0.5035 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/0.6832, allocations: 97.42 kB / 0.5036 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005055/0.6837, allocations: 143 kB / 0.5038 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.6837, allocations: 13.86 kB / 0.5038 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003498/0.6872, allocations: 6.577 MB / 0.5102 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.6872, allocations: 0 / 0.5102 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.6891, allocations: 0.9013 MB / 0.5111 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.842e-05/0.6892, allocations: 25.66 kB / 0.5111 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.6893, allocations: 11.19 kB / 0.5111 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003407/0.6896, allocations: 32.09 kB / 0.5111 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.6897, allocations: 39.27 kB / 0.5112 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.6898, allocations: 5.938 kB / 0.5112 GB, free: 23.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.6899, allocations: 180.7 kB / 0.5114 GB, free: 23.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6899, allocations: 1.156 kB / 0.5114 GB, free: 23.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005553/0.6905, allocations: 113.8 kB / 0.5115 GB, free: 23.41 MB / 446.1 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.0001306/0.6906, allocations: 124.1 kB / 0.5116 GB, free: 23.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.6922, allocations: 0.9963 MB / 0.5126 GB, free: 22.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6922, allocations: 0 / 0.5126 GB, free: 22.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009265/0.6931, allocations: 0.7913 MB / 0.5133 GB, free: 21.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.6936, allocations: 61.95 kB / 0.5134 GB, free: 21.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003419/0.697, allocations: 1.276 MB / 0.5146 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.6972, allocations: 190.6 kB / 0.5148 GB, free: 21.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002238/0.6974, allocations: 47.09 kB / 0.5149 GB, free: 21.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.6975, allocations: 24.59 kB / 0.5149 GB, free: 21.18 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6975, allocations: 0 / 0.5149 GB, free: 21.18 MB / 446.1 MB Notification: Performance of Templates: time 0.01185/0.7093, allocations: 6.667 MB / 0.5214 GB, free: 20.45 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2511812109733] Failed to read output from testmodel.py, exit status != 0: 0.7209678570507094 0.729948889 0.06747515200000001 Calling exit ...