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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 104.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 225.6 MB / 250 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09781/0.09781, allocations: 22.69 MB / 327.7 MB, free: 2.91 MB / 254.1 MB [Timeout remaining time 90] 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.001993/0.001993, allocations: 67.89 kB / 461 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1174, allocations: 58.01 MB / 0.5069 GB, free: 5.668 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.005563/0.123, allocations: 4.039 MB / 0.5108 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.1254, allocations: 1.282 MB / 0.5121 GB, free: 324 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/0.1257, allocations: 8 kB / 0.5121 GB, free: 316 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.1259, allocations: 79.14 kB / 0.5122 GB, free: 236 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004744/0.1263, allocations: 218 kB / 0.5124 GB, free: 16 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2289/0.3553, allocations: 288.6 kB / 0.5126 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001504/0.3568, allocations: 1.091 MB / 0.5137 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005528/0.3573, allocations: 382 kB / 0.5141 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004844/0.3578, allocations: 411 kB / 0.5145 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004614/0.3583, allocations: 420.2 kB / 0.5149 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.3584, allocations: 95.16 kB / 0.515 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.3586, allocations: 93.28 kB / 0.5151 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.3587, allocations: 194.9 kB / 0.5152 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000354/0.359, allocations: 424 kB / 0.5156 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008364/0.3599, allocations: 0.9661 MB / 0.5166 GB, free: 11.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3599, allocations: 0 / 0.5166 GB, free: 11.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3599, allocations: 0 / 0.5166 GB, free: 11.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.3599, allocations: 1.844 kB / 0.5166 GB, free: 11.21 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.001985/0.3619, allocations: 0.998 MB / 0.5176 GB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3619, allocations: 9.422 kB / 0.5176 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.3621, allocations: 77.78 kB / 0.5176 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.3623, allocations: 250 kB / 0.5179 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.96e-05/0.3623, allocations: 62.47 kB / 0.5179 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.3624, allocations: 79.38 kB / 0.518 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.3637, allocations: 0.6972 MB / 0.5187 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.3637, allocations: 0 / 0.5187 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/0.3638, allocations: 31.81 kB / 0.5187 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.3638, allocations: 20.47 kB / 0.5187 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.365, allocations: 0.6975 MB / 0.5194 GB, free: 10.14 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.003524/0.3685, allocations: 2.318 MB / 0.5217 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.3696, allocations: 0.6252 MB / 0.5223 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004984/0.3701, allocations: 298.2 kB / 0.5226 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.266e-05/0.3701, allocations: 23.28 kB / 0.5226 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.3702, allocations: 40.69 kB / 0.5227 GB, free: 8.285 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 2.996e-06/0.3702, allocations: 0 / 0.5227 GB, free: 8.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.007339/0.3775, allocations: 3.103 MB / 0.5257 GB, free: 6.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.3775, allocations: 67.25 kB / 0.5257 GB, free: 6.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.3777, allocations: 200 kB / 0.5259 GB, free: 6.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.124e-05/0.3778, allocations: 40.95 kB / 0.526 GB, free: 6.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.736e-05/0.3779, allocations: 240.5 kB / 0.5262 GB, free: 6.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002411/0.3781, allocations: 399 kB / 0.5266 GB, free: 5.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.3784, allocations: 149.9 kB / 0.5267 GB, free: 5.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.3784, allocations: 363.3 kB / 0.5271 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005432/0.379, allocations: 295.7 kB / 0.5274 GB, free: 5.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005649/0.3796, allocations: 384.7 kB / 0.5277 GB, free: 5.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/0.3906, allocations: 2.255 MB / 0.5299 GB, free: 4.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3906, allocations: 2.594 kB / 0.5299 GB, free: 4.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002204/0.3928, allocations: 1.045 MB / 0.5309 GB, free: 4.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.3928, allocations: 6.359 kB / 0.531 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.3928, allocations: 1.094 kB / 0.531 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.3938, allocations: 213.8 kB / 0.5312 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005832/0.3997, allocations: 0.7554 MB / 0.5319 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/0.4121, allocations: 14.94 MB / 0.5465 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007583/0.4128, allocations: 32.19 kB / 0.5465 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.701e-05/0.4129, allocations: 30.8 kB / 0.5465 GB, free: 4.941 MB / 398.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.0004954/0.4134, allocations: 220.7 kB / 0.5468 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.4135, allocations: 59.77 kB / 0.5468 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002972/0.4165, allocations: 1.247 MB / 0.548 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.4165, allocations: 11 kB / 0.548 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.4165, allocations: 6.75 kB / 0.5481 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.4165, allocations: 3.891 kB / 0.5481 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004565/0.4211, allocations: 2.372 MB / 0.5504 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.4211, allocations: 6.656 kB / 0.5504 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005348/0.4264, allocations: 0.6995 MB / 0.5511 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002099/0.4285, allocations: 360.3 kB / 0.5514 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002158/0.4288, allocations: 36.98 kB / 0.5514 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01382/0.4426, allocations: 15.12 MB / 0.5662 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.4426, allocations: 7.906 kB / 0.5662 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003811/0.4464, allocations: 1.825 MB / 0.568 GB, free: 1.762 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.4466, allocations: 130.1 kB / 0.5681 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.4467, allocations: 29.38 kB / 0.5681 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006221/0.4473, allocations: 37.95 kB / 0.5682 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/0.4476, allocations: 111.5 kB / 0.5683 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.425e-05/0.4476, allocations: 39.98 kB / 0.5683 GB, free: 1.523 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.4478, allocations: 159.2 kB / 0.5685 GB, free: 1.406 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4478, allocations: 0 / 0.5685 GB, free: 1.406 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001018/0.4488, allocations: 232.2 kB / 0.5687 GB, free: 1.371 MB / 414.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.0002233/0.4491, allocations: 140 kB / 0.5688 GB, free: 1.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00739/0.4564, allocations: 1.825 MB / 0.5706 GB, free: 212 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/0.4565, allocations: 1.5 kB / 0.5706 GB, free: 212 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006142/0.4626, allocations: 1.472 MB / 0.5721 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.4637, allocations: 185.6 kB / 0.5722 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.467, allocations: 1.798 MB / 0.574 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/0.4676, allocations: 0.9077 MB / 0.5749 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/0.4679, allocations: 57.98 kB / 0.5749 GB, free: 13.12 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4679, allocations: 0 / 0.5749 GB, free: 13.12 MB / 430.1 MB Notification: Performance of Templates: time 0.03795/0.5058, allocations: 33.18 MB / 0.6073 GB, free: 12.4 MB / 462.1 MB [Timeout remaining time 659] 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]