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.0009739/0.0009739, allocations: 87.56 kB / 20.97 MB, free: 3.578 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: 177 kB / 24.28 MB, free: 276 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.9794/0.9794, allocations: 177.2 MB / 204.6 MB, free: 5.598 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.06626/0.06626, allocations: 18.13 MB / 279.2 MB, free: 11.36 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.124e-06/2.124e-06, allocations: 0 / 357.3 MB, free: 8.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.997e-05/3.209e-05, allocations: 2.312 kB / 357.3 MB, free: 8.172 MB / 282.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.02403/0.02406, allocations: 26.43 MB / 383.7 MB, free: 13.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.02512, allocations: 410.5 kB / 384.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.02529, allocations: 19.88 kB / 384.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 8.57e-05/0.02537, allocations: 39.56 kB / 384.1 MB, free: 13.44 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004026/0.02578, allocations: 158.7 kB / 384.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.026, allocations: 87.73 kB / 384.4 MB, free: 13.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003133/0.02631, allocations: 441.7 kB / 384.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000303/0.02662, allocations: 223.5 kB / 385 MB, free: 12.55 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.02682, allocations: 191.4 kB / 385.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.02699, allocations: 143.6 kB / 385.4 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.02703, allocations: 28 kB / 385.4 MB, free: 12.19 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-05/0.02713, allocations: 67.95 kB / 385.5 MB, free: 12.12 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.02718, allocations: 71.73 kB / 385.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.294e-05/0.02727, allocations: 119.7 kB / 385.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.02757, allocations: 298.8 kB / 385.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.02758, allocations: 0 / 385.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02758, allocations: 0 / 385.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.02759, allocations: 0 / 385.9 MB, free: 11.64 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.000717/0.0283, allocations: 0.6592 MB / 386.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.02834, allocations: 12.92 kB / 386.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.699e-05/0.02843, allocations: 56.7 kB / 386.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.02872, allocations: 255.5 kB / 386.9 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.02874, allocations: 20.88 kB / 386.9 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.02878, allocations: 28.33 kB / 387 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.02907, allocations: 249.3 kB / 387.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.02908, allocations: 4.188 kB / 387.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.0291, allocations: 12.38 kB / 387.2 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.02911, allocations: 4.375 kB / 387.2 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.02931, allocations: 138.8 kB / 387.4 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.03221, allocations: 0.8756 MB / 388.2 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.03245, allocations: 123.1 kB / 388.4 MB, free: 9.074 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.03259, allocations: 87.64 kB / 388.4 MB, free: 8.984 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.03262, allocations: 4 kB / 388.4 MB, free: 8.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.03264, allocations: 41.38 kB / 388.5 MB, free: 8.93 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001581/0.0328, allocations: 43.88 kB / 388.5 MB, free: 8.887 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 1.724e-06/0.0328, allocations: 4 kB / 388.5 MB, free: 8.883 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007669/0.03357, allocations: 308.8 kB / 388.8 MB, free: 8.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.0336, allocations: 55.41 kB / 388.9 MB, free: 8.504 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.03379, allocations: 314.2 kB / 389.2 MB, free: 8.176 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.0338, allocations: 29.7 kB / 389.2 MB, free: 8.141 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.03391, allocations: 235.1 kB / 389.5 MB, free: 7.906 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.03394, allocations: 67.38 kB / 389.5 MB, free: 7.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.852e-05/0.034, allocations: 55.34 kB / 389.6 MB, free: 7.777 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.03416, allocations: 0.5001 MB / 390.1 MB, free: 7.266 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.384e-05/0.03425, allocations: 43.97 kB / 390.1 MB, free: 7.223 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.03436, allocations: 75.27 kB / 390.2 MB, free: 7.141 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.03465, allocations: 173.6 kB / 390.4 MB, free: 6.965 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.03465, allocations: 0 / 390.4 MB, free: 6.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005526/0.03521, allocations: 267.3 kB / 390.6 MB, free: 6.695 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.03522, allocations: 10.75 kB / 390.6 MB, free: 6.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.03523, allocations: 0 / 390.6 MB, free: 6.688 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000679/0.03591, allocations: 131.6 kB / 390.8 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.03607, allocations: 43.91 kB / 390.8 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003784/0.03645, allocations: 0.8195 MB / 391.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.528e-05/0.03655, allocations: 8 kB / 391.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.03657, allocations: 11.98 kB / 391.6 MB, free: 5.641 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.0001525/0.03672, allocations: 176.4 kB / 391.8 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.03677, allocations: 31.86 kB / 391.8 MB, free: 5.426 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005945/0.03737, allocations: 307.2 kB / 392.1 MB, free: 5.113 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.03737, allocations: 0 / 392.1 MB, free: 5.113 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.03738, allocations: 4.062 kB / 392.1 MB, free: 5.109 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.03738, allocations: 0 / 392.1 MB, free: 5.109 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008281/0.03821, allocations: 0.6522 MB / 392.8 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.03821, allocations: 4 kB / 392.8 MB, free: 4.398 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.03838, allocations: 43.91 kB / 392.8 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004416/0.03882, allocations: 119.6 kB / 393 MB, free: 4.234 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.03884, allocations: 3.938 kB / 393 MB, free: 4.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003322/0.03917, allocations: 0.839 MB / 393.8 MB, free: 3.359 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.03917, allocations: 0 / 393.8 MB, free: 3.359 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006187/0.03979, allocations: 487.2 kB / 394.3 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.03982, allocations: 27.8 kB / 394.3 MB, free: 2.824 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.03986, allocations: 11.94 kB / 394.3 MB, free: 2.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.03998, allocations: 4 kB / 394.3 MB, free: 2.809 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.04003, allocations: 23.91 kB / 394.3 MB, free: 2.785 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.04004, allocations: 12.02 kB / 394.4 MB, free: 2.773 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001346/0.04017, allocations: 215 kB / 394.6 MB, free: 2.562 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04017, allocations: 0 / 394.6 MB, free: 2.562 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003042/0.04048, allocations: 75.89 kB / 394.6 MB, free: 2.488 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.000136/0.04061, allocations: 111.2 kB / 394.8 MB, free: 2.367 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003441/0.04096, allocations: 155 kB / 394.9 MB, free: 2.215 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.04096, allocations: 0 / 394.9 MB, free: 2.215 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.04113, allocations: 116.5 kB / 395 MB, free: 2.098 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.0415, allocations: 61.02 kB / 395.1 MB, free: 2.035 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.0427, allocations: 0.6554 MB / 395.7 MB, free: 1.344 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.43e-05/0.04277, allocations: 92.62 kB / 395.8 MB, free: 1.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.04289, allocations: 38.97 kB / 395.9 MB, free: 1.191 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.04296, allocations: 32.48 kB / 395.9 MB, free: 1.16 MB / 314.7 MB Notification: Performance of SimCode: time 4.7e-07/0.04296, allocations: 3.938 kB / 395.9 MB, free: 1.156 MB / 314.7 MB Notification: Performance of Templates: time 0.006658/0.04962, allocations: 3.994 MB / 399.9 MB, free: 13.25 MB / 330.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: 3.241864520125091]