Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.AHU_case_002.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_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.AHU_case_002") translateModel(AES.Coursework.ThermSys_Generation.AHU_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.AHU_case_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.07495/0.07495, 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.001047/0.001047, allocations: 179.9 kB / 38.92 MB, free: 8 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.613/1.613, allocations: 205.4 MB / 249.5 MB, free: 2.352 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.0007877/0.000788, allocations: 100.9 kB / 302.2 MB, free: 4.418 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003853, allocations: 12 kB / 366.9 MB, free: 3.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2262, allocations: 51.99 MB / 418.9 MB, free: 24.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.3314, allocations: 82.07 MB / 0.4893 GB, free: 6.203 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.3317, allocations: 79.94 kB / 0.4893 GB, free: 6.125 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2074/0.5391, allocations: 9.991 MB / 0.4991 GB, free: 80.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5392, allocations: 0 / 0.4991 GB, free: 80.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.574e-05/0.5392, allocations: 17.75 kB / 0.4991 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.00219/0.5414, allocations: 0.8707 MB / 0.5 GB, free: 79.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.5415, allocations: 10.03 kB / 0.5 GB, free: 79.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002405/0.5417, allocations: 73.84 kB / 0.5 GB, free: 79.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.5419, allocations: 253.7 kB / 0.5003 GB, free: 79.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.018e-05/0.542, allocations: 60.88 kB / 0.5003 GB, free: 79.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.5422, allocations: 86.66 kB / 0.5004 GB, free: 79.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.5437, allocations: 0.7799 MB / 0.5012 GB, free: 79.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.5437, allocations: 0 / 0.5012 GB, free: 79.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.914e-05/0.5438, allocations: 31.44 kB / 0.5012 GB, free: 79.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.5438, allocations: 20.12 kB / 0.5012 GB, free: 79.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.5453, allocations: 0.8164 MB / 0.502 GB, free: 79.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004348/0.5496, allocations: 2.215 MB / 0.5042 GB, free: 78.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.5507, allocations: 0.6285 MB / 0.5048 GB, free: 77.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004884/0.5512, allocations: 360.6 kB / 0.5051 GB, free: 77.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.456e-05/0.5512, allocations: 19.92 kB / 0.5052 GB, free: 77.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.5513, allocations: 39.34 kB / 0.5052 GB, free: 77.71 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007194/0.552, allocations: 163.9 kB / 0.5054 GB, free: 77.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=95): time 5.169e-06/0.552, allocations: 0 / 0.5054 GB, free: 77.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=95): time 0.002814/0.5548, allocations: 1.51 MB / 0.5068 GB, free: 76.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.5549, allocations: 62.5 kB / 0.5069 GB, free: 76.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.5551, allocations: 245.9 kB / 0.5071 GB, free: 76.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/0.5551, allocations: 41.48 kB / 0.5072 GB, free: 76.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.944e-05/0.5552, allocations: 263.5 kB / 0.5074 GB, free: 76.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.5554, allocations: 322.4 kB / 0.5077 GB, free: 76.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.5555, allocations: 15.62 kB / 0.5077 GB, free: 76.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.085e-05/0.5555, allocations: 352.7 kB / 0.5081 GB, free: 75.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004265/0.556, allocations: 285.8 kB / 0.5084 GB, free: 75.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004594/0.5564, allocations: 384 kB / 0.5087 GB, free: 75.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/0.5688, allocations: 2.768 MB / 0.5114 GB, free: 74.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.5688, allocations: 0 / 0.5114 GB, free: 74.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001509/0.5703, allocations: 0.8985 MB / 0.5123 GB, free: 73.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.5704, allocations: 8.188 kB / 0.5123 GB, free: 73.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.5704, allocations: 4 kB / 0.5123 GB, free: 73.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002522/0.5707, allocations: 74.47 kB / 0.5124 GB, free: 73.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005622/0.5763, allocations: 0.9091 MB / 0.5133 GB, free: 72.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006778/0.5831, allocations: 12.03 MB / 0.525 GB, free: 59.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.5843, allocations: 48.12 kB / 0.5251 GB, free: 59.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/0.5846, allocations: 35.97 kB / 0.5251 GB, free: 59.62 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: U1.phi:VARIABLE(start = U1.phistart fixed = true ) type: Real U1.T:VARIABLE(min = max(0.0, 0.0) start = U1.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 (107): * Single equations (assignments): 98 * 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.0008159/0.5854, allocations: 217.5 kB / 0.5253 GB, free: 59.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/0.5857, allocations: 47.44 kB / 0.5254 GB, free: 59.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003299/0.589, allocations: 1.072 MB / 0.5264 GB, free: 58.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.589, allocations: 12 kB / 0.5264 GB, free: 58.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.589, allocations: 0 / 0.5264 GB, free: 58.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.065e-05/0.5891, allocations: 11.91 kB / 0.5264 GB, free: 58.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00532/0.5944, allocations: 2.075 MB / 0.5284 GB, free: 56.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/0.5945, allocations: 4 kB / 0.5285 GB, free: 56.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007511/0.602, allocations: 0.7845 MB / 0.5292 GB, free: 55.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007683/0.6028, allocations: 150.4 kB / 0.5294 GB, free: 55.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/0.603, allocations: 24 kB / 0.5294 GB, free: 55.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009493/0.6125, allocations: 12.3 MB / 0.5414 GB, free: 41.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.6125, allocations: 7.938 kB / 0.5414 GB, free: 41.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003937/0.6165, allocations: 1.614 MB / 0.543 GB, free: 39.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.6168, allocations: 136.5 kB / 0.5431 GB, free: 39.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.617, allocations: 24 kB / 0.5431 GB, free: 39.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009993/0.618, allocations: 55.84 kB / 0.5432 GB, free: 39.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002814/0.6183, allocations: 88.77 kB / 0.5433 GB, free: 39.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.661e-05/0.6184, allocations: 36 kB / 0.5433 GB, free: 39.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000262/0.6187, allocations: 172.5 kB / 0.5435 GB, free: 39.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6187, allocations: 0 / 0.5435 GB, free: 39.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001542/0.6203, allocations: 267.4 kB / 0.5437 GB, free: 39.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 5 (U1.T,U1.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 (102): * Single equations (assignments): 93 * 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.0002721/0.6205, allocations: 143.1 kB / 0.5439 GB, free: 38.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008286/0.6288, allocations: 1.673 MB / 0.5455 GB, free: 37.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/0.6289, allocations: 3.938 kB / 0.5455 GB, free: 37.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006785/0.6357, allocations: 1.326 MB / 0.5468 GB, free: 35.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.6377, allocations: 157.3 kB / 0.5469 GB, free: 35.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003979/0.6417, allocations: 1.988 MB / 0.5489 GB, free: 33.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.6421, allocations: 0.9131 MB / 0.5498 GB, free: 32.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001205/0.6434, allocations: 112.9 kB / 0.5499 GB, free: 32.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003479/0.6437, allocations: 63.41 kB / 0.5499 GB, free: 32.55 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.6438, allocations: 0 / 0.5499 GB, free: 32.55 MB / 362.7 MB Notification: Performance of Templates: time 0.01816/0.6619, allocations: 10.52 MB / 0.5602 GB, free: 22.03 MB / 362.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Generation.AHU_case_002.makefile (rm -f AES_AES.Coursework.ThermSys_Generation.AHU_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.AHU_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.AHU_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.AHU_case_002.sim & ./AES_AES.Coursework.ThermSys_Generation.AHU_case_002 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.AHU_case_002.pipe 2>&1)