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.001346/0.001346, allocations: 73.11 kB / 20.67 MB, free: 3.828 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.001731/0.001731, allocations: 177 kB / 24.08 MB, free: 432 kB / 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.003/1.003, allocations: 177.1 MB / 204.5 MB, free: 5.176 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.0779/0.0779, allocations: 18.13 MB / 279.2 MB, free: 11.05 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_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 1.854e-06/1.854e-06, allocations: 0 / 357.8 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.443e-05, allocations: 4.281 kB / 357.8 MB, free: 8.574 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.01041/0.01044, allocations: 4.203 MB / 362 MB, free: 4.348 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.01216, allocations: 1.333 MB / 363.3 MB, free: 3.012 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.01233, allocations: 4 kB / 363.3 MB, free: 3.008 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.01246, allocations: 87.06 kB / 363.4 MB, free: 2.922 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.01285, allocations: 249.7 kB / 363.6 MB, free: 2.676 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003456/0.01631, allocations: 319.3 kB / 364 MB, free: 2.363 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008414/0.01715, allocations: 1.196 MB / 365.2 MB, free: 1.164 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005407/0.01769, allocations: 0.5246 MB / 365.7 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000425/0.01811, allocations: 459.1 kB / 366.1 MB, free: 188 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005043/0.01862, allocations: 431 kB / 366.5 MB, free: 15.76 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.01875, allocations: 112 kB / 366.7 MB, free: 15.65 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.01889, allocations: 108 kB / 366.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.01904, allocations: 239.3 kB / 367 MB, free: 15.31 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003294/0.02233, allocations: 363.3 kB / 367.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006587/0.02299, allocations: 0.7553 MB / 368.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.023, allocations: 0 / 368.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.023, allocations: 0 / 368.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.023, allocations: 0 / 368.1 MB, free: 14.2 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001547/0.02455, allocations: 1.1 MB / 369.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.02458, allocations: 12.92 kB / 369.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.02477, allocations: 152.4 kB / 369.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.02492, allocations: 200.1 kB / 369.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.758e-05/0.02498, allocations: 66.38 kB / 369.6 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003116/0.02809, allocations: 84.38 kB / 369.7 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007671/0.02886, allocations: 0.5875 MB / 370.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.02888, allocations: 0 / 370.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.343e-05/0.02894, allocations: 36 kB / 370.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.02896, allocations: 24 kB / 370.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006154/0.02958, allocations: 429.5 kB / 370.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005885/0.03546, allocations: 1.703 MB / 372.5 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.03655, allocations: 0.6459 MB / 373.1 MB, free: 9.059 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.03686, allocations: 230.5 kB / 373.4 MB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.351e-05/0.03692, allocations: 25 kB / 373.4 MB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.03697, allocations: 54.39 kB / 373.4 MB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004321/0.0374, allocations: 171.3 kB / 373.6 MB, free: 8.578 MB / 346.7 MB Notification: Performance of pre-optimization done (n=113): time 2.835e-06/0.0374, allocations: 0 / 373.6 MB, free: 8.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=124): time 0.003776/0.04118, allocations: 2.307 MB / 375.9 MB, free: 6.223 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.04121, allocations: 64.41 kB / 376 MB, free: 6.148 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.04132, allocations: 222.5 kB / 376.2 MB, free: 5.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.04137, allocations: 45.7 kB / 376.2 MB, free: 5.859 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.04147, allocations: 296.4 kB / 376.5 MB, free: 5.562 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.04168, allocations: 444.1 kB / 377 MB, free: 5.125 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.04186, allocations: 188.5 kB / 377.1 MB, free: 4.934 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.04202, allocations: 0.5273 MB / 377.7 MB, free: 4.395 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.04221, allocations: 170.5 kB / 377.8 MB, free: 4.227 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.04247, allocations: 288.6 kB / 378.1 MB, free: 3.922 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007598/0.04323, allocations: 0.7651 MB / 378.9 MB, free: 3.145 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.04323, allocations: 0 / 378.9 MB, free: 3.145 MB / 346.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001063/0.04429, allocations: 0.8699 MB / 379.7 MB, free: 2.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.04431, allocations: 5.094 kB / 379.8 MB, free: 2.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.04432, allocations: 4 kB / 379.8 MB, free: 2.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005989/0.04491, allocations: 246.6 kB / 380 MB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002467/0.04738, allocations: 0.8233 MB / 380.8 MB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007497/0.05488, allocations: 18.44 MB / 399.3 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.05515, allocations: 32 kB / 399.3 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/0.0552, allocations: 31.97 kB / 399.3 MB, free: 13.5 MB / 378.7 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.0002645/0.05546, allocations: 225.5 kB / 399.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.05556, allocations: 91.66 kB / 399.6 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.0569, allocations: 1.133 MB / 400.8 MB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.05691, allocations: 16 kB / 400.8 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.05692, allocations: 8 kB / 400.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.05693, allocations: 11.91 kB / 400.8 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/0.05892, allocations: 1.814 MB / 402.6 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.05893, allocations: 7.984 kB / 402.6 MB, free: 9.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002217/0.06114, allocations: 0.7729 MB / 403.4 MB, free: 9.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009782/0.06212, allocations: 410.1 kB / 403.8 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.746e-05/0.06217, allocations: 35.98 kB / 403.8 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007487/0.06965, allocations: 18.59 MB / 422.4 MB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.06966, allocations: 11.94 kB / 422.4 MB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.07148, allocations: 1.56 MB / 424 MB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.07154, allocations: 59.61 kB / 424.1 MB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.079e-05/0.0716, allocations: 31.98 kB / 424.1 MB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.07189, allocations: 32 kB / 424.1 MB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.07205, allocations: 128.6 kB / 424.2 MB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/0.0721, allocations: 35.98 kB / 424.3 MB, free: 3.016 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.358e-05/0.07218, allocations: 164.1 kB / 424.4 MB, free: 2.855 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.07218, allocations: 0 / 424.4 MB, free: 2.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000779/0.07296, allocations: 264 kB / 424.7 MB, free: 2.598 MB / 394.7 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.0001939/0.07316, allocations: 143 kB / 424.8 MB, free: 2.445 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00302/0.07618, allocations: 1.919 MB / 426.8 MB, free: 464 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.07618, allocations: 8 kB / 426.8 MB, free: 456 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002469/0.07865, allocations: 1.676 MB / 428.4 MB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005732/0.07922, allocations: 188.8 kB / 428.6 MB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.08127, allocations: 1.688 MB / 430.3 MB, free: 12.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.08139, allocations: 178.6 kB / 430.5 MB, free: 12.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003259/0.08172, allocations: 113.1 kB / 430.6 MB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/0.0821, allocations: 250.1 kB / 430.8 MB, free: 12.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.08211, allocations: 0 / 430.8 MB, free: 12.12 MB / 410.7 MB Notification: Performance of Templates: time 0.1446/0.2267, allocations: 14.27 MB / 445.1 MB, free: 116.3 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7260649888776243]