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.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.001711/0.001711, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.00133/0.00133, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.464/1.464, 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.09621/0.09621, allocations: 22.69 MB / 327.2 MB, free: 7.191 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_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: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 64.12 kB / 460.6 MB, free: 40.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1091, allocations: 58.03 MB / 0.5065 GB, free: 6.625 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.004293/0.1134, allocations: 4.261 MB / 0.5107 GB, free: 2.336 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.1157, allocations: 1.337 MB / 0.512 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005341/0.1162, allocations: 7.938 kB / 0.512 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.1165, allocations: 91.06 kB / 0.5121 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000552/0.117, allocations: 229.9 kB / 0.5123 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.1176, allocations: 315.5 kB / 0.5126 GB, free: 372 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.1186, allocations: 1.162 MB / 0.5137 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007057/0.1193, allocations: 0.5046 MB / 0.5142 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005564/0.1199, allocations: 470.8 kB / 0.5147 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007759/0.1206, allocations: 0.5216 MB / 0.5152 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.1208, allocations: 112 kB / 0.5153 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.121, allocations: 112 kB / 0.5154 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.1212, allocations: 235.4 kB / 0.5156 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005136/0.1217, allocations: 482 kB / 0.5161 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.1229, allocations: 1.121 MB / 0.5172 GB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.1229, allocations: 0 / 0.5172 GB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1229, allocations: 0 / 0.5172 GB, free: 11.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.123, allocations: 0 / 0.5172 GB, free: 11.66 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.002772/0.1257, allocations: 1.068 MB / 0.5182 GB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1258, allocations: 8.75 kB / 0.5182 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.1259, allocations: 84.42 kB / 0.5183 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.1262, allocations: 256 kB / 0.5186 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.7e-05/0.1263, allocations: 70.12 kB / 0.5186 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.1264, allocations: 84 kB / 0.5187 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.128, allocations: 0.8272 MB / 0.5195 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.128, allocations: 0 / 0.5195 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.1281, allocations: 39.94 kB / 0.5195 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.1281, allocations: 20 kB / 0.5196 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.1298, allocations: 0.8471 MB / 0.5204 GB, free: 8.27 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: 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.004729/0.1345, allocations: 2.616 MB / 0.5229 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/0.1368, allocations: 0.9427 MB / 0.5239 GB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007541/0.1376, allocations: 379.7 kB / 0.5242 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.1377, allocations: 24.97 kB / 0.5243 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.841e-05/0.1378, allocations: 51.5 kB / 0.5243 GB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000743/0.1385, allocations: 163.4 kB / 0.5245 GB, free: 3.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=113): time 3.587e-06/0.1385, allocations: 0 / 0.5245 GB, free: 3.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=124): time 0.00905/0.1475, allocations: 3.532 MB / 0.5279 GB, free: 312 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/0.1476, allocations: 72.34 kB / 0.528 GB, free: 228 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.1479, allocations: 223.3 kB / 0.5282 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.255e-05/0.148, allocations: 49.64 kB / 0.5282 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.1482, allocations: 241.7 kB / 0.5285 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003748/0.1485, allocations: 452.1 kB / 0.5289 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003205/0.1489, allocations: 170.9 kB / 0.5291 GB, free: 15.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.149, allocations: 362.8 kB / 0.5294 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007146/0.1498, allocations: 354.5 kB / 0.5297 GB, free: 14.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007724/0.1505, allocations: 466.5 kB / 0.5302 GB, free: 13.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02006/0.1706, allocations: 3.473 MB / 0.5336 GB, free: 10.4 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.1706, allocations: 3.75 kB / 0.5336 GB, free: 10.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002899/0.1735, allocations: 1.207 MB / 0.5348 GB, free: 9.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.1735, allocations: 4 kB / 0.5348 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.1735, allocations: 0 / 0.5348 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.1746, allocations: 223.1 kB / 0.535 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006429/0.1811, allocations: 0.8077 MB / 0.5358 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01509/0.1962, allocations: 14.94 MB / 0.5504 GB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009342/0.1971, allocations: 27.98 kB / 0.5504 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.823e-05/0.1972, allocations: 44.05 kB / 0.5504 GB, free: 7.699 MB / 414.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.0005778/0.1978, allocations: 231.4 kB / 0.5506 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.1979, allocations: 59.66 kB / 0.5507 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003518/0.2014, allocations: 1.487 MB / 0.5522 GB, free: 5.895 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.2014, allocations: 12 kB / 0.5522 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2015, allocations: 0 / 0.5522 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.2015, allocations: 7.969 kB / 0.5522 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004989/0.2065, allocations: 2.586 MB / 0.5547 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.2065, allocations: 11.98 kB / 0.5547 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005862/0.2123, allocations: 0.7538 MB / 0.5554 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00215/0.2145, allocations: 374.9 kB / 0.5558 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001752/0.2147, allocations: 31.98 kB / 0.5558 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01434/0.229, allocations: 15.19 MB / 0.5707 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/0.229, allocations: 11.94 kB / 0.5707 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004144/0.2332, allocations: 2.052 MB / 0.5727 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.2333, allocations: 148.7 kB / 0.5728 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.2335, allocations: 28 kB / 0.5729 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007074/0.2342, allocations: 35.92 kB / 0.5729 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003251/0.2345, allocations: 120.7 kB / 0.573 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.61e-05/0.2346, allocations: 43.98 kB / 0.573 GB, free: 14.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.2348, allocations: 164.1 kB / 0.5732 GB, free: 14.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2348, allocations: 0 / 0.5732 GB, free: 14.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001031/0.2358, allocations: 260 kB / 0.5735 GB, free: 14.38 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.0002254/0.236, allocations: 151 kB / 0.5736 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007683/0.2437, allocations: 1.995 MB / 0.5755 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.2437, allocations: 0 / 0.5755 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006494/0.2502, allocations: 1.583 MB / 0.5771 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.2515, allocations: 201.6 kB / 0.5773 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.2552, allocations: 1.902 MB / 0.5791 GB, free: 8.336 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.2559, allocations: 0.9416 MB / 0.5801 GB, free: 7.371 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006949/0.2566, allocations: 117.5 kB / 0.5802 GB, free: 7.254 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.2569, allocations: 67.42 kB / 0.5802 GB, free: 7.188 MB / 446.1 MB Notification: Performance of SimCode: time 1.833e-06/0.2569, allocations: 0 / 0.5802 GB, free: 7.188 MB / 446.1 MB Notification: Performance of Templates: time 0.02501/0.2819, allocations: 14.41 MB / 0.5943 GB, free: 8.875 MB / 462.1 MB " [Timeout remaining time 660] 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: 5.929840451106429]