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.0009651/0.0009651, allocations: 72.83 kB / 20.74 MB, free: 3.754 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.001018/0.001018, allocations: 173 kB / 24.17 MB, free: 336 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.9995/0.9995, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.06753/0.06753, allocations: 18.13 MB / 279.2 MB, free: 11.2 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.423e-06/1.423e-06, allocations: 0 / 304.6 MB, free: 392 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.443e-05, allocations: 4.516 kB / 304.6 MB, free: 388 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.02757/0.0276, allocations: 32.04 MB / 336.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.02897, allocations: 0.709 MB / 337.3 MB, free: 1.367 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.02908, allocations: 7.938 kB / 337.3 MB, free: 1.359 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.02923, allocations: 43.58 kB / 337.4 MB, free: 1.316 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.02942, allocations: 119 kB / 337.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.02975, allocations: 107.7 kB / 337.6 MB, free: 1.094 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.03009, allocations: 426.9 kB / 338 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/0.03032, allocations: 208.3 kB / 338.2 MB, free: 488 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.03054, allocations: 175.5 kB / 338.4 MB, free: 312 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.03075, allocations: 191.6 kB / 338.6 MB, free: 120 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/0.03079, allocations: 40 kB / 338.6 MB, free: 80 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.956e-05/0.03083, allocations: 36 kB / 338.7 MB, free: 44 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005121/0.03134, allocations: 139.6 kB / 338.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.03145, allocations: 147.7 kB / 338.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.03172, allocations: 315 kB / 339.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.03173, allocations: 0 / 339.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.03173, allocations: 0 / 339.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.03173, allocations: 0 / 339.2 MB, free: 15.45 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.0006605/0.03239, allocations: 0.5721 MB / 339.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.03242, allocations: 8.922 kB / 339.8 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.218e-05/0.03249, allocations: 44.91 kB / 339.9 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.03269, allocations: 208.7 kB / 340.1 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.03271, allocations: 20.88 kB / 340.1 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.03275, allocations: 32.33 kB / 340.1 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.033, allocations: 205.2 kB / 340.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.03301, allocations: 192 / 340.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.03303, allocations: 16.12 kB / 340.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.03304, allocations: 4 kB / 340.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.03316, allocations: 83.38 kB / 340.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008245/0.03399, allocations: 0.5828 MB / 341 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.03413, allocations: 98.05 kB / 341.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.539e-05/0.03423, allocations: 73.3 kB / 341.2 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.03425, allocations: 8.234 kB / 341.2 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.03427, allocations: 30.8 kB / 341.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.03427, allocations: 3.938 kB / 341.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001418/0.03569, allocations: 0.7868 MB / 342 MB, free: 12.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.03571, allocations: 55.41 kB / 342.1 MB, free: 12.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.03584, allocations: 221 kB / 342.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.03586, allocations: 33.7 kB / 342.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.016e-05/0.03592, allocations: 149.2 kB / 342.4 MB, free: 12.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/0.03598, allocations: 115 kB / 342.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.328e-05/0.03605, allocations: 57.67 kB / 342.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.561e-05/0.03612, allocations: 342.7 kB / 343 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.845e-05/0.03619, allocations: 40.92 kB / 343 MB, free: 11.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.934e-05/0.03628, allocations: 73.73 kB / 343.1 MB, free: 11.42 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.0003397/0.03662, allocations: 219.6 kB / 343.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.03662, allocations: 0 / 343.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004105/0.03703, allocations: 289.8 kB / 343.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.03705, allocations: 8 kB / 343.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.03705, allocations: 0 / 343.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003638/0.03742, allocations: 158.3 kB / 343.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.0378, allocations: 152.6 kB / 343.9 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002864/0.04066, allocations: 6.193 MB / 350.1 MB, free: 3.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.04077, allocations: 15.98 kB / 350.1 MB, free: 3.824 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.04079, allocations: 12.2 kB / 350.1 MB, free: 3.812 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 9.705e-05/0.04088, allocations: 135.7 kB / 350.2 MB, free: 3.672 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.04092, allocations: 27.92 kB / 350.3 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/0.04129, allocations: 314.6 kB / 350.6 MB, free: 3.312 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.04129, allocations: 4 kB / 350.6 MB, free: 3.309 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.0413, allocations: 4 kB / 350.6 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.0413, allocations: 0 / 350.6 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.0415, allocations: 197.7 kB / 350.8 MB, free: 3.094 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.0415, allocations: 0 / 350.8 MB, free: 3.094 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.04186, allocations: 134.9 kB / 350.9 MB, free: 2.965 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002451/0.0421, allocations: 142.2 kB / 351 MB, free: 2.805 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.04212, allocations: 11.98 kB / 351 MB, free: 2.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/0.04451, allocations: 5.966 MB / 357 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.04451, allocations: 256 / 357 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004578/0.04497, allocations: 451.5 kB / 357.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.04499, allocations: 23.81 kB / 357.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.04502, allocations: 11.98 kB / 357.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.04512, allocations: 15.98 kB / 357.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.0452, allocations: 35.94 kB / 357.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.04521, allocations: 8 kB / 357.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.238e-05/0.04526, allocations: 74.78 kB / 357.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04526, allocations: 0 / 357.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002545/0.04552, allocations: 116 kB / 357.7 MB, free: 11.57 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 9.859e-05/0.04562, allocations: 96.34 kB / 357.8 MB, free: 11.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005012/0.04612, allocations: 0.7357 MB / 358.6 MB, free: 10.67 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.04612, allocations: 4.062 kB / 358.6 MB, free: 10.67 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003205/0.04644, allocations: 0.658 MB / 359.2 MB, free: 9.941 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.04667, allocations: 83.22 kB / 359.3 MB, free: 9.859 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.04854, allocations: 0.9419 MB / 360.2 MB, free: 8.891 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.346e-05/0.0486, allocations: 113.3 kB / 360.4 MB, free: 8.762 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.239e-05/0.04869, allocations: 22.98 kB / 360.4 MB, free: 8.738 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.04886, allocations: 115.3 kB / 360.5 MB, free: 8.625 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.04886, allocations: 0 / 360.5 MB, free: 8.625 MB / 330.7 MB Notification: Performance of Templates: time 0.00824/0.0571, allocations: 7.373 MB / 367.9 MB, free: 1.344 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 -s gbode -gbm=radauIIA3 -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.1111547709442675]