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.002177/0.002177, allocations: 84.98 kB / 20.23 MB, free: 4.195 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.002467/0.002467, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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 1.534/1.534, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 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.1174/0.1174, allocations: 18.13 MB / 278.5 MB, free: 11.33 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.853e-06/1.853e-06, allocations: 0 / 356.5 MB, free: 8.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.777e-05, allocations: 2.312 kB / 356.5 MB, free: 8.172 MB / 282.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.03589/0.03591, allocations: 23.85 MB / 380.4 MB, free: 500 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.03772, allocations: 0.7014 MB / 381.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.03784, allocations: 0 / 381.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.03802, allocations: 43.58 kB / 381.1 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.03828, allocations: 119 kB / 381.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.0387, allocations: 107.7 kB / 381.4 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005789/0.03927, allocations: 426.9 kB / 381.8 MB, free: 15.1 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000358/0.03963, allocations: 212.3 kB / 382 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003304/0.03996, allocations: 171.5 kB / 382.2 MB, free: 14.72 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.04033, allocations: 195.6 kB / 382.3 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002099/0.04054, allocations: 40 kB / 382.4 MB, free: 14.49 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.182e-05/0.04063, allocations: 40 kB / 382.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.04079, allocations: 127.6 kB / 382.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.04101, allocations: 147.7 kB / 382.7 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005987/0.04161, allocations: 478.6 kB / 383.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.04161, allocations: 3.938 kB / 383.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.04162, allocations: 0 / 383.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.04162, allocations: 0 / 383.2 MB, free: 13.71 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.001515/0.04314, allocations: 0.7216 MB / 383.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.04317, allocations: 8.922 kB / 383.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.04331, allocations: 56.7 kB / 383.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/0.04376, allocations: 247.5 kB / 384.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.04379, allocations: 20.88 kB / 384.2 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.364e-05/0.04386, allocations: 28.36 kB / 384.2 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005894/0.04445, allocations: 256.5 kB / 384.5 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.04446, allocations: 192 / 384.5 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.0445, allocations: 12.12 kB / 384.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.0445, allocations: 4 kB / 384.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005895/0.04509, allocations: 209.9 kB / 384.7 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.04715, allocations: 0.8621 MB / 385.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/0.04764, allocations: 204.9 kB / 385.8 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.04801, allocations: 140.1 kB / 385.9 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.04805, allocations: 4.234 kB / 385.9 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.04809, allocations: 41.62 kB / 386 MB, free: 10.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.432e-06/0.04809, allocations: 0 / 386 MB, free: 10.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.004042/0.05213, allocations: 1.143 MB / 387.1 MB, free: 9.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.05218, allocations: 59.34 kB / 387.2 MB, free: 9.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/0.05255, allocations: 320.3 kB / 387.5 MB, free: 9.188 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.05259, allocations: 29.7 kB / 387.5 MB, free: 9.152 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.05278, allocations: 227.5 kB / 387.7 MB, free: 8.922 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.0529, allocations: 115.1 kB / 387.8 MB, free: 8.809 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.05306, allocations: 75.3 kB / 387.9 MB, free: 8.727 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003086/0.05337, allocations: 0.5274 MB / 388.4 MB, free: 8.188 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.05371, allocations: 107.9 kB / 388.5 MB, free: 8.082 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.05411, allocations: 162.8 kB / 388.7 MB, free: 7.914 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.00122/0.05533, allocations: 375.5 kB / 389.1 MB, free: 7.539 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.05533, allocations: 0 / 389.1 MB, free: 7.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001672/0.057, allocations: 479.5 kB / 389.5 MB, free: 7.043 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.05702, allocations: 4 kB / 389.5 MB, free: 7.039 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.05703, allocations: 4 kB / 389.5 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009949/0.05802, allocations: 186.3 kB / 389.7 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/0.05862, allocations: 91.88 kB / 389.8 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009105/0.06772, allocations: 9.126 MB / 398.9 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/0.06814, allocations: 27.92 kB / 399 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.06818, allocations: 7.984 kB / 399 MB, free: 12.94 MB / 330.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.0002885/0.06847, allocations: 192 kB / 399.2 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.26e-05/0.06856, allocations: 35.86 kB / 399.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.06993, allocations: 466.9 kB / 399.7 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.06994, allocations: 4 kB / 399.7 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.06995, allocations: 8 kB / 399.7 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.06995, allocations: 0 / 399.7 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.07044, allocations: 300.4 kB / 400 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.07044, allocations: 0 / 400 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/0.07101, allocations: 83.88 kB / 400 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006926/0.0717, allocations: 162.4 kB / 400.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.07174, allocations: 11.98 kB / 400.2 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007854/0.0796, allocations: 8.794 MB / 409 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.0796, allocations: 0 / 409 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.08142, allocations: 0.7245 MB / 409.7 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.418e-05/0.08151, allocations: 35.73 kB / 409.8 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.25e-05/0.08156, allocations: 8 kB / 409.8 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.08184, allocations: 15.98 kB / 409.8 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.08198, allocations: 39.94 kB / 409.8 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.08201, allocations: 7.984 kB / 409.8 MB, free: 1.332 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002348/0.08224, allocations: 225.1 kB / 410.1 MB, free: 1.117 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08224, allocations: 0 / 410.1 MB, free: 1.117 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005454/0.08279, allocations: 119.9 kB / 410.2 MB, free: 1 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.0001847/0.08297, allocations: 111.2 kB / 410.3 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.119/0.202, allocations: 1.156 MB / 411.4 MB, free: 61.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.202, allocations: 3.688 kB / 411.4 MB, free: 61.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008766/0.2028, allocations: 0.999 MB / 412.4 MB, free: 60.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.2033, allocations: 69.05 kB / 412.5 MB, free: 60.55 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/0.2064, allocations: 1.093 MB / 413.6 MB, free: 60.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.2066, allocations: 176.8 kB / 413.8 MB, free: 60.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001908/0.2067, allocations: 37.34 kB / 413.8 MB, free: 60.17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.2069, allocations: 28.59 kB / 413.8 MB, free: 60.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.242e-06/0.2069, allocations: 2.656 kB / 413.8 MB, free: 60.16 MB / 330.7 MB Notification: Performance of Templates: time 0.01287/0.2197, allocations: 6.785 MB / 420.6 MB, free: 58.89 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: 4.976566467084922]