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.001774/0.001774, allocations: 103 kB / 16.45 MB, free: 6.5 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.001512/0.001512, allocations: 190.9 kB / 19.4 MB, free: 3.68 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.474/1.474, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.1018/0.1018, allocations: 22.7 MB / 325.4 MB, free: 3.551 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.002239/0.002239, allocations: 67.89 kB / 457.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.154, allocations: 58.01 MB / 0.5036 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.006174/0.1602, allocations: 4.043 MB / 0.5075 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.1628, allocations: 1.294 MB / 0.5088 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002515/0.1631, allocations: 4 kB / 0.5088 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.1633, allocations: 79.14 kB / 0.5089 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004853/0.1638, allocations: 214 kB / 0.5091 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006468/0.1644, allocations: 295.5 kB / 0.5094 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001123/0.1655, allocations: 1.088 MB / 0.5104 GB, free: 116 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2733/0.4388, allocations: 383.8 kB / 0.5108 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007828/0.4396, allocations: 418.5 kB / 0.5112 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004972/0.4401, allocations: 420.1 kB / 0.5116 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.4402, allocations: 93.19 kB / 0.5117 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.4404, allocations: 94.25 kB / 0.5118 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.4405, allocations: 193.6 kB / 0.512 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.4408, allocations: 422.8 kB / 0.5124 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007668/0.4416, allocations: 0.9691 MB / 0.5133 GB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4416, allocations: 2.016 kB / 0.5133 GB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4416, allocations: 0.7188 kB / 0.5133 GB, free: 10.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.4416, allocations: 0 / 0.5133 GB, free: 10.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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001832/0.4435, allocations: 0.994 MB / 0.5143 GB, free: 10.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.4435, allocations: 10.59 kB / 0.5143 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.4436, allocations: 78.69 kB / 0.5144 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.4438, allocations: 247.9 kB / 0.5146 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.213e-05/0.4438, allocations: 60.31 kB / 0.5147 GB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.4439, allocations: 83.95 kB / 0.5147 GB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.445, allocations: 0.6908 MB / 0.5154 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.4451, allocations: 0 / 0.5154 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.806e-05/0.4451, allocations: 33.19 kB / 0.5154 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.4451, allocations: 23.7 kB / 0.5155 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.4465, allocations: 0.6992 MB / 0.5162 GB, free: 9.77 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.003731/0.4502, allocations: 2.304 MB / 0.5184 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.4514, allocations: 0.6286 MB / 0.519 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005051/0.4519, allocations: 299.4 kB / 0.5193 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.736e-05/0.4519, allocations: 19.88 kB / 0.5193 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.452, allocations: 44.34 kB / 0.5194 GB, free: 8.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 2.575e-06/0.452, allocations: 0.625 kB / 0.5194 GB, free: 8.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.007553/0.4595, allocations: 3.105 MB / 0.5224 GB, free: 6.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.4596, allocations: 63.42 kB / 0.5225 GB, free: 6.867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.4598, allocations: 202.1 kB / 0.5226 GB, free: 6.734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/0.4598, allocations: 42.14 kB / 0.5227 GB, free: 6.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.46, allocations: 240 kB / 0.5229 GB, free: 6.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000275/0.4602, allocations: 395.8 kB / 0.5233 GB, free: 6.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.4605, allocations: 152.1 kB / 0.5234 GB, free: 6.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.375e-05/0.4605, allocations: 363.7 kB / 0.5238 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004879/0.461, allocations: 299.9 kB / 0.5241 GB, free: 5.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000583/0.4616, allocations: 388.7 kB / 0.5244 GB, free: 5.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/0.4726, allocations: 2.252 MB / 0.5266 GB, free: 4.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.4726, allocations: 2.031 kB / 0.5266 GB, free: 4.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002137/0.4747, allocations: 1.036 MB / 0.5277 GB, free: 4.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.4747, allocations: 10.53 kB / 0.5277 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.4747, allocations: 1.219 kB / 0.5277 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000986/0.4757, allocations: 207.1 kB / 0.5279 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005564/0.4813, allocations: 0.7553 MB / 0.5286 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/0.4941, allocations: 14.95 MB / 0.5432 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007559/0.4948, allocations: 34.59 kB / 0.5432 GB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.651e-05/0.4949, allocations: 31.62 kB / 0.5433 GB, free: 5.262 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.0004962/0.4954, allocations: 228.1 kB / 0.5435 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.4955, allocations: 51.52 kB / 0.5435 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003013/0.4985, allocations: 1.244 MB / 0.5447 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.4985, allocations: 11 kB / 0.5448 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.4985, allocations: 3.406 kB / 0.5448 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.4985, allocations: 5.391 kB / 0.5448 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004723/0.5033, allocations: 2.379 MB / 0.5471 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/0.5033, allocations: 8.078 kB / 0.5471 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005234/0.5085, allocations: 0.7009 MB / 0.5478 GB, free: 3.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002138/0.5106, allocations: 362.4 kB / 0.5481 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001912/0.5108, allocations: 33.91 kB / 0.5482 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01519/0.526, allocations: 15.12 MB / 0.5629 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/0.526, allocations: 8.062 kB / 0.5629 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004146/0.5302, allocations: 1.813 MB / 0.5647 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.5304, allocations: 133.9 kB / 0.5648 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.5305, allocations: 33.27 kB / 0.5649 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006525/0.5312, allocations: 30.59 kB / 0.5649 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/0.5315, allocations: 114 kB / 0.565 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.395e-05/0.5316, allocations: 35.97 kB / 0.565 GB, free: 2.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.5317, allocations: 162.7 kB / 0.5652 GB, free: 2.199 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5317, allocations: 0 / 0.5652 GB, free: 2.199 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001173/0.5329, allocations: 244.3 kB / 0.5654 GB, free: 2.152 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.00022/0.5331, allocations: 138.6 kB / 0.5656 GB, free: 2.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007462/0.5406, allocations: 1.845 MB / 0.5674 GB, free: 1.039 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/0.5406, allocations: 0.9062 kB / 0.5674 GB, free: 1.039 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006142/0.5467, allocations: 1.499 MB / 0.5688 GB, free: 188 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.5479, allocations: 186.8 kB / 0.569 GB, free: 80 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.5512, allocations: 1.758 MB / 0.5707 GB, free: 14.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005906/0.5518, allocations: 0.9075 MB / 0.5716 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005095/0.5523, allocations: 93.98 kB / 0.5717 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.5525, allocations: 56.36 kB / 0.5717 GB, free: 13.95 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5525, allocations: 0 / 0.5717 GB, free: 13.95 MB / 430.1 MB Notification: Performance of Templates: time 0.02342/0.5759, allocations: 11.9 MB / 0.5834 GB, free: 3.051 MB / 430.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] [Calling sys.exit(0), Time elapsed: 5.946947131771594] Failed to read output from testmodel.py, exit status != 0: 0.5859968401491642 0.6029414900000001 0.158099224 Calling exit ...