Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.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.002331/0.002331, allocations: 109.4 kB / 17.15 MB, free: 6.02 MB / 14.72 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.002174/0.002174, allocations: 203.2 kB / 20.11 MB, free: 3.066 MB / 14.72 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.625/1.625, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 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.1063/0.1063, allocations: 24.04 MB / 333.6 MB, free: 1.566 MB / 254.1 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.Controlled_AHU_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002") translateModel(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 65.27 kB / 468.9 MB, free: 31.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1128, allocations: 59.55 MB / 0.5161 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.006389/0.1192, allocations: 4.269 MB / 0.5202 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.1217, allocations: 1.36 MB / 0.5216 GB, free: 6.141 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.1219, allocations: 4 kB / 0.5216 GB, free: 6.137 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.1221, allocations: 87.06 kB / 0.5216 GB, free: 6.051 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004657/0.1226, allocations: 237.9 kB / 0.5219 GB, free: 5.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005753/0.1231, allocations: 307.5 kB / 0.5222 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.1242, allocations: 1.177 MB / 0.5233 GB, free: 4.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006825/0.1249, allocations: 0.4968 MB / 0.5238 GB, free: 3.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005028/0.1254, allocations: 478.8 kB / 0.5243 GB, free: 3.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006601/0.126, allocations: 0.5217 MB / 0.5248 GB, free: 2.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.1262, allocations: 112 kB / 0.5249 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.1264, allocations: 108 kB / 0.525 GB, free: 2.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.1266, allocations: 239.3 kB / 0.5252 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004386/0.127, allocations: 482.1 kB / 0.5257 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.1281, allocations: 1.117 MB / 0.5268 GB, free: 0.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.1281, allocations: 4 kB / 0.5268 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1281, allocations: 0 / 0.5268 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.1281, allocations: 0 / 0.5268 GB, free: 0.7891 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002452/0.1306, allocations: 1.076 MB / 0.5278 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1306, allocations: 12.62 kB / 0.5278 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.1308, allocations: 84.45 kB / 0.5279 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.131, allocations: 252 kB / 0.5281 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.888e-05/0.1311, allocations: 70.12 kB / 0.5282 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.1312, allocations: 84 kB / 0.5283 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.1327, allocations: 0.8233 MB / 0.5291 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.1327, allocations: 0 / 0.5291 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.094e-05/0.1328, allocations: 36 kB / 0.5291 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.1328, allocations: 24 kB / 0.5291 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.1343, allocations: 0.8433 MB / 0.53 GB, free: 13.4 MB / 398.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 291.15, confidence number = 2) * Candidate: V.air.T(start = 288.15, confidence number = 8) * Candidate: V.heatPort.T(start = 288.15, confidence number = 8) => Select value from V.T(start = V.Tstart = 291.15) for variable: V.T Warning: Alias set with conflicting start values * Candidate: U1.T(start = U1.Tstart = 293.15, confidence number = 2) * Candidate: U1.air.T(start = 288.15, confidence number = 8) => Select value from U1.T(start = U1.Tstart = 293.15) for variable: U1.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004505/0.1388, allocations: 2.613 MB / 0.5325 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/0.1409, allocations: 0.9387 MB / 0.5334 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006801/0.1416, allocations: 383.7 kB / 0.5338 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-05/0.1417, allocations: 20.97 kB / 0.5338 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.1418, allocations: 43.56 kB / 0.5339 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006787/0.1424, allocations: 167.4 kB / 0.534 GB, free: 9.098 MB / 398.1 MB Notification: Performance of pre-optimization done (n=113): time 3.486e-06/0.1424, allocations: 0 / 0.534 GB, free: 9.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=124): time 0.008918/0.1514, allocations: 3.54 MB / 0.5375 GB, free: 5.445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.1514, allocations: 68.39 kB / 0.5375 GB, free: 5.367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.1517, allocations: 215.2 kB / 0.5378 GB, free: 5.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.22e-05/0.1518, allocations: 45.7 kB / 0.5378 GB, free: 5.094 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.152, allocations: 241.7 kB / 0.538 GB, free: 4.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004044/0.1524, allocations: 448.1 kB / 0.5385 GB, free: 4.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003092/0.1527, allocations: 182.9 kB / 0.5386 GB, free: 4.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.1529, allocations: 358.8 kB / 0.539 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006502/0.1535, allocations: 358.5 kB / 0.5393 GB, free: 3.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007437/0.1543, allocations: 458.5 kB / 0.5398 GB, free: 3.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01869/0.173, allocations: 3.481 MB / 0.5432 GB, free: 15.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.173, allocations: 3.938 kB / 0.5432 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002674/0.1757, allocations: 1.199 MB / 0.5443 GB, free: 14.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.1757, allocations: 4 kB / 0.5443 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1757, allocations: 0 / 0.5443 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.1767, allocations: 219.2 kB / 0.5445 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006036/0.1827, allocations: 0.8193 MB / 0.5453 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/0.196, allocations: 14.94 MB / 0.5599 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008398/0.1968, allocations: 36.02 kB / 0.56 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-05/0.1969, allocations: 35.98 kB / 0.56 GB, free: 12.85 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: U1.T:VARIABLE(min = 0.0 start = U1.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"controlled T\" type: Real U1.phi:VARIABLE(start = U1.phistart fixed = true ) type: Real V.p:VARIABLE(min = 0.0 start = V.pstart unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = 0.0 start = V.Tstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (AHUon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,5,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005206/0.1974, allocations: 239.4 kB / 0.5602 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.1975, allocations: 55.62 kB / 0.5603 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003302/0.2008, allocations: 1.476 MB / 0.5617 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.2009, allocations: 16 kB / 0.5617 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2009, allocations: 0 / 0.5617 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.2009, allocations: 7.969 kB / 0.5617 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004681/0.2056, allocations: 2.579 MB / 0.5643 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.2056, allocations: 4 kB / 0.5643 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005544/0.2111, allocations: 0.7608 MB / 0.565 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002021/0.2131, allocations: 367 kB / 0.5654 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.2133, allocations: 39.98 kB / 0.5654 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01359/0.2268, allocations: 15.19 MB / 0.5802 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.2268, allocations: 4 kB / 0.5802 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004076/0.2309, allocations: 2.071 MB / 0.5823 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.2311, allocations: 140.6 kB / 0.5824 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.2312, allocations: 40.05 kB / 0.5824 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006526/0.2319, allocations: 28 kB / 0.5825 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002991/0.2322, allocations: 124.7 kB / 0.5826 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.322e-05/0.2323, allocations: 44 kB / 0.5826 GB, free: 3.945 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001896/0.2324, allocations: 168.8 kB / 0.5828 GB, free: 3.781 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2324, allocations: 0 / 0.5828 GB, free: 3.781 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001086/0.2335, allocations: 256 kB / 0.583 GB, free: 3.531 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 5 (U1.T,U1.phi,V.Ma,V.p,V.T) * 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 (119): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,5,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000231/0.2338, allocations: 152.5 kB / 0.5832 GB, free: 3.375 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007351/0.2411, allocations: 1.994 MB / 0.5851 GB, free: 1.328 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/0.2411, allocations: 0 / 0.5851 GB, free: 1.328 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2587/0.4998, allocations: 1.578 MB / 0.5867 GB, free: 66.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.5012, allocations: 202.3 kB / 0.5868 GB, free: 66.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/0.5046, allocations: 1.885 MB / 0.5887 GB, free: 65.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.505, allocations: 0.9395 MB / 0.5896 GB, free: 64.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007288/0.5058, allocations: 118.4 kB / 0.5897 GB, free: 64.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/0.5061, allocations: 65.91 kB / 0.5898 GB, free: 64.84 MB / 446.1 MB Notification: Performance of SimCode: time 1.362e-06/0.5061, allocations: 1.156 kB / 0.5898 GB, free: 64.84 MB / 446.1 MB Notification: Performance of Templates: time 0.02924/0.5353, allocations: 14 MB / 0.6035 GB, free: 61.36 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.321767332032323] Failed to read output from testmodel.py, exit status != 0: 0.5439352095127106 0.553649429 0.42341040700000004 Calling exit ...