Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.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.002398/0.002398, allocations: 84.98 kB / 20.23 MB, free: 4.191 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.002821/0.002821, allocations: 165.3 kB / 23.55 MB, free: 0.875 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.613/1.613, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.1161/0.1161, allocations: 18.14 MB / 278.5 MB, free: 11.34 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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 356.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.359e-05/4.62e-05, allocations: 6.25 kB / 356.5 MB, free: 8.184 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.HeatExchanger_1vol_case_001): time 0.05144/0.05149, allocations: 23.73 MB / 380.3 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008608/0.05235, allocations: 223.1 kB / 380.5 MB, free: 420 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.05261, allocations: 11.94 kB / 380.5 MB, free: 408 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.05274, allocations: 31.64 kB / 380.5 MB, free: 376 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003695/0.0531, allocations: 111.1 kB / 380.6 MB, free: 264 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.05328, allocations: 39.94 kB / 380.7 MB, free: 224 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.05374, allocations: 306.8 kB / 381 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/0.05404, allocations: 129.5 kB / 381.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000294/0.05434, allocations: 135.6 kB / 381.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.05451, allocations: 71.73 kB / 381.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.05456, allocations: 16 kB / 381.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.7e-05/0.0546, allocations: 16 kB / 381.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.786e-05/0.05467, allocations: 35.84 kB / 381.4 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.05479, allocations: 75.78 kB / 381.4 MB, free: 15.44 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.05512, allocations: 219.2 kB / 381.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.05513, allocations: 8 kB / 381.7 MB, free: 15.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.05513, allocations: 0 / 381.7 MB, free: 15.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.05514, allocations: 0 / 381.7 MB, free: 15.22 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009175/0.05606, allocations: 0.554 MB / 382.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.0561, allocations: 12.92 kB / 382.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.508e-05/0.05619, allocations: 36.75 kB / 382.3 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.05659, allocations: 223.9 kB / 382.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.05662, allocations: 16.64 kB / 382.5 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.05666, allocations: 16.38 kB / 382.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.05709, allocations: 202.9 kB / 382.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.0571, allocations: 4.188 kB / 382.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.05713, allocations: 8.375 kB / 382.7 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.05714, allocations: 8.359 kB / 382.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003634/0.05751, allocations: 119.7 kB / 382.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.05912, allocations: 0.9949 MB / 383.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.05933, allocations: 83.03 kB / 383.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.05947, allocations: 55.66 kB / 384 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.0595, allocations: 4 kB / 384 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.05954, allocations: 37.33 kB / 384 MB, free: 12.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.05954, allocations: 0 / 384 MB, free: 12.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004948/0.06003, allocations: 173.8 kB / 384.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.06009, allocations: 51.41 kB / 384.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.06038, allocations: 286.8 kB / 384.5 MB, free: 12.15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.0604, allocations: 29.7 kB / 384.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.06058, allocations: 195.1 kB / 384.7 MB, free: 11.92 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/0.06063, allocations: 55.55 kB / 384.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.578e-05/0.06071, allocations: 47.31 kB / 384.8 MB, free: 11.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002915/0.061, allocations: 0.5079 MB / 385.4 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.06111, allocations: 31.98 kB / 385.4 MB, free: 11.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.06126, allocations: 81.69 kB / 385.5 MB, free: 11.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.06162, allocations: 158.6 kB / 385.6 MB, free: 11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.06162, allocations: 4 kB / 385.6 MB, free: 11 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003537/0.06198, allocations: 165.4 kB / 385.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.062, allocations: 8 kB / 385.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.062, allocations: 4.062 kB / 385.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.06201, allocations: 0 / 385.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.06222, allocations: 35.92 kB / 385.8 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.06223, allocations: 3.984 kB / 385.8 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.758e-05/0.06233, allocations: 11.95 kB / 385.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.06234, allocations: 4 kB / 385.9 MB, free: 10.76 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: 3 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002389/0.06258, allocations: 188.6 kB / 386 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.06264, allocations: 27.8 kB / 386.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.951e-05/0.0627, allocations: 25.45 kB / 386.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.0627, allocations: 0 / 386.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.0627, allocations: 0 / 386.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.06271, allocations: 0 / 386.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.06302, allocations: 224.4 kB / 386.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.06302, allocations: 0 / 386.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.06321, allocations: 27.98 kB / 386.3 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.06322, allocations: 4 kB / 386.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.06323, allocations: 7.938 kB / 386.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.06323, allocations: 0 / 386.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.06324, allocations: 0 / 386.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/0.06379, allocations: 347.6 kB / 386.7 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.06383, allocations: 19.89 kB / 386.7 MB, free: 9.852 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.06386, allocations: 3.938 kB / 386.7 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.06397, allocations: 8 kB / 386.7 MB, free: 9.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.06403, allocations: 15.97 kB / 386.7 MB, free: 9.824 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.06404, allocations: 0 / 386.7 MB, free: 9.824 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001733/0.06421, allocations: 199.4 kB / 386.9 MB, free: 9.629 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06421, allocations: 0 / 386.9 MB, free: 9.629 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002831/0.06449, allocations: 51.92 kB / 387 MB, free: 9.578 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001278/0.06462, allocations: 99.25 kB / 387.1 MB, free: 9.473 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003196/0.06494, allocations: 115.6 kB / 387.2 MB, free: 9.355 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.06494, allocations: 0 / 387.2 MB, free: 9.355 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.06508, allocations: 63.59 kB / 387.2 MB, free: 9.289 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.06547, allocations: 52.09 kB / 387.3 MB, free: 9.238 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.06654, allocations: 0.4981 MB / 387.8 MB, free: 8.707 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.06668, allocations: 126.2 kB / 387.9 MB, free: 8.562 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.0668, allocations: 25.95 kB / 387.9 MB, free: 8.535 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/0.06686, allocations: 28.44 kB / 388 MB, free: 8.508 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.06686, allocations: 0 / 388 MB, free: 8.508 MB / 314.7 MB Notification: Performance of Templates: time 0.006745/0.07361, allocations: 2.398 MB / 390.4 MB, free: 6.172 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.727013533934951]