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.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.001445/0.001445, 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.001624/0.001624, allocations: 210.7 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.589/1.589, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1091/0.1091, allocations: 24.03 MB / 337.2 MB, free: 11.37 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_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: 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.002376/0.002376, allocations: 64.12 kB / 474.3 MB, free: 5.898 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4247, allocations: 59.57 MB / 0.5214 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.005386/0.4301, allocations: 3.78 MB / 0.5251 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002907/0.433, allocations: 1.314 MB / 0.5264 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.4332, allocations: 3.969 kB / 0.5264 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.4335, allocations: 87.25 kB / 0.5265 GB, free: 6.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004797/0.4339, allocations: 232.1 kB / 0.5267 GB, free: 6.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006722/0.4346, allocations: 312.4 kB / 0.527 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.4357, allocations: 1.164 MB / 0.5281 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006998/0.4364, allocations: 0.496 MB / 0.5286 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005842/0.437, allocations: 488.1 kB / 0.5291 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007292/0.4377, allocations: 468.4 kB / 0.5295 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.4379, allocations: 111.4 kB / 0.5296 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002478/0.4381, allocations: 112 kB / 0.5297 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.4383, allocations: 230.6 kB / 0.5299 GB, free: 5.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000432/0.4388, allocations: 426 kB / 0.5303 GB, free: 4.945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.4401, allocations: 1.124 MB / 0.5314 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.4401, allocations: 4.797 kB / 0.5315 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4401, allocations: 1.281 kB / 0.5315 GB, free: 4.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.4401, allocations: 0 / 0.5315 GB, free: 4.504 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.002325/0.4424, allocations: 0.9912 MB / 0.5324 GB, free: 3.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.4425, allocations: 10.61 kB / 0.5324 GB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.4427, allocations: 80.47 kB / 0.5325 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.4429, allocations: 206.3 kB / 0.5327 GB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-05/0.443, allocations: 69.94 kB / 0.5328 GB, free: 3.621 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.4431, allocations: 84.25 kB / 0.5329 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.4448, allocations: 0.8465 MB / 0.5337 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.4448, allocations: 4 kB / 0.5337 GB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.839e-05/0.4449, allocations: 36.23 kB / 0.5337 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.4449, allocations: 20.84 kB / 0.5337 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.4464, allocations: 0.8289 MB / 0.5345 GB, free: 2.918 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.004262/0.4507, allocations: 1.852 MB / 0.5364 GB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/0.4528, allocations: 0.9151 MB / 0.5372 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006383/0.4535, allocations: 387.6 kB / 0.5376 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.768e-05/0.4535, allocations: 23.69 kB / 0.5376 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.4536, allocations: 45.22 kB / 0.5377 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007128/0.4543, allocations: 160.6 kB / 0.5378 GB, free: 1.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=113): time 3.466e-06/0.4543, allocations: 3.938 kB / 0.5378 GB, free: 1.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=124): time 0.00876/0.4631, allocations: 3.229 MB / 0.541 GB, free: 15.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.4631, allocations: 64.78 kB / 0.5411 GB, free: 15.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.4633, allocations: 176.2 kB / 0.5412 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.85e-05/0.4634, allocations: 53.77 kB / 0.5413 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.4637, allocations: 253.4 kB / 0.5415 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004162/0.4641, allocations: 441.6 kB / 0.5419 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003146/0.4644, allocations: 175.1 kB / 0.5421 GB, free: 15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.4646, allocations: 356.9 kB / 0.5424 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000714/0.4653, allocations: 357.4 kB / 0.5428 GB, free: 14.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008681/0.4662, allocations: 455.9 kB / 0.5432 GB, free: 14.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01891/0.4851, allocations: 3.461 MB / 0.5466 GB, free: 12.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.4851, allocations: 3.844 kB / 0.5466 GB, free: 12.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002807/0.4879, allocations: 1.194 MB / 0.5478 GB, free: 11.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.4879, allocations: 8.219 kB / 0.5478 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.4879, allocations: 5.031 kB / 0.5478 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.489, allocations: 217.9 kB / 0.548 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006155/0.4951, allocations: 0.8153 MB / 0.5488 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0161/0.5112, allocations: 13.68 MB / 0.5621 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.5123, allocations: 26.56 kB / 0.5622 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-05/0.5124, allocations: 41.41 kB / 0.5622 GB, free: 13.81 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.0007927/0.5132, allocations: 230.1 kB / 0.5624 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.5133, allocations: 47.66 kB / 0.5625 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003416/0.5167, allocations: 1.479 MB / 0.5639 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.5167, allocations: 13.47 kB / 0.5639 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.5168, allocations: 2.25 kB / 0.5639 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/0.5168, allocations: 7.969 kB / 0.5639 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005076/0.5218, allocations: 2.283 MB / 0.5662 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.5219, allocations: 10.08 kB / 0.5662 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005421/0.5273, allocations: 0.7598 MB / 0.5669 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002124/0.5294, allocations: 361.2 kB / 0.5673 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001624/0.5296, allocations: 45.48 kB / 0.5673 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01491/0.5445, allocations: 13.91 MB / 0.5809 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/0.5445, allocations: 7.938 kB / 0.5809 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004544/0.549, allocations: 2.056 MB / 0.5829 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/0.5493, allocations: 51.73 kB / 0.583 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.5494, allocations: 39.92 kB / 0.583 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006609/0.5501, allocations: 32 kB / 0.583 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000448/0.5505, allocations: 128.6 kB / 0.5832 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.352e-05/0.5506, allocations: 44 kB / 0.5832 GB, free: 9.406 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.5507, allocations: 139.2 kB / 0.5833 GB, free: 9.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5507, allocations: 0 / 0.5833 GB, free: 9.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001435/0.5522, allocations: 256 kB / 0.5836 GB, free: 9.02 MB / 430.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.0002458/0.5524, allocations: 142.9 kB / 0.5837 GB, free: 8.871 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00771/0.5601, allocations: 1.983 MB / 0.5856 GB, free: 6.832 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/0.5601, allocations: 4 kB / 0.5856 GB, free: 6.828 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006354/0.5665, allocations: 1.587 MB / 0.5872 GB, free: 5.188 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.5676, allocations: 185.1 kB / 0.5874 GB, free: 5.008 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.5715, allocations: 1.888 MB / 0.5892 GB, free: 3.012 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.5719, allocations: 345.4 kB / 0.5895 GB, free: 2.648 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007505/0.5727, allocations: 109.1 kB / 0.5897 GB, free: 2.539 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.573, allocations: 71.34 kB / 0.5897 GB, free: 2.469 MB / 430.1 MB Notification: Performance of SimCode: time 1.172e-06/0.573, allocations: 0 / 0.5897 GB, free: 2.469 MB / 430.1 MB Notification: Performance of Templates: time 0.02647/0.5994, allocations: 14.04 MB / 0.6034 GB, free: 4.609 MB / 446.1 MB " [Timeout remaining time 659] 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: 6.276215076446533] Failed to read output from testmodel.py, exit status != 0: 0.6097305100411177 0.625316471 0.181808618 Calling exit ...