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.001265/0.001265, 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.001046/0.001046, 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.9898/0.9898, allocations: 177.1 MB / 204.6 MB, free: 5.465 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.0717/0.0717, allocations: 18.14 MB / 279.2 MB, free: 11.18 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 1.543e-06/1.543e-06, allocations: 1.312 kB / 304.5 MB, free: 384 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.967e-06/1.051e-05, allocations: 3.344 kB / 304.5 MB, free: 380 kB / 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.02735/0.02736, allocations: 32.3 MB / 336.8 MB, free: 1.863 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.02839, allocations: 439.4 kB / 337.3 MB, free: 1.438 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.02856, allocations: 15.88 kB / 337.3 MB, free: 1.422 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.299e-05/0.02863, allocations: 43.56 kB / 337.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.02894, allocations: 150.8 kB / 337.5 MB, free: 1.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.02911, allocations: 83.75 kB / 337.5 MB, free: 1.148 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.02939, allocations: 449.6 kB / 338 MB, free: 0.707 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.02962, allocations: 219.1 kB / 338.2 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.02981, allocations: 195.4 kB / 338.4 MB, free: 312 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.02997, allocations: 139.6 kB / 338.5 MB, free: 172 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.03, allocations: 28 kB / 338.5 MB, free: 144 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.773e-05/0.03009, allocations: 71.88 kB / 338.6 MB, free: 72 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.265e-05/0.03013, allocations: 67.69 kB / 338.7 MB, free: 4 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.03024, allocations: 123.7 kB / 338.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.03053, allocations: 290.9 kB / 339.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.03053, allocations: 3.984 kB / 339.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.03053, allocations: 0 / 339.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.03054, allocations: 4 kB / 339.1 MB, free: 15.59 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.0005801/0.03112, allocations: 0.5329 MB / 339.6 MB, free: 15.03 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.03115, allocations: 8.922 kB / 339.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/0.03121, allocations: 44.89 kB / 339.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.03144, allocations: 236.6 kB / 339.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.03145, allocations: 20.88 kB / 339.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.03149, allocations: 20.38 kB / 340 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.0317, allocations: 224.7 kB / 340.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.03171, allocations: 4.188 kB / 340.2 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.03172, allocations: 8.375 kB / 340.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.03173, allocations: 8.375 kB / 340.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.03184, allocations: 93.3 kB / 340.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006194/0.03246, allocations: 0.5903 MB / 340.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.03262, allocations: 91.45 kB / 341 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.749e-05/0.0327, allocations: 64.77 kB / 341 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.03272, allocations: 4 kB / 341 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.03273, allocations: 32.59 kB / 341.1 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001404/0.03287, allocations: 55.86 kB / 341.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 1.042e-06/0.03288, allocations: 0 / 341.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005603/0.03344, allocations: 244.6 kB / 341.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.03347, allocations: 55.41 kB / 341.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.0336, allocations: 243 kB / 341.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.03362, allocations: 29.7 kB / 341.7 MB, free: 12.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.03368, allocations: 168.7 kB / 341.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.03372, allocations: 71.41 kB / 341.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.03377, allocations: 45.67 kB / 342 MB, free: 12.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.819e-05/0.03385, allocations: 342.7 kB / 342.3 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.719e-05/0.03388, allocations: 27.98 kB / 342.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.988e-05/0.03393, allocations: 50.55 kB / 342.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.03407, allocations: 131 kB / 342.5 MB, free: 12.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.03408, allocations: 0 / 342.5 MB, free: 12.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003094/0.03439, allocations: 201.8 kB / 342.7 MB, free: 11.81 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.0344, allocations: 4 kB / 342.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.0344, allocations: 4 kB / 342.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004492/0.03485, allocations: 120.7 kB / 342.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.03497, allocations: 47.95 kB / 342.9 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002437/0.03521, allocations: 0.5484 MB / 343.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.997e-05/0.03527, allocations: 4 kB / 343.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.03528, allocations: 7.984 kB / 343.4 MB, free: 11.05 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.0001216/0.0354, allocations: 125.8 kB / 343.5 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.03544, allocations: 31.91 kB / 343.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003593/0.0358, allocations: 235.2 kB / 343.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.0358, allocations: 7.938 kB / 343.8 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.0358, allocations: 0 / 343.8 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.03581, allocations: 0 / 343.8 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005159/0.03633, allocations: 451.3 kB / 344.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.03633, allocations: 4 kB / 344.3 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.03645, allocations: 39.97 kB / 344.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003098/0.03676, allocations: 120.7 kB / 344.4 MB, free: 9.992 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.03677, allocations: 8 kB / 344.4 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002248/0.037, allocations: 0.5524 MB / 345 MB, free: 9.406 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.037, allocations: 0 / 345 MB, free: 9.406 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004983/0.0375, allocations: 370.6 kB / 345.3 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.774e-05/0.03752, allocations: 27.75 kB / 345.4 MB, free: 8.992 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.03755, allocations: 4 kB / 345.4 MB, free: 8.988 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/0.03762, allocations: 4 kB / 345.4 MB, free: 8.984 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.03766, allocations: 23.89 kB / 345.4 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.03767, allocations: 4 kB / 345.4 MB, free: 8.957 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.64e-05/0.03774, allocations: 88.64 kB / 345.5 MB, free: 8.867 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03774, allocations: 3.938 kB / 345.5 MB, free: 8.863 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001862/0.03792, allocations: 83.88 kB / 345.6 MB, free: 8.781 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.0001358/0.03806, allocations: 92.34 kB / 345.7 MB, free: 8.684 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.03828, allocations: 125.8 kB / 345.8 MB, free: 8.559 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.03828, allocations: 0 / 345.8 MB, free: 8.559 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.961e-05/0.03838, allocations: 87.73 kB / 345.9 MB, free: 8.473 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.03861, allocations: 65.2 kB / 345.9 MB, free: 8.406 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009226/0.03953, allocations: 0.6093 MB / 346.5 MB, free: 7.762 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.895e-05/0.03959, allocations: 92.61 kB / 346.6 MB, free: 7.648 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.633e-05/0.03968, allocations: 38.97 kB / 346.7 MB, free: 7.609 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.03983, allocations: 119.3 kB / 346.8 MB, free: 7.492 MB / 314.7 MB Notification: Performance of SimCode: time 8.71e-07/0.03983, allocations: 0 / 346.8 MB, free: 7.492 MB / 314.7 MB Notification: Performance of Templates: time 0.005888/0.04572, allocations: 4.309 MB / 351.1 MB, free: 3.273 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 -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.9991954709403217]