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.0009854/0.0009854, allocations: 72.83 kB / 20.74 MB, free: 3.754 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.00116/0.00116, allocations: 173 kB / 24.17 MB, free: 336 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.061/1.061, allocations: 177.1 MB / 204.6 MB, free: 5.469 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.06602/0.06602, allocations: 18.14 MB / 279.2 MB, free: 11.18 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.553e-06/1.553e-06, allocations: 0 / 304.6 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.379e-05, allocations: 2.312 kB / 304.6 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.003675/0.003689, allocations: 4.244 MB / 308.8 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.005225, allocations: 1.372 MB / 310.2 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.005357, allocations: 4 kB / 310.2 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.00547, allocations: 90.22 kB / 310.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.005785, allocations: 249.7 kB / 310.5 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.006152, allocations: 311.3 kB / 310.8 MB, free: 11.63 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000749/0.006901, allocations: 1.208 MB / 312 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004185/0.00732, allocations: 0.5252 MB / 312.6 MB, free: 9.891 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003129/0.007633, allocations: 459.2 kB / 313 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003914/0.008024, allocations: 430.9 kB / 313.4 MB, free: 9.02 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.652e-05/0.008121, allocations: 108 kB / 313.5 MB, free: 8.914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.659e-05/0.008217, allocations: 112 kB / 313.6 MB, free: 8.805 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.008332, allocations: 243.3 kB / 313.9 MB, free: 8.566 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.008545, allocations: 363.3 kB / 314.2 MB, free: 8.211 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007446/0.00929, allocations: 0.7554 MB / 315 MB, free: 7.453 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.009292, allocations: 0 / 315 MB, free: 7.453 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.009293, allocations: 0 / 315 MB, free: 7.453 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.009299, allocations: 0 / 315 MB, free: 7.453 MB / 282.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.001076/0.01037, allocations: 0.9704 MB / 316 MB, free: 6.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.01041, allocations: 8.922 kB / 316 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.01053, allocations: 124.9 kB / 316.1 MB, free: 6.328 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.01065, allocations: 197.3 kB / 316.3 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/0.01069, allocations: 66.38 kB / 316.4 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.178e-05/0.01077, allocations: 88.36 kB / 316.4 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005521/0.01132, allocations: 0.6031 MB / 317 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.01134, allocations: 0 / 317 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.331e-05/0.01138, allocations: 36 kB / 317.1 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.0114, allocations: 20 kB / 317.1 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.01178, allocations: 361.7 kB / 317.5 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.01359, allocations: 1.358 MB / 318.8 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00084/0.01443, allocations: 0.5659 MB / 319.4 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.01463, allocations: 199.8 kB / 319.6 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.775e-05/0.01467, allocations: 21 kB / 319.6 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.0147, allocations: 43.56 kB / 319.6 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000312/0.01501, allocations: 171.4 kB / 319.8 MB, free: 2.551 MB / 282.7 MB Notification: Performance of pre-optimization done (n=113): time 2.395e-06/0.01501, allocations: 0 / 319.8 MB, free: 2.551 MB / 282.7 MB Notification: Performance of matching and sorting (n=124): time 0.003545/0.01856, allocations: 2.196 MB / 322 MB, free: 316 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.01859, allocations: 68.34 kB / 322.1 MB, free: 236 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.629e-05/0.01869, allocations: 167.2 kB / 322.2 MB, free: 52 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.01873, allocations: 45.7 kB / 322.3 MB, free: 0 / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.85e-05/0.01882, allocations: 241.6 kB / 322.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.01901, allocations: 444.1 kB / 322.9 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.01918, allocations: 178.8 kB / 323.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.01927, allocations: 358.7 kB / 323.5 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.01943, allocations: 138.5 kB / 323.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.01963, allocations: 238.5 kB / 323.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007398/0.02037, allocations: 0.7041 MB / 324.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.02038, allocations: 4 kB / 324.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0008698/0.02125, allocations: 0.6602 MB / 325.2 MB, free: 13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.02126, allocations: 12 kB / 325.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.02127, allocations: 0 / 325.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005458/0.02181, allocations: 227.1 kB / 325.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002573/0.02439, allocations: 0.8982 MB / 326.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00561/0.02999, allocations: 12.58 MB / 338.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.03024, allocations: 27.94 kB / 338.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.03028, allocations: 31.97 kB / 339 MB, free: 14.32 MB / 314.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.0002154/0.03049, allocations: 178.8 kB / 339.1 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.781e-05/0.03058, allocations: 71.95 kB / 339.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.03175, allocations: 0.953 MB / 340.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.433e-06/0.03175, allocations: 12 kB / 340.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.03176, allocations: 4 kB / 340.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.03177, allocations: 7.969 kB / 340.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.03345, allocations: 1.479 MB / 341.7 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.03345, allocations: 8 kB / 341.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002267/0.03572, allocations: 0.8319 MB / 342.5 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000963/0.03668, allocations: 391 kB / 342.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.766e-05/0.03675, allocations: 35.98 kB / 342.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005545/0.04229, allocations: 12.74 MB / 355.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.0423, allocations: 8 kB / 355.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.04361, allocations: 1.255 MB / 356.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.04365, allocations: 59.58 kB / 357 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.735e-05/0.04371, allocations: 35.94 kB / 357 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.04397, allocations: 35.98 kB / 357.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/0.04415, allocations: 124.6 kB / 357.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.04419, allocations: 35.98 kB / 357.2 MB, free: 10.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.679e-05/0.04423, allocations: 45.81 kB / 357.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04423, allocations: 0 / 357.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005889/0.04481, allocations: 256 kB / 357.5 MB, free: 10.62 MB / 330.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.0001364/0.04495, allocations: 124.1 kB / 357.6 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002672/0.04762, allocations: 1.642 MB / 359.3 MB, free: 8.793 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.04763, allocations: 0 / 359.3 MB, free: 8.793 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002262/0.04989, allocations: 1.426 MB / 360.7 MB, free: 7.312 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.05038, allocations: 179.6 kB / 360.9 MB, free: 7.145 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.05216, allocations: 1.565 MB / 362.4 MB, free: 5.477 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.05228, allocations: 174.6 kB / 362.6 MB, free: 5.277 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003427/0.05263, allocations: 113.1 kB / 362.7 MB, free: 5.168 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003835/0.05301, allocations: 213.2 kB / 362.9 MB, free: 4.957 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.05301, allocations: 0 / 362.9 MB, free: 4.957 MB / 330.7 MB Notification: Performance of Templates: time 0.01597/0.06899, allocations: 14.41 MB / 377.3 MB, free: 6.777 MB / 346.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 -s gbode -gbm=radauIIA3 -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.402472068089992]