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.001012/0.001012, allocations: 91.56 kB / 20.45 MB, free: 4.117 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.001034/0.001034, allocations: 169 kB / 23.82 MB, free: 0.75 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.9686/0.9686, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.0618/0.0618, allocations: 18.13 MB / 278.9 MB, free: 11.32 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.613e-06/1.613e-06, allocations: 0 / 357.3 MB, free: 8.859 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.2e-05, allocations: 2.312 kB / 357.3 MB, free: 8.855 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.003955/0.003977, allocations: 4.246 MB / 361.6 MB, free: 4.586 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.006535, allocations: 1.337 MB / 362.9 MB, free: 3.246 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.006787, allocations: 4 kB / 362.9 MB, free: 3.242 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.006923, allocations: 87.06 kB / 363 MB, free: 3.156 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004645/0.007387, allocations: 257.6 kB / 363.2 MB, free: 2.902 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007153/0.008102, allocations: 311.4 kB / 363.5 MB, free: 2.598 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009249/0.009027, allocations: 1.2 MB / 364.7 MB, free: 1.395 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004869/0.009514, allocations: 0.5208 MB / 365.3 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003774/0.009892, allocations: 459.1 kB / 365.7 MB, free: 428 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004299/0.01032, allocations: 427 kB / 366.1 MB, free: 0 / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.01043, allocations: 108 kB / 366.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.01054, allocations: 116 kB / 366.3 MB, free: 15.78 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.01066, allocations: 235.2 kB / 366.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.0109, allocations: 367.3 kB / 366.9 MB, free: 15.19 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005755/0.01147, allocations: 0.7553 MB / 367.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.01148, allocations: 0 / 367.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01148, allocations: 0 / 367.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.01149, allocations: 0 / 367.7 MB, free: 14.43 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.001327/0.01281, allocations: 1.085 MB / 368.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.01285, allocations: 12.92 kB / 368.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.01304, allocations: 156.4 kB / 368.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.01319, allocations: 203.2 kB / 369.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.082e-05/0.01324, allocations: 66.38 kB / 369.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.253e-05/0.01333, allocations: 92.38 kB / 369.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000808/0.01414, allocations: 0.6617 MB / 370 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.01416, allocations: 0 / 370 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.461e-05/0.01421, allocations: 36 kB / 370 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.01423, allocations: 20 kB / 370 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006988/0.01493, allocations: 0.5385 MB / 370.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.01718, allocations: 1.757 MB / 372.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.0183, allocations: 0.7085 MB / 373 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/0.01864, allocations: 282.5 kB / 373.3 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.206e-05/0.01871, allocations: 25 kB / 373.3 MB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.01874, allocations: 46.39 kB / 373.4 MB, free: 8.625 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003416/0.01908, allocations: 167.3 kB / 373.5 MB, free: 8.461 MB / 346.7 MB Notification: Performance of pre-optimization done (n=113): time 2.434e-06/0.01908, allocations: 0 / 373.5 MB, free: 8.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=124): time 0.004076/0.02316, allocations: 2.647 MB / 376.2 MB, free: 5.766 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.02319, allocations: 64.41 kB / 376.2 MB, free: 5.691 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.02332, allocations: 222.6 kB / 376.4 MB, free: 5.453 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.24e-05/0.02337, allocations: 45.7 kB / 376.5 MB, free: 5.402 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.02349, allocations: 304.3 kB / 376.8 MB, free: 5.098 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.0237, allocations: 436.2 kB / 377.2 MB, free: 4.668 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/0.02389, allocations: 180.6 kB / 377.4 MB, free: 4.484 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.02403, allocations: 0.5274 MB / 377.9 MB, free: 3.945 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.02434, allocations: 230.5 kB / 378.1 MB, free: 3.719 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.02471, allocations: 340.6 kB / 378.5 MB, free: 3.363 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.02579, allocations: 0.9176 MB / 379.4 MB, free: 2.434 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.02579, allocations: 0 / 379.4 MB, free: 2.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001391/0.02718, allocations: 0.9834 MB / 380.4 MB, free: 1.426 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.0272, allocations: 7.984 kB / 380.4 MB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.02721, allocations: 4 kB / 380.4 MB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006465/0.02785, allocations: 250.4 kB / 380.6 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002559/0.03041, allocations: 0.8233 MB / 381.5 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007263/0.03768, allocations: 18.64 MB / 400.1 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.03792, allocations: 27.98 kB / 400.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.03797, allocations: 39.98 kB / 400.2 MB, free: 12.37 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.0002593/0.03823, allocations: 237.6 kB / 400.4 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.03834, allocations: 95.64 kB / 400.5 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.03992, allocations: 1.231 MB / 401.7 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.03992, allocations: 12 kB / 401.7 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.03993, allocations: 3.938 kB / 401.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.03993, allocations: 15.97 kB / 401.8 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.04216, allocations: 1.981 MB / 403.7 MB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.04217, allocations: 8 kB / 403.7 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002329/0.04449, allocations: 0.7655 MB / 404.5 MB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001087/0.04558, allocations: 422.2 kB / 404.9 MB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.766e-05/0.04565, allocations: 36 kB / 405 MB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007771/0.05342, allocations: 18.81 MB / 423.8 MB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.05343, allocations: 7.938 kB / 423.8 MB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.05539, allocations: 1.721 MB / 425.5 MB, free: 1.426 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.05544, allocations: 55.59 kB / 425.5 MB, free: 1.371 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.431e-05/0.0555, allocations: 36.12 kB / 425.6 MB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.05578, allocations: 32 kB / 425.6 MB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/0.05598, allocations: 136.5 kB / 425.7 MB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.05602, allocations: 47.98 kB / 425.8 MB, free: 1.125 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.741e-05/0.0561, allocations: 168.2 kB / 426 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.0561, allocations: 0 / 426 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000666/0.05677, allocations: 260 kB / 426.2 MB, free: 0.707 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.0001539/0.05692, allocations: 135 kB / 426.3 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003249/0.06017, allocations: 2.025 MB / 428.4 MB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.06018, allocations: 0 / 428.4 MB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002635/0.06281, allocations: 1.727 MB / 430.1 MB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005976/0.06341, allocations: 184.8 kB / 430.3 MB, free: 12.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.06604, allocations: 1.748 MB / 432 MB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.06619, allocations: 178.5 kB / 432.2 MB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004481/0.06664, allocations: 109.1 kB / 432.3 MB, free: 10.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.06684, allocations: 64.47 kB / 432.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.733e-06/0.06684, allocations: 4 kB / 432.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of Templates: time 0.1464/0.2132, allocations: 13.67 MB / 446 MB, free: 118.4 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.6401595012284815]