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.001622/0.001622, allocations: 82.41 kB / 19.76 MB, free: 1.875 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.002099/0.002099, allocations: 163.2 kB / 23.01 MB, free: 4.594 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.572/1.572, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.1069/0.1069, allocations: 17.8 MB / 277.6 MB, free: 15.34 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.003178/0.003178, allocations: 59.91 kB / 414.7 MB, free: 4.492 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1483, allocations: 59.55 MB / 474.2 MB, free: 8.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.005771/0.1541, allocations: 3.799 MB / 478 MB, free: 4.996 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003492/0.1576, allocations: 1.302 MB / 479.3 MB, free: 3.691 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.1579, allocations: 4 kB / 479.3 MB, free: 3.688 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.1581, allocations: 87.06 kB / 479.4 MB, free: 3.602 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004801/0.1585, allocations: 237.9 kB / 479.6 MB, free: 3.367 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006581/0.1592, allocations: 311.5 kB / 479.9 MB, free: 3.062 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001304/0.1605, allocations: 1.154 MB / 481.1 MB, free: 1.902 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00079/0.1613, allocations: 0.5012 MB / 481.6 MB, free: 1.395 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006471/0.1619, allocations: 478.8 kB / 482.1 MB, free: 0.9258 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000731/0.1627, allocations: 478.2 kB / 482.5 MB, free: 468 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.1628, allocations: 115.9 kB / 482.6 MB, free: 352 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.163, allocations: 112 kB / 482.7 MB, free: 240 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.1632, allocations: 227.4 kB / 483 MB, free: 12 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2158/0.379, allocations: 413.2 kB / 483.4 MB, free: 47.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.3802, allocations: 1.129 MB / 484.5 MB, free: 47.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3802, allocations: 3.125 kB / 484.5 MB, free: 47.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3802, allocations: 3.844 kB / 484.5 MB, free: 47.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.3802, allocations: 0 / 484.5 MB, free: 47.21 MB / 446.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.002028/0.3823, allocations: 0.9986 MB / 485.5 MB, free: 46.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3823, allocations: 10.73 kB / 485.5 MB, free: 46.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.3824, allocations: 79.47 kB / 485.6 MB, free: 46.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.3826, allocations: 191.2 kB / 485.8 MB, free: 46.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.906e-05/0.3826, allocations: 68.75 kB / 485.8 MB, free: 46.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.3827, allocations: 90 kB / 485.9 MB, free: 46.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.3839, allocations: 0.857 MB / 486.8 MB, free: 46.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.3839, allocations: 3.312 kB / 486.8 MB, free: 46.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.702e-05/0.384, allocations: 34.47 kB / 486.8 MB, free: 46.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.384, allocations: 21.88 kB / 486.9 MB, free: 46.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.3852, allocations: 0.8304 MB / 487.7 MB, free: 46.42 MB / 446.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.003328/0.3886, allocations: 1.832 MB / 489.5 MB, free: 46.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.3902, allocations: 0.9229 MB / 490.4 MB, free: 45.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/0.3907, allocations: 386.2 kB / 490.8 MB, free: 45.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.264e-05/0.3908, allocations: 16.81 kB / 490.8 MB, free: 45.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.3908, allocations: 42.75 kB / 490.9 MB, free: 45.56 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006005/0.3914, allocations: 170 kB / 491 MB, free: 45.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=113): time 3.527e-06/0.3914, allocations: 0 / 491 MB, free: 45.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=124): time 0.006953/0.3984, allocations: 3.231 MB / 494.3 MB, free: 44.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.3984, allocations: 74.66 kB / 494.3 MB, free: 44.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.3985, allocations: 176.7 kB / 494.5 MB, free: 43.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.3986, allocations: 44.77 kB / 494.6 MB, free: 43.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.159e-05/0.3987, allocations: 249.8 kB / 494.8 MB, free: 43.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.3989, allocations: 443.1 kB / 495.2 MB, free: 43.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.3991, allocations: 173.5 kB / 495.4 MB, free: 43.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.91e-05/0.3992, allocations: 360.2 kB / 495.8 MB, free: 42.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/0.3997, allocations: 361.9 kB / 496.1 MB, free: 42.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005451/0.4003, allocations: 452.5 kB / 496.6 MB, free: 42.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01692/0.4172, allocations: 3.46 MB / 0.4883 GB, free: 41.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.4172, allocations: 0 / 0.4883 GB, free: 41.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002207/0.4194, allocations: 1.197 MB / 0.4895 GB, free: 41.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.4194, allocations: 10.5 kB / 0.4895 GB, free: 41.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.4194, allocations: 0 / 0.4895 GB, free: 41.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009258/0.4203, allocations: 211.4 kB / 0.4897 GB, free: 41.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005537/0.4259, allocations: 0.8146 MB / 0.4905 GB, free: 41.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007719/0.4336, allocations: 13.68 MB / 0.5038 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007304/0.4343, allocations: 28.84 kB / 0.5039 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.091e-05/0.4344, allocations: 40.14 kB / 0.5039 GB, free: 27.75 MB / 446.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.0004057/0.4348, allocations: 228.6 kB / 0.5041 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.4349, allocations: 53.06 kB / 0.5042 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/0.4375, allocations: 1.48 MB / 0.5056 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.4375, allocations: 12.78 kB / 0.5056 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4375, allocations: 1.781 kB / 0.5056 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.4375, allocations: 10.56 kB / 0.5056 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003379/0.4409, allocations: 2.282 MB / 0.5079 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.4409, allocations: 6.156 kB / 0.5079 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005062/0.446, allocations: 0.7599 MB / 0.5086 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001815/0.4478, allocations: 370.6 kB / 0.509 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.465e-05/0.4479, allocations: 35.42 kB / 0.509 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/0.458, allocations: 13.92 MB / 0.5226 GB, free: 28.14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.4581, allocations: 12.22 kB / 0.5226 GB, free: 28.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003497/0.4615, allocations: 2.048 MB / 0.5246 GB, free: 27.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.4617, allocations: 57.86 kB / 0.5247 GB, free: 26.99 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.4618, allocations: 29.16 kB / 0.5247 GB, free: 26.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006724/0.4625, allocations: 37.78 kB / 0.5247 GB, free: 26.95 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002871/0.4628, allocations: 131.3 kB / 0.5248 GB, free: 26.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.4629, allocations: 42.09 kB / 0.5249 GB, free: 26.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.463, allocations: 129.8 kB / 0.525 GB, free: 26.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.463, allocations: 0 / 0.525 GB, free: 26.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001147/0.4642, allocations: 260.2 kB / 0.5253 GB, free: 26.79 MB / 462.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.0001923/0.4644, allocations: 149 kB / 0.5254 GB, free: 26.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00693/0.4713, allocations: 1.985 MB / 0.5273 GB, free: 25.83 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.4713, allocations: 2.094 kB / 0.5273 GB, free: 25.83 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005933/0.4772, allocations: 1.579 MB / 0.5289 GB, free: 25.11 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.4783, allocations: 179.8 kB / 0.5291 GB, free: 25.05 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.4811, allocations: 1.894 MB / 0.5309 GB, free: 23.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.4815, allocations: 339.3 kB / 0.5312 GB, free: 23.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005892/0.482, allocations: 113.4 kB / 0.5313 GB, free: 23.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.4823, allocations: 65.88 kB / 0.5314 GB, free: 23.67 MB / 462.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4823, allocations: 0 / 0.5314 GB, free: 23.67 MB / 462.1 MB Notification: Performance of Templates: time 0.02511/0.5074, allocations: 13.08 MB / 0.5442 GB, free: 22.31 MB / 462.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 -s ida -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.0553273760015145] Failed to read output from testmodel.py, exit status != 0: 0.5180175279965624 0.534830445 0.151156054 Calling exit ...