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.0008364/0.0008364, allocations: 72.83 kB / 20.74 MB, free: 3.75 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.0008734/0.0008734, allocations: 173 kB / 24.17 MB, free: 328 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.9891/0.9891, allocations: 177.1 MB / 204.6 MB, free: 4.992 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.06876/0.06876, allocations: 18.13 MB / 279.2 MB, free: 11.04 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.994e-06/1.994e-06, allocations: 0 / 304.5 MB, free: 260 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.541e-05, allocations: 3.688 kB / 304.5 MB, free: 256 kB / 266.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.03436/0.03439, allocations: 31.99 MB / 336.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.03582, allocations: 0.7088 MB / 337.2 MB, free: 1.324 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.03595, allocations: 4 kB / 337.2 MB, free: 1.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.0361, allocations: 35.64 kB / 337.3 MB, free: 1.285 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.0363, allocations: 131 kB / 337.4 MB, free: 1.156 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.03666, allocations: 99.73 kB / 337.5 MB, free: 1.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.03703, allocations: 430.8 kB / 337.9 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.03728, allocations: 212.3 kB / 338.1 MB, free: 440 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.03754, allocations: 167.6 kB / 338.3 MB, free: 272 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.03777, allocations: 199.5 kB / 338.5 MB, free: 72 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.488e-05/0.03781, allocations: 36 kB / 338.5 MB, free: 36 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.719e-05/0.03787, allocations: 44.05 kB / 338.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.892e-05/0.03796, allocations: 135.6 kB / 338.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.03806, allocations: 143.7 kB / 338.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.03833, allocations: 315 kB / 339.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.03833, allocations: 0 / 339.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.03833, allocations: 0 / 339.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.03834, allocations: 0 / 339.2 MB, free: 15.41 MB / 314.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.0007928/0.03913, allocations: 0.5722 MB / 339.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.03916, allocations: 12.03 kB / 339.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.283e-05/0.03922, allocations: 40.91 kB / 339.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.03944, allocations: 204.8 kB / 340 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.03946, allocations: 16.88 kB / 340 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.0395, allocations: 36.31 kB / 340 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.03976, allocations: 205.2 kB / 340.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.03977, allocations: 192 / 340.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.0398, allocations: 12.12 kB / 340.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.0398, allocations: 11.94 kB / 340.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.03993, allocations: 87.38 kB / 340.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008614/0.04079, allocations: 0.5789 MB / 340.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.04094, allocations: 98.05 kB / 341 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.04104, allocations: 73.3 kB / 341.1 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.04106, allocations: 4.234 kB / 341.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.04109, allocations: 42.73 kB / 341.1 MB, free: 13.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.292e-06/0.04109, allocations: 4 kB / 341.1 MB, free: 13.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001442/0.04253, allocations: 0.7868 MB / 341.9 MB, free: 12.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.04256, allocations: 55.41 kB / 342 MB, free: 12.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.04268, allocations: 217 kB / 342.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.0427, allocations: 33.7 kB / 342.2 MB, free: 12.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.04276, allocations: 145.2 kB / 342.4 MB, free: 12.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.84e-05/0.04282, allocations: 119 kB / 342.5 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.359e-05/0.04289, allocations: 57.67 kB / 342.5 MB, free: 11.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.849e-05/0.04297, allocations: 338.7 kB / 342.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-05/0.04305, allocations: 40.91 kB / 342.9 MB, free: 11.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.379e-05/0.04313, allocations: 77.16 kB / 343 MB, free: 11.37 MB / 314.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.0003484/0.04348, allocations: 204.8 kB / 343.2 MB, free: 11.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.04348, allocations: 4 kB / 343.2 MB, free: 11.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004313/0.04391, allocations: 293.9 kB / 343.5 MB, free: 10.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.04392, allocations: 4 kB / 343.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.04393, allocations: 4 kB / 343.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003871/0.04432, allocations: 154.3 kB / 343.6 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.04455, allocations: 83.89 kB / 343.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/0.0473, allocations: 6.209 MB / 349.9 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.04741, allocations: 15.98 kB / 349.9 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.04743, allocations: 11.94 kB / 349.9 MB, free: 3.824 MB / 314.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.000108/0.04753, allocations: 124.8 kB / 350.1 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.04757, allocations: 27.97 kB / 350.1 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003857/0.04796, allocations: 302.7 kB / 350.4 MB, free: 3.344 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-06/0.04796, allocations: 8 kB / 350.4 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.04797, allocations: 4 kB / 350.4 MB, free: 3.332 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.04797, allocations: 7.922 kB / 350.4 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.04818, allocations: 193.8 kB / 350.6 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.04818, allocations: 3.938 kB / 350.6 MB, free: 3.113 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.04841, allocations: 75.89 kB / 350.7 MB, free: 3.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002587/0.04867, allocations: 150.3 kB / 350.8 MB, free: 2.871 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.04869, allocations: 4 kB / 350.8 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002265/0.05095, allocations: 5.977 MB / 356.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.05096, allocations: 256 / 356.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/0.05143, allocations: 447.6 kB / 357.2 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.05146, allocations: 23.8 kB / 357.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.05148, allocations: 8 kB / 357.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.05159, allocations: 23.92 kB / 357.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/0.05167, allocations: 31.94 kB / 357.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.05169, allocations: 4 kB / 357.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.745e-05/0.05174, allocations: 78.78 kB / 357.4 MB, free: 11.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-08/0.05174, allocations: 0 / 357.4 MB, free: 11.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000283/0.05203, allocations: 112 kB / 357.5 MB, free: 11.64 MB / 330.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.0001204/0.05215, allocations: 100.3 kB / 357.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005432/0.05269, allocations: 0.7318 MB / 358.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.0527, allocations: 8.062 kB / 358.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003603/0.05306, allocations: 0.6658 MB / 359 MB, free: 10 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.05329, allocations: 70.45 kB / 359.1 MB, free: 9.934 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.05493, allocations: 0.9319 MB / 360 MB, free: 8.973 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.62e-05/0.05501, allocations: 112.6 kB / 360.1 MB, free: 8.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.32e-05/0.0551, allocations: 26.3 kB / 360.2 MB, free: 8.812 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.05527, allocations: 111.3 kB / 360.3 MB, free: 8.703 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.05527, allocations: 0 / 360.3 MB, free: 8.703 MB / 330.7 MB Notification: Performance of Templates: time 0.008278/0.06355, allocations: 7.06 MB / 367.3 MB, free: 1.73 MB / 330.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.188077372033149]