Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.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.09676/0.09676, allocations: 22.68 MB / 327.2 MB, free: 7.293 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001") translateModel(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 67.95 kB / 460.6 MB, free: 41.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1197, allocations: 58.03 MB / 0.5065 GB, free: 6.648 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.004325/0.124, allocations: 4.043 MB / 0.5105 GB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.1258, allocations: 1.294 MB / 0.5117 GB, free: 1.281 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.126, allocations: 4 kB / 0.5117 GB, free: 1.277 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.1262, allocations: 75.14 kB / 0.5118 GB, free: 1.203 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.1266, allocations: 218 kB / 0.512 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000528/0.1271, allocations: 295.6 kB / 0.5123 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008626/0.128, allocations: 1.095 MB / 0.5134 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005737/0.1286, allocations: 380.4 kB / 0.5137 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000513/0.1291, allocations: 402.9 kB / 0.5141 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005678/0.1296, allocations: 422.4 kB / 0.5145 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.1298, allocations: 92 kB / 0.5146 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.1299, allocations: 96 kB / 0.5147 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.1301, allocations: 199.3 kB / 0.5149 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004241/0.1305, allocations: 426.3 kB / 0.5153 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.1317, allocations: 0.9575 MB / 0.5162 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1317, allocations: 4 kB / 0.5162 GB, free: 12.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1317, allocations: 0 / 0.5162 GB, free: 12.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.1317, allocations: 3.938 kB / 0.5162 GB, free: 12.65 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002331/0.134, allocations: 1.002 MB / 0.5172 GB, free: 11.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1341, allocations: 12.69 kB / 0.5172 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.1342, allocations: 76.47 kB / 0.5173 GB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.1345, allocations: 249.5 kB / 0.5175 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.145e-05/0.1346, allocations: 58.38 kB / 0.5176 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.1347, allocations: 80.38 kB / 0.5177 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.136, allocations: 0.7023 MB / 0.5183 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.136, allocations: 0 / 0.5183 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.671e-05/0.1361, allocations: 32 kB / 0.5184 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.1361, allocations: 20 kB / 0.5184 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.1374, allocations: 0.6949 MB / 0.5191 GB, free: 9.641 MB / 382.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: AHU.T(start = AHU.Tstart = 293.15, confidence number = 2) * Candidate: AHU.air.T(start = 288.15, confidence number = 8) => Select value from AHU.T(start = AHU.Tstart = 293.15) for variable: AHU.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004167/0.1416, allocations: 2.307 MB / 0.5213 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.1428, allocations: 0.6254 MB / 0.5219 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005777/0.1434, allocations: 303.8 kB / 0.5222 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.515e-05/0.1435, allocations: 17.09 kB / 0.5222 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/0.1435, allocations: 55.47 kB / 0.5223 GB, free: 6.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 3.347e-06/0.1435, allocations: 0 / 0.5223 GB, free: 6.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.008419/0.1519, allocations: 3.112 MB / 0.5253 GB, free: 2.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.152, allocations: 60.41 kB / 0.5254 GB, free: 2.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.1523, allocations: 199.8 kB / 0.5256 GB, free: 2.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.861e-05/0.1523, allocations: 49.7 kB / 0.5256 GB, free: 2.621 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.1525, allocations: 237.5 kB / 0.5259 GB, free: 2.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003799/0.1529, allocations: 400.5 kB / 0.5262 GB, free: 1.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003035/0.1532, allocations: 146.7 kB / 0.5264 GB, free: 1.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.1534, allocations: 358.8 kB / 0.5267 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005965/0.154, allocations: 289.9 kB / 0.527 GB, free: 1.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006461/0.1547, allocations: 395.1 kB / 0.5274 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/0.1666, allocations: 2.254 MB / 0.5296 GB, free: 14.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.1666, allocations: 0 / 0.5296 GB, free: 14.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002512/0.1691, allocations: 1.039 MB / 0.5306 GB, free: 13.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.1691, allocations: 8 kB / 0.5306 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.1691, allocations: 0 / 0.5306 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.1702, allocations: 215.2 kB / 0.5308 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006119/0.1763, allocations: 0.753 MB / 0.5315 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01458/0.1909, allocations: 14.94 MB / 0.5461 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007514/0.1917, allocations: 24 kB / 0.5462 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.608e-05/0.1917, allocations: 32 kB / 0.5462 GB, free: 12.06 MB / 414.1 MB Warning: Assuming fixed start value for the following 4 variables: AHU.T:VARIABLE(min = 0.0 start = AHU.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"controlled T\" type: Real AHU.phi:VARIABLE(start = AHU.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 (112): * Single equations (assignments): 102 * 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,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005475/0.1923, allocations: 242.3 kB / 0.5464 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.1924, allocations: 51.67 kB / 0.5465 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002985/0.1954, allocations: 1.238 MB / 0.5477 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.1954, allocations: 12 kB / 0.5477 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1954, allocations: 3.938 kB / 0.5477 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.1954, allocations: 7.984 kB / 0.5477 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00464/0.2001, allocations: 2.378 MB / 0.55 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.2001, allocations: 8 kB / 0.55 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0054/0.2055, allocations: 0.6951 MB / 0.5507 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002133/0.2076, allocations: 374.9 kB / 0.5511 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002144/0.2078, allocations: 35.92 kB / 0.5511 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01518/0.223, allocations: 15.11 MB / 0.5658 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.99e-05/0.223, allocations: 11.94 kB / 0.5659 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004393/0.2274, allocations: 1.827 MB / 0.5676 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/0.2276, allocations: 128.8 kB / 0.5678 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.2277, allocations: 43.98 kB / 0.5678 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007255/0.2285, allocations: 24 kB / 0.5678 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000315/0.2288, allocations: 120.6 kB / 0.5679 GB, free: 4.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.709e-05/0.2289, allocations: 39.98 kB / 0.568 GB, free: 3.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001758/0.229, allocations: 155 kB / 0.5681 GB, free: 3.828 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.229, allocations: 0 / 0.5681 GB, free: 3.828 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001166/0.2302, allocations: 232 kB / 0.5684 GB, free: 3.602 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 5 (AHU.T,AHU.phi,V.Mv,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 (102): * Single equations (assignments): 92 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002416/0.2304, allocations: 139 kB / 0.5685 GB, free: 3.453 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007551/0.238, allocations: 1.85 MB / 0.5703 GB, free: 1.551 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/0.238, allocations: 4 kB / 0.5703 GB, free: 1.547 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006742/0.2447, allocations: 1.501 MB / 0.5718 GB, free: 0 / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.2459, allocations: 167 kB / 0.5719 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/0.2495, allocations: 1.785 MB / 0.5737 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.2502, allocations: 0.9091 MB / 0.5746 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005266/0.2507, allocations: 93 kB / 0.5746 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.2509, allocations: 47.44 kB / 0.5747 GB, free: 12.87 MB / 446.1 MB Notification: Performance of SimCode: time 1.784e-06/0.2509, allocations: 4 kB / 0.5747 GB, free: 12.86 MB / 446.1 MB Notification: Performance of Templates: time 0.02375/0.2746, allocations: 12.24 MB / 0.5866 GB, free: 0.7031 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.900667519308627]