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.001922/0.001922, allocations: 88.98 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002047/0.002047, allocations: 161.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.547/1.547, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 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.1168/0.1168, allocations: 18.14 MB / 278.5 MB, free: 11.34 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 356.5 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.82e-05/4.048e-05, allocations: 2.312 kB / 356.5 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.01049/0.01053, allocations: 3.978 MB / 360.5 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004671/0.0152, allocations: 1.298 MB / 361.8 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004963/0.0157, allocations: 4 kB / 361.8 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.016, allocations: 79.14 kB / 361.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008587/0.01686, allocations: 233.8 kB / 362.1 MB, free: 2.57 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009084/0.01776, allocations: 295.4 kB / 362.4 MB, free: 2.281 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001891/0.01965, allocations: 1.119 MB / 363.5 MB, free: 1.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009417/0.0206, allocations: 410 kB / 363.9 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008612/0.02146, allocations: 387.2 kB / 364.3 MB, free: 388 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008551/0.02231, allocations: 335.1 kB / 364.6 MB, free: 52 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002752/0.02259, allocations: 92.05 kB / 364.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002765/0.02286, allocations: 96 kB / 364.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002988/0.02316, allocations: 191.4 kB / 365 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006299/0.02379, allocations: 315.4 kB / 365.3 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.0257, allocations: 1.02 MB / 366.3 MB, free: 14.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.02571, allocations: 3.938 kB / 366.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.02571, allocations: 0 / 366.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.02572, allocations: 0 / 366.3 MB, free: 14.34 MB / 298.7 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.003787/0.02951, allocations: 1.065 MB / 367.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.484e-05/0.02958, allocations: 12.02 kB / 367.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004262/0.03, allocations: 148.5 kB / 367.5 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.03039, allocations: 187.7 kB / 367.7 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.0305, allocations: 62.38 kB / 367.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002167/0.03072, allocations: 84.38 kB / 367.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.03277, allocations: 0.7123 MB / 368.6 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.0328, allocations: 192 / 368.6 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.03291, allocations: 31.94 kB / 368.6 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-05/0.03295, allocations: 20 kB / 368.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.03508, allocations: 0.6832 MB / 369.3 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005737/0.04081, allocations: 1.774 MB / 371.1 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002198/0.04301, allocations: 0.6703 MB / 371.8 MB, free: 8.766 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/0.04411, allocations: 306.6 kB / 372.1 MB, free: 8.465 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.04424, allocations: 24.98 kB / 372.1 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.452e-05/0.0443, allocations: 54.33 kB / 372.1 MB, free: 8.379 MB / 298.7 MB Notification: Performance of pre-optimization done (n=102): time 4.719e-06/0.04431, allocations: 0 / 372.1 MB, free: 8.379 MB / 298.7 MB Notification: Performance of matching and sorting (n=112): time 0.01376/0.05807, allocations: 2.868 MB / 375 MB, free: 5.461 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.463e-05/0.05816, allocations: 64.41 kB / 375.1 MB, free: 5.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/0.05854, allocations: 238.4 kB / 375.3 MB, free: 5.137 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.05867, allocations: 46.25 kB / 375.4 MB, free: 5.086 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003548/0.05902, allocations: 288.2 kB / 375.6 MB, free: 4.797 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006698/0.05969, allocations: 424.5 kB / 376 MB, free: 4.379 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005256/0.06022, allocations: 192.3 kB / 376.2 MB, free: 4.184 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0005378/0.06075, allocations: 0.5547 MB / 376.8 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.06187, allocations: 301.8 kB / 377.1 MB, free: 3.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.06319, allocations: 425.3 kB / 377.5 MB, free: 2.887 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003899/0.06709, allocations: 1.148 MB / 378.6 MB, free: 1.719 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.0671, allocations: 0 / 378.6 MB, free: 1.719 MB / 298.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004543/0.07164, allocations: 1.101 MB / 379.7 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.07167, allocations: 8 kB / 379.8 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.07169, allocations: 3.984 kB / 379.8 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00257/0.07426, allocations: 294.4 kB / 380 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01086/0.08512, allocations: 0.7608 MB / 380.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02808/0.1132, allocations: 19.24 MB / 400 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.1142, allocations: 32.02 kB / 400.1 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.1143, allocations: 28 kB / 400.1 MB, free: 10.98 MB / 330.7 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.0007678/0.1151, allocations: 277.4 kB / 400.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002891/0.1154, allocations: 83.72 kB / 400.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005462/0.1209, allocations: 1.317 MB / 401.8 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/0.1209, allocations: 16 kB / 401.8 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.1209, allocations: 0 / 401.8 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/0.1209, allocations: 11.97 kB / 401.8 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008071/0.129, allocations: 2.378 MB / 404.2 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/0.129, allocations: 8.906 kB / 404.2 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009519/0.1385, allocations: 0.7062 MB / 404.9 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00442/0.1429, allocations: 446.2 kB / 405.3 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001927/0.1431, allocations: 31.98 kB / 405.4 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1577/0.3008, allocations: 19.43 MB / 424.8 MB, free: 49.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.3008, allocations: 7.25 kB / 424.8 MB, free: 49.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003267/0.3041, allocations: 2.008 MB / 426.8 MB, free: 48.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.883e-05/0.3042, allocations: 53.52 kB / 426.9 MB, free: 48.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.495e-05/0.3042, allocations: 31.77 kB / 426.9 MB, free: 48.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/0.3048, allocations: 31.3 kB / 426.9 MB, free: 48.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002711/0.305, allocations: 124.3 kB / 427 MB, free: 48.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-05/0.3051, allocations: 39.12 kB / 427.1 MB, free: 48.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.727e-05/0.3052, allocations: 171.2 kB / 427.2 MB, free: 48.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3052, allocations: 0 / 427.2 MB, free: 48.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009302/0.3061, allocations: 231.2 kB / 427.5 MB, free: 48.16 MB / 330.7 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.0001804/0.3063, allocations: 140.6 kB / 427.6 MB, free: 48.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006884/0.3132, allocations: 2.153 MB / 429.8 MB, free: 47.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.3132, allocations: 1.25 kB / 429.8 MB, free: 47.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00569/0.3189, allocations: 1.782 MB / 431.5 MB, free: 46.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.3199, allocations: 160.9 kB / 431.7 MB, free: 46.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.3226, allocations: 1.778 MB / 433.5 MB, free: 44.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.3229, allocations: 311.6 kB / 433.8 MB, free: 44.87 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004384/0.3233, allocations: 87.38 kB / 433.9 MB, free: 44.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.3235, allocations: 48.28 kB / 433.9 MB, free: 44.83 MB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.3235, allocations: 4 kB / 433.9 MB, free: 44.82 MB / 330.7 MB Notification: Performance of Templates: time 0.01635/0.3399, allocations: 11.27 MB / 445.2 MB, free: 36.39 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.71850501303561]