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.0009405/0.0009405, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001456/0.002396, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007456/0.0007456, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001748, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9916/0.9916, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07875/1.07, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.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.06309/0.06309, allocations: 18.13 MB / 262.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01096/0.07405, allocations: 6.778 MB / 268.9 MB, free: 6.355 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 1.743e-06/1.743e-06, allocations: 0 / 270.3 MB, free: 4.902 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.482e-05, allocations: 6.25 kB / 270.3 MB, free: 4.895 MB / 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.HeatExchanger_1vol_case_001): time 0.0129/0.01293, allocations: 2.449 MB / 272.8 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006889/0.01362, allocations: 231.1 kB / 273 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.01377, allocations: 15.88 kB / 273 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.267e-05/0.01384, allocations: 39.64 kB / 273 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.01403, allocations: 107.1 kB / 273.2 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/0.01415, allocations: 35.95 kB / 273.2 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004293/0.01458, allocations: 302.4 kB / 273.5 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002448/0.01483, allocations: 135.5 kB / 273.6 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.01511, allocations: 207.4 kB / 273.8 MB, free: 1.371 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.01523, allocations: 71.77 kB / 273.9 MB, free: 1.301 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.01526, allocations: 12 kB / 273.9 MB, free: 1.289 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.373e-05/0.01528, allocations: 16 kB / 273.9 MB, free: 1.273 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.01531, allocations: 27.88 kB / 273.9 MB, free: 1.246 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.098e-05/0.01537, allocations: 63.88 kB / 274 MB, free: 1.184 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.01558, allocations: 151.3 kB / 274.2 MB, free: 1.035 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-05/0.01561, allocations: 0 / 274.2 MB, free: 1.035 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.01561, allocations: 0 / 274.2 MB, free: 1.035 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.939e-05/0.01563, allocations: 0 / 274.2 MB, free: 1.035 MB / 266.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.0005959/0.01622, allocations: 467.6 kB / 274.6 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.01626, allocations: 12.02 kB / 274.6 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.01631, allocations: 32.92 kB / 274.7 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.01654, allocations: 201.2 kB / 274.9 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.01657, allocations: 12.7 kB / 274.9 MB, free: 276 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.01659, allocations: 16.38 kB / 274.9 MB, free: 260 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.01682, allocations: 177.3 kB / 275.1 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.01683, allocations: 192 / 275.1 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.01684, allocations: 8.375 kB / 275.1 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.01685, allocations: 8.375 kB / 275.1 MB, free: 44 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1245/0.1413, allocations: 57.3 kB / 275.1 MB, free: 3.141 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000558/0.1419, allocations: 0.6252 MB / 275.7 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.142, allocations: 49.08 kB / 275.8 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.487e-05/0.142, allocations: 30.47 kB / 275.8 MB, free: 2.637 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.142, allocations: 1.281 kB / 275.8 MB, free: 2.637 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.142, allocations: 48.98 kB / 275.9 MB, free: 2.594 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 2.605e-06/0.142, allocations: 0 / 275.9 MB, free: 2.594 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001671/0.1422, allocations: 94.86 kB / 276 MB, free: 2.562 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.1422, allocations: 53.53 kB / 276 MB, free: 2.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.1423, allocations: 191.9 kB / 276.2 MB, free: 2.395 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/0.1423, allocations: 26.95 kB / 276.2 MB, free: 2.363 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.1424, allocations: 134 kB / 276.4 MB, free: 2.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.1424, allocations: 55.08 kB / 276.4 MB, free: 2.242 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.1425, allocations: 30.77 kB / 276.4 MB, free: 2.227 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.372e-05/0.1425, allocations: 335.3 kB / 276.8 MB, free: 1.914 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.72e-05/0.1425, allocations: 13.14 kB / 276.8 MB, free: 1.914 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.173e-05/0.1426, allocations: 41.59 kB / 276.8 MB, free: 1.891 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.1427, allocations: 97.64 kB / 276.9 MB, free: 1.863 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1427, allocations: 0 / 276.9 MB, free: 1.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001122/0.1428, allocations: 98.95 kB / 277 MB, free: 1.832 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1428, allocations: 12.31 kB / 277 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1428, allocations: 2.469 kB / 277 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1428, allocations: 1.281 kB / 277 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.143, allocations: 42.72 kB / 277.1 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.143, allocations: 2.078 kB / 277.1 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.143, allocations: 17.11 kB / 277.1 MB, free: 1.824 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1431, allocations: 3.547 kB / 277.1 MB, free: 1.824 MB / 266.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.0001142/0.1432, allocations: 126 kB / 277.2 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.1432, allocations: 22.33 kB / 277.2 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.1432, allocations: 25.12 kB / 277.3 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1432, allocations: 2.5 kB / 277.3 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1432, allocations: 1.062 kB / 277.3 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1432, allocations: 1.797 kB / 277.3 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.1434, allocations: 125.2 kB / 277.4 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1434, allocations: 0 / 277.4 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.1435, allocations: 39.41 kB / 277.4 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.1435, allocations: 16.81 kB / 277.5 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1435, allocations: 1.625 kB / 277.5 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1435, allocations: 9.859 kB / 277.5 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.1435, allocations: 5.469 kB / 277.5 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1435, allocations: 1.703 kB / 277.5 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.1437, allocations: 206.7 kB / 277.7 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.1437, allocations: 5.953 kB / 277.7 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.761e-05/0.1438, allocations: 13.22 kB / 277.7 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.1438, allocations: 12.88 kB / 277.7 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.1438, allocations: 6.625 kB / 277.7 MB, free: 1.477 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.193e-05/0.1439, allocations: 56.52 kB / 277.8 MB, free: 1.465 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1439, allocations: 0 / 277.8 MB, free: 1.465 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001562/0.144, allocations: 50.8 kB / 277.8 MB, free: 1.461 MB / 266.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 7.393e-05/0.1441, allocations: 77.8 kB / 277.9 MB, free: 1.391 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.1442, allocations: 73.41 kB / 278 MB, free: 1.379 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.1442, allocations: 6.797 kB / 278 MB, free: 1.379 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.28e-05/0.1443, allocations: 43.47 kB / 278 MB, free: 1.371 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.1445, allocations: 61.73 kB / 278.1 MB, free: 1.371 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.1478, allocations: 482.6 kB / 278.5 MB, free: 1.137 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.213e-05/0.1478, allocations: 77.7 kB / 278.6 MB, free: 1.066 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.1479, allocations: 31.05 kB / 278.7 MB, free: 1.066 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.1481, allocations: 98.61 kB / 278.7 MB, free: 1.023 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1481, allocations: 4.375 kB / 278.8 MB, free: 1.023 MB / 266.7 MB Notification: Performance of Templates: time 0.005133/0.1532, allocations: 2.7 MB / 281.5 MB, free: 0.8672 MB / 266.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: 2.6682411497458816]