Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.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.0009294/0.0009294, allocations: 72.95 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.0009882/0.0009882, allocations: 173.3 kB / 24.17 MB, free: 332 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 1.012/1.012, allocations: 177.1 MB / 204.6 MB, free: 5.5 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.07305/0.07305, allocations: 18.14 MB / 279.2 MB, free: 11.21 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.HeatExchanger_1vol_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 304.6 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.113e-05/3.333e-05, allocations: 4.562 kB / 304.6 MB, free: 0.6016 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Liquid/HE_LiquidLiquid_1vol.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/Liquid/HE_LiquidLiquid_1vol.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.HeatExchanger_1vol_case_003): time 0.04084/0.04087, allocations: 32.35 MB / 336.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.04214, allocations: 430.3 kB / 337.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.04231, allocations: 19.88 kB / 337.4 MB, free: 1.523 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.534e-05/0.04239, allocations: 43.5 kB / 337.4 MB, free: 1.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.04273, allocations: 158.7 kB / 337.6 MB, free: 1.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.04292, allocations: 75.77 kB / 337.6 MB, free: 1.246 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003672/0.04329, allocations: 453.6 kB / 338.1 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003002/0.04359, allocations: 219.1 kB / 338.3 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002484/0.04384, allocations: 187.5 kB / 338.5 MB, free: 416 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.04402, allocations: 139.7 kB / 338.6 MB, free: 276 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.04406, allocations: 28 kB / 338.6 MB, free: 248 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.04418, allocations: 67.88 kB / 338.7 MB, free: 180 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.514e-05/0.04423, allocations: 79.67 kB / 338.8 MB, free: 100 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.428e-05/0.04432, allocations: 119.7 kB / 338.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.04461, allocations: 282.9 kB / 339.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.04461, allocations: 7.984 kB / 339.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.04461, allocations: 0 / 339.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.04462, allocations: 0 / 339.2 MB, free: 15.7 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0006265/0.04525, allocations: 0.5368 MB / 339.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.04528, allocations: 8.922 kB / 339.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.902e-05/0.04534, allocations: 40.89 kB / 339.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.0456, allocations: 248.5 kB / 340 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.04562, allocations: 20.81 kB / 340 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.04565, allocations: 20.38 kB / 340.1 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.04589, allocations: 228.8 kB / 340.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.0459, allocations: 192 / 340.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.04591, allocations: 12.38 kB / 340.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.04592, allocations: 4.375 kB / 340.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.04605, allocations: 89.31 kB / 340.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006827/0.04673, allocations: 0.5942 MB / 341 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.0469, allocations: 91.45 kB / 341.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.377e-05/0.04698, allocations: 60.81 kB / 341.1 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.04701, allocations: 4 kB / 341.1 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.04703, allocations: 40.59 kB / 341.2 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001604/0.04719, allocations: 63.78 kB / 341.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.0472, allocations: 0 / 341.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005973/0.04779, allocations: 240.3 kB / 341.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.04782, allocations: 55.41 kB / 341.5 MB, free: 13.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.04796, allocations: 247 kB / 341.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.04799, allocations: 25.7 kB / 341.8 MB, free: 12.94 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.04806, allocations: 164.7 kB / 341.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.0481, allocations: 67.41 kB / 342 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/0.04815, allocations: 49.67 kB / 342.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.04824, allocations: 338.8 kB / 342.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.06e-05/0.04828, allocations: 23.98 kB / 342.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.93e-05/0.04833, allocations: 50.55 kB / 342.5 MB, free: 12.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.04848, allocations: 141.3 kB / 342.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.04848, allocations: 0 / 342.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003327/0.04882, allocations: 190.3 kB / 342.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.04883, allocations: 4 kB / 342.8 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.04883, allocations: 0 / 342.8 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004925/0.04933, allocations: 124.7 kB / 342.9 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.04951, allocations: 59.88 kB / 343 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002832/0.0498, allocations: 0.5484 MB / 343.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.294e-05/0.04987, allocations: 4 kB / 343.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.04988, allocations: 8 kB / 343.5 MB, free: 11.13 MB / 314.7 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = \"K\" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = \"K\" fixed = true nominal = 300.0 ) type: Real 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 (21): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.05002, allocations: 121.8 kB / 343.6 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.05006, allocations: 24.02 kB / 343.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004449/0.0505, allocations: 251 kB / 343.9 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.05051, allocations: 4 kB / 343.9 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.05051, allocations: 0 / 343.9 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.05052, allocations: 3.984 kB / 343.9 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005714/0.05109, allocations: 455.2 kB / 344.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.05109, allocations: 0 / 344.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.05123, allocations: 43.97 kB / 344.4 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003322/0.05156, allocations: 120.8 kB / 344.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.05158, allocations: 8.047 kB / 344.5 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002174/0.0518, allocations: 0.5523 MB / 345.1 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.0518, allocations: 0 / 345.1 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.0522, allocations: 362.7 kB / 345.4 MB, free: 9.105 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.093e-05/0.05223, allocations: 31.75 kB / 345.5 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.05225, allocations: 4 kB / 345.5 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.389e-05/0.05233, allocations: 4 kB / 345.5 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.05238, allocations: 31.83 kB / 345.5 MB, free: 9.035 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.05238, allocations: 4 kB / 345.5 MB, free: 9.031 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.269e-05/0.05245, allocations: 88.62 kB / 345.6 MB, free: 8.941 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05245, allocations: 0 / 345.6 MB, free: 8.941 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002071/0.05265, allocations: 87.88 kB / 345.7 MB, free: 8.855 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (21): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001214/0.05278, allocations: 80.42 kB / 345.8 MB, free: 8.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002598/0.05304, allocations: 121.8 kB / 345.9 MB, free: 8.648 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.05304, allocations: 4 kB / 345.9 MB, free: 8.645 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.05315, allocations: 91.67 kB / 346 MB, free: 8.555 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.05341, allocations: 69.14 kB / 346 MB, free: 8.484 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.0545, allocations: 0.617 MB / 346.7 MB, free: 7.832 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.705e-05/0.05456, allocations: 92.62 kB / 346.8 MB, free: 7.719 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.05467, allocations: 42.95 kB / 346.8 MB, free: 7.676 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.05485, allocations: 123.2 kB / 346.9 MB, free: 7.555 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.05485, allocations: 0 / 346.9 MB, free: 7.555 MB / 314.7 MB Notification: Performance of Templates: time 0.006666/0.06151, allocations: 4.361 MB / 351.3 MB, free: 3.285 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9721756242215633]