Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.AHU_case_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Coursework.ThermSys_Generation.AHU_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.AHU_case_001") translateModel(AES.Coursework.ThermSys_Generation.AHU_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.AHU_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1211/0.1211, allocations: 17.69 MB / 33.63 MB, free: 1.789 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002017/0.002017, allocations: 173.5 kB / 38.91 MB, free: 28 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.848/1.848, allocations: 205.4 MB / 249.5 MB, free: 2.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007527/0.0007527, allocations: 92.81 kB / 302.2 MB, free: 4.441 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004293/0.0004294, allocations: 8 kB / 366.9 MB, free: 3.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2464, allocations: 51.98 MB / 418.9 MB, free: 24.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1074/0.3538, allocations: 82.04 MB / 0.4892 GB, free: 6.234 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.3541, allocations: 79.95 kB / 0.4893 GB, free: 6.156 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1993/0.5534, allocations: 9.31 MB / 0.4984 GB, free: 80.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.5534, allocations: 0 / 0.4984 GB, free: 80.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.253e-05/0.5535, allocations: 12.25 kB / 0.4984 GB, free: 80.42 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002471/0.556, allocations: 0.839 MB / 0.4992 GB, free: 79.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.556, allocations: 8.953 kB / 0.4992 GB, free: 79.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000257/0.5563, allocations: 72.16 kB / 0.4993 GB, free: 79.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.5566, allocations: 231.8 kB / 0.4995 GB, free: 79.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.933e-05/0.5567, allocations: 59.16 kB / 0.4996 GB, free: 79.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.5569, allocations: 76.38 kB / 0.4997 GB, free: 79.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.5584, allocations: 0.6515 MB / 0.5003 GB, free: 79.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.5585, allocations: 192 / 0.5003 GB, free: 79.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.503e-05/0.5585, allocations: 35.94 kB / 0.5003 GB, free: 79.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/0.5586, allocations: 22.59 kB / 0.5003 GB, free: 79.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.56, allocations: 0.6734 MB / 0.501 GB, free: 79.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003984/0.564, allocations: 1.904 MB / 0.5029 GB, free: 78.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.5652, allocations: 0.6342 MB / 0.5035 GB, free: 78.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005177/0.5658, allocations: 262.9 kB / 0.5037 GB, free: 78.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.805e-05/0.5658, allocations: 15.58 kB / 0.5037 GB, free: 78.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.5659, allocations: 43.06 kB / 0.5038 GB, free: 78.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=84): time 2.535e-06/0.5659, allocations: 0.5312 kB / 0.5038 GB, free: 78.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=84): time 0.002913/0.5688, allocations: 1.297 MB / 0.5051 GB, free: 77.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.5688, allocations: 60.06 kB / 0.5051 GB, free: 77.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.569, allocations: 225.9 kB / 0.5053 GB, free: 77.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.5691, allocations: 37.7 kB / 0.5054 GB, free: 77.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.5692, allocations: 259.1 kB / 0.5056 GB, free: 76.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.5694, allocations: 285.2 kB / 0.5059 GB, free: 76.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.5695, allocations: 18.56 kB / 0.5059 GB, free: 76.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.372e-05/0.5695, allocations: 350.5 kB / 0.5062 GB, free: 76.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.5699, allocations: 221.4 kB / 0.5064 GB, free: 76.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.5703, allocations: 316.1 kB / 0.5067 GB, free: 76.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006053/0.5764, allocations: 1.607 MB / 0.5083 GB, free: 75.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.5764, allocations: 0 / 0.5083 GB, free: 75.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001162/0.5776, allocations: 0.7505 MB / 0.5091 GB, free: 75.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.5776, allocations: 7.062 kB / 0.5091 GB, free: 75.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.5776, allocations: 3.906 kB / 0.5091 GB, free: 75.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002091/0.5779, allocations: 75.52 kB / 0.5091 GB, free: 75.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005662/0.5835, allocations: 0.8758 MB / 0.51 GB, free: 75.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006204/0.5898, allocations: 12.04 MB / 0.5217 GB, free: 62.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007455/0.5905, allocations: 90.48 kB / 0.5218 GB, free: 62.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.458e-05/0.5906, allocations: 33.02 kB / 0.5219 GB, free: 62.75 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: AHU.phi:VARIABLE(start = AHU.phistart fixed = true ) type: Real AHU.T:VARIABLE(min = max(0.0, 0.0) start = AHU.Tstart unit = "K" fixed = true nominal = 300.0 ) "controlled T" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (96): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004063/0.591, allocations: 206.4 kB / 0.5221 GB, free: 62.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.313e-05/0.5911, allocations: 43.47 kB / 0.5221 GB, free: 62.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.5927, allocations: 0.8665 MB / 0.523 GB, free: 61.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.5927, allocations: 11.94 kB / 0.523 GB, free: 61.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5927, allocations: 4 kB / 0.523 GB, free: 61.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.5927, allocations: 7.969 kB / 0.523 GB, free: 61.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/0.5958, allocations: 1.907 MB / 0.5248 GB, free: 59.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.5958, allocations: 4.656 kB / 0.5248 GB, free: 59.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004788/0.6006, allocations: 0.757 MB / 0.5256 GB, free: 58.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004881/0.6011, allocations: 146.4 kB / 0.5257 GB, free: 58.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.347e-05/0.6012, allocations: 24 kB / 0.5257 GB, free: 58.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006824/0.6081, allocations: 12.33 MB / 0.5378 GB, free: 45.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.6081, allocations: 12.19 kB / 0.5378 GB, free: 45.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.6101, allocations: 1.396 MB / 0.5392 GB, free: 43.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.6103, allocations: 140.4 kB / 0.5393 GB, free: 43.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.117e-05/0.6104, allocations: 27.98 kB / 0.5393 GB, free: 43.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005835/0.611, allocations: 43.98 kB / 0.5394 GB, free: 43.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.6112, allocations: 88.36 kB / 0.5394 GB, free: 43.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.6112, allocations: 32 kB / 0.5395 GB, free: 43.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.6114, allocations: 165.6 kB / 0.5396 GB, free: 43.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6114, allocations: 0 / 0.5396 GB, free: 43.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000873/0.6122, allocations: 235.4 kB / 0.5399 GB, free: 43 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 5 (AHU.T,AHU.phi,V.Ma,V.Mv,V.Ea) * 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 (85): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001837/0.6124, allocations: 131.1 kB / 0.54 GB, free: 42.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005597/0.618, allocations: 1.518 MB / 0.5415 GB, free: 41.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.6181, allocations: 0 / 0.5415 GB, free: 41.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004629/0.6227, allocations: 1.252 MB / 0.5427 GB, free: 40.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.6238, allocations: 141.2 kB / 0.5428 GB, free: 39.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.6261, allocations: 1.844 MB / 0.5446 GB, free: 37.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.6265, allocations: 0.8849 MB / 0.5455 GB, free: 37.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006385/0.6271, allocations: 80.66 kB / 0.5456 GB, free: 36.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.6273, allocations: 47.42 kB / 0.5456 GB, free: 36.91 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.6273, allocations: 0 / 0.5456 GB, free: 36.91 MB / 362.7 MB Notification: Performance of Templates: time 0.01346/0.6408, allocations: 8.83 MB / 0.5542 GB, free: 28.09 MB / 362.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Generation.AHU_case_001.makefile (rm -f AES_AES.Coursework.ThermSys_Generation.AHU_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.AHU_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.AHU_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.AHU_case_001.sim & ./AES_AES.Coursework.ThermSys_Generation.AHU_case_001 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.AHU_case_001.pipe 2>&1)