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.001929/0.001929, allocations: 101.2 kB / 16.45 MB, free: 6.449 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.002189/0.002189, allocations: 187.8 kB / 19.4 MB, free: 3.66 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.493/1.493, allocations: 225.6 MB / 247.8 MB, free: 13.97 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.1009/0.1009, allocations: 22.69 MB / 325.4 MB, free: 3.559 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.002129/0.002129, allocations: 59.91 kB / 457.7 MB, free: 1.289 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1163, allocations: 58.02 MB / 0.5036 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.006022/0.1223, allocations: 4.253 MB / 0.5078 GB, free: 2.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002715/0.125, allocations: 1.337 MB / 0.5091 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003687/0.1254, allocations: 4 kB / 0.5091 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.1257, allocations: 91 kB / 0.5091 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006867/0.1264, allocations: 237.9 kB / 0.5094 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008071/0.1272, allocations: 303.5 kB / 0.5097 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2383/0.3655, allocations: 1.162 MB / 0.5108 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.3665, allocations: 0.5088 MB / 0.5113 GB, free: 11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006883/0.3672, allocations: 473.7 kB / 0.5117 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006701/0.3679, allocations: 0.5212 MB / 0.5123 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.368, allocations: 112 kB / 0.5124 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.3682, allocations: 111.2 kB / 0.5125 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.3683, allocations: 238 kB / 0.5127 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003638/0.3687, allocations: 484.3 kB / 0.5132 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.3697, allocations: 1.122 MB / 0.5143 GB, free: 10.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3697, allocations: 0.625 kB / 0.5143 GB, free: 10.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3697, allocations: 1.219 kB / 0.5143 GB, free: 10.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.3697, allocations: 2.031 kB / 0.5143 GB, free: 10.63 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.002362/0.3721, allocations: 1.066 MB / 0.5153 GB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.3722, allocations: 9.125 kB / 0.5153 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.3723, allocations: 85.39 kB / 0.5154 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.3726, allocations: 250.8 kB / 0.5156 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.994e-05/0.3726, allocations: 68.38 kB / 0.5157 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.3728, allocations: 91.12 kB / 0.5158 GB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.3744, allocations: 0.8219 MB / 0.5166 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.3744, allocations: 0.7031 kB / 0.5166 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.089e-05/0.3745, allocations: 35.56 kB / 0.5166 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.3745, allocations: 21.28 kB / 0.5166 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.376, allocations: 0.8459 MB / 0.5175 GB, free: 9.715 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.004363/0.3803, allocations: 2.603 MB / 0.52 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/0.3825, allocations: 0.9414 MB / 0.5209 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000665/0.3831, allocations: 389.3 kB / 0.5213 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.067e-05/0.3832, allocations: 20.44 kB / 0.5213 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.3833, allocations: 48.25 kB / 0.5214 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006914/0.3839, allocations: 167.9 kB / 0.5215 GB, free: 7.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=113): time 3.247e-06/0.3839, allocations: 0 / 0.5215 GB, free: 7.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=124): time 0.008375/0.3923, allocations: 3.535 MB / 0.525 GB, free: 5.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.3924, allocations: 68.7 kB / 0.525 GB, free: 5.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.3926, allocations: 221.5 kB / 0.5253 GB, free: 5.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.838e-05/0.3927, allocations: 47.36 kB / 0.5253 GB, free: 5.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.3928, allocations: 246.3 kB / 0.5255 GB, free: 5.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/0.393, allocations: 438.5 kB / 0.5259 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002873/0.3933, allocations: 175.8 kB / 0.5261 GB, free: 5.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.3934, allocations: 362.7 kB / 0.5265 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000599/0.394, allocations: 362.1 kB / 0.5268 GB, free: 4.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006661/0.3947, allocations: 458.5 kB / 0.5272 GB, free: 4.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01981/0.4145, allocations: 3.476 MB / 0.5306 GB, free: 3.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.4145, allocations: 0.5 kB / 0.5306 GB, free: 3.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00316/0.4176, allocations: 1.21 MB / 0.5318 GB, free: 3.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.4177, allocations: 5.5 kB / 0.5318 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.4177, allocations: 2.25 kB / 0.5318 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.4187, allocations: 215.2 kB / 0.532 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006099/0.4248, allocations: 0.8168 MB / 0.5328 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/0.4388, allocations: 14.94 MB / 0.5474 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.4399, allocations: 37.55 kB / 0.5475 GB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.44, allocations: 38.55 kB / 0.5475 GB, free: 3.812 MB / 398.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.0006466/0.4407, allocations: 246.7 kB / 0.5477 GB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.4408, allocations: 53.67 kB / 0.5478 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004017/0.4448, allocations: 1.479 MB / 0.5492 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.4448, allocations: 13.09 kB / 0.5492 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.4449, allocations: 2.312 kB / 0.5492 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/0.4449, allocations: 3.984 kB / 0.5492 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005322/0.4502, allocations: 2.58 MB / 0.5518 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.4502, allocations: 7.281 kB / 0.5518 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005629/0.4558, allocations: 0.7551 MB / 0.5525 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002106/0.4579, allocations: 370.5 kB / 0.5529 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001658/0.4581, allocations: 37.98 kB / 0.5529 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01479/0.4729, allocations: 15.19 MB / 0.5677 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/0.4729, allocations: 10.22 kB / 0.5677 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004355/0.4773, allocations: 2.063 MB / 0.5698 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.4775, allocations: 138.9 kB / 0.5699 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.4776, allocations: 31.69 kB / 0.5699 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006938/0.4783, allocations: 35.64 kB / 0.57 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000342/0.4786, allocations: 123.5 kB / 0.5701 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.898e-05/0.4787, allocations: 39.89 kB / 0.5701 GB, free: 15.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001793/0.4789, allocations: 166.8 kB / 0.5703 GB, free: 15.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4789, allocations: 0 / 0.5703 GB, free: 15.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001206/0.4801, allocations: 264.5 kB / 0.5705 GB, free: 15.43 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.0002272/0.4803, allocations: 139.6 kB / 0.5707 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007916/0.4883, allocations: 1.995 MB / 0.5726 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/0.4883, allocations: 0 / 0.5726 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006787/0.4951, allocations: 1.59 MB / 0.5742 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.4964, allocations: 201.3 kB / 0.5743 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.5002, allocations: 1.904 MB / 0.5762 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006785/0.5009, allocations: 0.9377 MB / 0.5771 GB, free: 9.379 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007186/0.5016, allocations: 113.5 kB / 0.5772 GB, free: 9.266 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/0.5019, allocations: 67.41 kB / 0.5773 GB, free: 9.199 MB / 430.1 MB Notification: Performance of SimCode: time 1.372e-06/0.5019, allocations: 0 / 0.5773 GB, free: 9.199 MB / 430.1 MB Notification: Performance of Templates: time 0.02861/0.5305, allocations: 14 MB / 0.591 GB, free: 11.32 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.013713896274567] Failed to read output from testmodel.py, exit status != 0: 0.5399307161569595 0.554511883 0.18149595899999996 Calling exit ...