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.0009802/0.0009802, allocations: 77.97 kB / 21.46 MB, free: 3.043 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.00106/0.00106, allocations: 166.8 kB / 24.85 MB, free: 8.641 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 0.9921/0.9921, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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.06621/0.06621, allocations: 18.14 MB / 280 MB, free: 11.17 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 1.262e-06/1.262e-06, allocations: 0 / 358.6 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.497e-05, allocations: 5.406 kB / 358.6 MB, free: 8.555 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.003608/0.003633, allocations: 3.985 MB / 362.6 MB, free: 4.547 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.005298, allocations: 1.29 MB / 363.9 MB, free: 3.254 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.005477, allocations: 4 kB / 363.9 MB, free: 3.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.005595, allocations: 79.14 kB / 363.9 MB, free: 3.172 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.005923, allocations: 229.9 kB / 364.2 MB, free: 2.945 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.006319, allocations: 291.4 kB / 364.4 MB, free: 2.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006718/0.00699, allocations: 1.13 MB / 365.6 MB, free: 1.527 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003965/0.007387, allocations: 402 kB / 366 MB, free: 1.129 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003461/0.007733, allocations: 399.2 kB / 366.4 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003267/0.00806, allocations: 331.1 kB / 366.7 MB, free: 424 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.577e-05/0.008146, allocations: 92 kB / 366.8 MB, free: 332 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.042e-05/0.008236, allocations: 96 kB / 366.9 MB, free: 236 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.008338, allocations: 195.4 kB / 367.1 MB, free: 40 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.008561, allocations: 319.3 kB / 367.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.009018, allocations: 0.6268 MB / 368 MB, free: 15.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.009022, allocations: 0 / 368 MB, free: 15.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.009023, allocations: 0 / 368 MB, free: 15.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.00903, allocations: 0 / 368 MB, free: 15.1 MB / 346.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.001149/0.01018, allocations: 1.034 MB / 369 MB, free: 14.03 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.01021, allocations: 12.03 kB / 369 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.01035, allocations: 140.5 kB / 369.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.01049, allocations: 194.3 kB / 369.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.544e-05/0.01054, allocations: 62.38 kB / 369.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.212e-05/0.01062, allocations: 84.38 kB / 369.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005031/0.01112, allocations: 0.4943 MB / 370 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.01114, allocations: 192 / 370 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.611e-05/0.01119, allocations: 39.94 kB / 370 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.0112, allocations: 20 kB / 370.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003888/0.01159, allocations: 353.6 kB / 370.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.01333, allocations: 1.458 MB / 371.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.0138, allocations: 434.3 kB / 372.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.01398, allocations: 178.6 kB / 372.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.433e-05/0.01403, allocations: 17 kB / 372.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.01406, allocations: 50.39 kB / 372.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=102): time 2.284e-06/0.01406, allocations: 4 kB / 372.5 MB, free: 10.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=112): time 0.003208/0.01727, allocations: 2.029 MB / 374.6 MB, free: 8.344 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.01729, allocations: 60.41 kB / 374.6 MB, free: 8.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.0174, allocations: 213.8 kB / 374.8 MB, free: 8.043 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.01745, allocations: 41.7 kB / 374.9 MB, free: 7.996 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.01755, allocations: 288.2 kB / 375.2 MB, free: 7.707 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.01775, allocations: 400.4 kB / 375.5 MB, free: 7.312 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.01791, allocations: 164.7 kB / 375.7 MB, free: 7.145 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.01805, allocations: 0.5312 MB / 376.2 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.01822, allocations: 137.9 kB / 376.4 MB, free: 6.469 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.01843, allocations: 245.1 kB / 376.6 MB, free: 6.207 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006155/0.01905, allocations: 0.6163 MB / 377.2 MB, free: 5.574 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.01905, allocations: 3.938 kB / 377.2 MB, free: 5.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0009808/0.02003, allocations: 0.7495 MB / 378 MB, free: 4.797 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.02005, allocations: 8 kB / 378 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.02006, allocations: 0 / 378 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006403/0.0207, allocations: 254.5 kB / 378.2 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/0.02326, allocations: 0.7725 MB / 379 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007617/0.03087, allocations: 18.42 MB / 397.4 MB, free: 176 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.03121, allocations: 27.98 kB / 397.5 MB, free: 148 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.03125, allocations: 24.16 kB / 397.5 MB, free: 124 kB / 362.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.0003245/0.03158, allocations: 229.5 kB / 397.7 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.03168, allocations: 79.72 kB / 397.8 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.03295, allocations: 0.9455 MB / 398.7 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.03295, allocations: 12 kB / 398.7 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.03296, allocations: 0 / 398.7 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.03297, allocations: 7.969 kB / 398.7 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.035, allocations: 1.707 MB / 400.5 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.035, allocations: 8 kB / 400.5 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002291/0.03729, allocations: 0.7105 MB / 401.2 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001096/0.03839, allocations: 402.2 kB / 401.6 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.221e-05/0.03844, allocations: 28 kB / 401.6 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007704/0.04614, allocations: 18.55 MB / 420.1 MB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.04615, allocations: 11.94 kB / 420.2 MB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.04804, allocations: 1.407 MB / 421.6 MB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.857e-05/0.04812, allocations: 59.64 kB / 421.6 MB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.886e-05/0.04817, allocations: 24 kB / 421.6 MB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.04846, allocations: 47.86 kB / 421.7 MB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.04865, allocations: 112.7 kB / 421.8 MB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.04868, allocations: 28 kB / 421.8 MB, free: 6.219 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.714e-05/0.04875, allocations: 159.8 kB / 422 MB, free: 6.062 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04875, allocations: 0 / 422 MB, free: 6.062 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009877/0.04974, allocations: 232 kB / 422.2 MB, free: 5.836 MB / 394.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.0001869/0.04993, allocations: 143 kB / 422.3 MB, free: 5.688 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007089/0.05701, allocations: 1.813 MB / 424.2 MB, free: 3.797 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.05702, allocations: 0 / 424.2 MB, free: 3.797 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00638/0.0634, allocations: 1.609 MB / 425.8 MB, free: 2.117 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003783/0.06718, allocations: 169 kB / 425.9 MB, free: 1.953 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.06976, allocations: 1.601 MB / 427.5 MB, free: 200 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.06992, allocations: 169.3 kB / 427.7 MB, free: 8 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003422/0.07335, allocations: 84.73 kB / 427.8 MB, free: 15.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/0.07373, allocations: 226 kB / 428 MB, free: 15.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.383e-06/0.07373, allocations: 4 kB / 428 MB, free: 15.7 MB / 410.7 MB Notification: Performance of Templates: time 0.03763/0.1114, allocations: 12.51 MB / 440.5 MB, free: 3.355 MB / 410.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: 3.759191504213959]