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.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.001391/0.001391, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001668/0.001668, allocations: 210.4 kB / 23.01 MB, free: 4.992 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1062/0.1062, allocations: 24.03 MB / 337.2 MB, free: 11.43 MB / 270.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_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: 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.002334/0.002334, allocations: 63.91 kB / 474.3 MB, free: 5.898 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3858, allocations: 59.58 MB / 0.5214 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.004722/0.3905, allocations: 3.607 MB / 0.5249 GB, free: 8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.3927, allocations: 1.261 MB / 0.5261 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.3928, allocations: 3.531 kB / 0.5262 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.393, allocations: 81.56 kB / 0.5262 GB, free: 7.055 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003855/0.3934, allocations: 216.9 kB / 0.5264 GB, free: 6.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.3939, allocations: 292 kB / 0.5267 GB, free: 6.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009815/0.3949, allocations: 1.094 MB / 0.5278 GB, free: 6.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004763/0.3953, allocations: 379.3 kB / 0.5281 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004749/0.3958, allocations: 411.5 kB / 0.5285 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004781/0.3963, allocations: 377.3 kB / 0.5289 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.3965, allocations: 94.41 kB / 0.529 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.3966, allocations: 94.09 kB / 0.5291 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.3968, allocations: 203.2 kB / 0.5293 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003444/0.3971, allocations: 352.5 kB / 0.5296 GB, free: 5.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.3981, allocations: 0.971 MB / 0.5306 GB, free: 4.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3981, allocations: 1.219 kB / 0.5306 GB, free: 4.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3981, allocations: 0 / 0.5306 GB, free: 4.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.3982, allocations: 0 / 0.5306 GB, free: 4.965 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.001934/0.4001, allocations: 0.9246 MB / 0.5315 GB, free: 4.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.4001, allocations: 13.56 kB / 0.5315 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.4003, allocations: 85.19 kB / 0.5316 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.4005, allocations: 193.3 kB / 0.5317 GB, free: 4.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.4005, allocations: 64.14 kB / 0.5318 GB, free: 4.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.4007, allocations: 77.34 kB / 0.5319 GB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.4019, allocations: 0.7192 MB / 0.5326 GB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.402, allocations: 0 / 0.5326 GB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.042e-05/0.402, allocations: 31.16 kB / 0.5326 GB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/0.4021, allocations: 20.03 kB / 0.5326 GB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.4033, allocations: 0.6908 MB / 0.5333 GB, free: 3.508 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.003266/0.4066, allocations: 1.571 MB / 0.5348 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.4076, allocations: 0.6263 MB / 0.5354 GB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004816/0.4081, allocations: 305.5 kB / 0.5357 GB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.076e-05/0.4082, allocations: 12.56 kB / 0.5357 GB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.4082, allocations: 52.59 kB / 0.5358 GB, free: 2.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 3.036e-06/0.4082, allocations: 3.984 kB / 0.5358 GB, free: 2.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.007278/0.4155, allocations: 2.802 MB / 0.5385 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.4155, allocations: 67.5 kB / 0.5386 GB, free: 0.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.4156, allocations: 160.7 kB / 0.5388 GB, free: 0.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/0.4157, allocations: 45.52 kB / 0.5388 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.4158, allocations: 246.8 kB / 0.539 GB, free: 0.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.4161, allocations: 397.4 kB / 0.5394 GB, free: 188 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.4163, allocations: 149.7 kB / 0.5396 GB, free: 108 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.4165, allocations: 358.8 kB / 0.5399 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006015/0.4171, allocations: 295.7 kB / 0.5402 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006944/0.4178, allocations: 389.7 kB / 0.5406 GB, free: 15.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01071/0.4285, allocations: 2.249 MB / 0.5427 GB, free: 14.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.4285, allocations: 0 / 0.5427 GB, free: 14.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002655/0.4312, allocations: 1.039 MB / 0.5438 GB, free: 14.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.4312, allocations: 8.469 kB / 0.5438 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4312, allocations: 5.125 kB / 0.5438 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.4322, allocations: 209.3 kB / 0.544 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005364/0.4376, allocations: 0.757 MB / 0.5447 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/0.4507, allocations: 13.67 MB / 0.5581 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009081/0.4516, allocations: 30.34 kB / 0.5581 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.376e-05/0.4517, allocations: 32.52 kB / 0.5581 GB, free: 180 kB / 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.0006496/0.4523, allocations: 224.6 kB / 0.5583 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.4525, allocations: 45.66 kB / 0.5584 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003299/0.4558, allocations: 1.245 MB / 0.5596 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.4558, allocations: 9.906 kB / 0.5596 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4558, allocations: 2.469 kB / 0.5596 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.4558, allocations: 3.984 kB / 0.5596 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004507/0.4603, allocations: 2.122 MB / 0.5617 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.4603, allocations: 6.844 kB / 0.5617 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004957/0.4653, allocations: 0.7041 MB / 0.5624 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001885/0.4672, allocations: 360.8 kB / 0.5627 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.4673, allocations: 33.09 kB / 0.5628 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/0.4804, allocations: 13.84 MB / 0.5763 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/0.4804, allocations: 12.03 kB / 0.5763 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/0.4842, allocations: 1.812 MB / 0.578 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.4844, allocations: 55.91 kB / 0.5781 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.4845, allocations: 33.52 kB / 0.5781 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005675/0.4851, allocations: 31.59 kB / 0.5782 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002958/0.4854, allocations: 119.8 kB / 0.5783 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-05/0.4855, allocations: 40.61 kB / 0.5783 GB, free: 14.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001487/0.4856, allocations: 132.4 kB / 0.5784 GB, free: 14.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4856, allocations: 0 / 0.5784 GB, free: 14.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001286/0.4869, allocations: 234.2 kB / 0.5787 GB, free: 14.02 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.0002257/0.4871, allocations: 142.9 kB / 0.5788 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006874/0.494, allocations: 1.838 MB / 0.5806 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.494, allocations: 0 / 0.5806 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005601/0.4996, allocations: 1.501 MB / 0.5821 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.5007, allocations: 149 kB / 0.5822 GB, free: 10.28 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.5043, allocations: 1.774 MB / 0.5839 GB, free: 8.387 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.5047, allocations: 311.2 kB / 0.5842 GB, free: 8.055 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004877/0.5052, allocations: 88.78 kB / 0.5843 GB, free: 7.965 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.5054, allocations: 51.44 kB / 0.5844 GB, free: 7.914 MB / 430.1 MB Notification: Performance of SimCode: time 1.343e-06/0.5054, allocations: 0 / 0.5844 GB, free: 7.914 MB / 430.1 MB Notification: Performance of Templates: time 0.02242/0.5278, allocations: 12.02 MB / 0.5961 GB, free: 12.04 MB / 446.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: 6.077340787276626] Failed to read output from testmodel.py, exit status != 0: 0.538053635507822 0.552756734 0.151259779 Calling exit ...