Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_AHU_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Devel_test_models.Test_AHU_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_AHU_001") translateModel(AES.Devel_test_models.Test_AHU_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_AHU_001") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09599/0.09599, allocations: 21.61 MB / 36.56 MB, free: 1.07 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009634/0.0009633, allocations: 187.4 kB / 42.83 MB, free: 3.785 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.2 MB / 272.1 MB, free: 1.309 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008229/0.0008228, allocations: 100.2 kB / 328.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003346, allocations: 8 kB / 397 MB, free: 46.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08528/0.08563, allocations: 55.82 MB / 452.9 MB, free: 6.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2871/0.3728, allocations: 83.92 MB / 0.5242 GB, free: 13.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001474/0.3729, allocations: 76.27 kB / 0.5243 GB, free: 13.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02385/0.3968, allocations: 11.06 MB / 0.5351 GB, free: 9.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3968, allocations: 3.938 kB / 0.5351 GB, free: 9.414 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.3969, allocations: 15.59 kB / 0.5351 GB, free: 9.414 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001664/0.3985, allocations: 0.9019 MB / 0.536 GB, free: 8.777 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3986, allocations: 15.5 kB / 0.536 GB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.3987, allocations: 77.34 kB / 0.5361 GB, free: 8.734 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.3989, allocations: 237.8 kB / 0.5363 GB, free: 8.484 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.3989, allocations: 67.59 kB / 0.5364 GB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.149e-05/0.399, allocations: 84.05 kB / 0.5364 GB, free: 8.477 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.4001, allocations: 0.7226 MB / 0.5371 GB, free: 8.293 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.4001, allocations: 0 / 0.5371 GB, free: 8.293 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.76e-05/0.4002, allocations: 37.41 kB / 0.5372 GB, free: 8.293 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.4002, allocations: 27.33 kB / 0.5372 GB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.4012, allocations: 0.7146 MB / 0.5379 GB, free: 8.176 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/0.404, allocations: 2.01 MB / 0.5399 GB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.4055, allocations: 0.8705 MB / 0.5407 GB, free: 7.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.514e-05/0.4056, allocations: 23.53 kB / 0.5407 GB, free: 7.156 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.4056, allocations: 47.03 kB / 0.5408 GB, free: 7.113 MB / 362.7 MB Notification: Performance of pre-optimization done (n=103): time 2.335e-06/0.4056, allocations: 0 / 0.5408 GB, free: 7.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=114): time 0.007707/0.4133, allocations: 3.417 MB / 0.5441 GB, free: 5.883 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.4133, allocations: 68 kB / 0.5442 GB, free: 5.816 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.4135, allocations: 195.5 kB / 0.5444 GB, free: 5.699 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/0.4135, allocations: 43.86 kB / 0.5444 GB, free: 5.668 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.828e-05/0.4136, allocations: 250.5 kB / 0.5447 GB, free: 5.473 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.4138, allocations: 391.8 kB / 0.545 GB, free: 5.188 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.4138, allocations: 20.19 kB / 0.545 GB, free: 5.188 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.4139, allocations: 358.8 kB / 0.5454 GB, free: 4.859 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004426/0.4144, allocations: 293.8 kB / 0.5457 GB, free: 4.824 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000496/0.4149, allocations: 389.2 kB / 0.546 GB, free: 4.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005147/0.4154, allocations: 368.5 kB / 0.5464 GB, free: 4.703 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4154, allocations: 0 / 0.5464 GB, free: 4.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002383/0.4178, allocations: 1.165 MB / 0.5475 GB, free: 4.414 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.4178, allocations: 3.844 kB / 0.5475 GB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.4178, allocations: 7.828 kB / 0.5475 GB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/0.4194, allocations: 353 kB / 0.5479 GB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005416/0.4248, allocations: 0.7299 MB / 0.5486 GB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.4383, allocations: 15.21 MB / 0.5634 GB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009259/0.4392, allocations: 51.2 kB / 0.5635 GB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.071e-05/0.4393, allocations: 34.8 kB / 0.5635 GB, free: 4.273 MB / 378.7 MB Warning: Assuming fixed start value for the following 4 variables: V.T:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = V.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = V.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real 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: 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 (103): * 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: 4 * 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 {(3,77.8%) 4,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 1 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004785/0.4398, allocations: 244.4 kB / 0.5638 GB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.972e-05/0.4399, allocations: 47.44 kB / 0.5638 GB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003224/0.4431, allocations: 1.383 MB / 0.5652 GB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.4431, allocations: 12 kB / 0.5652 GB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.4432, allocations: 4.25 kB / 0.5652 GB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.4432, allocations: 7.969 kB / 0.5652 GB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004598/0.4478, allocations: 2.55 MB / 0.5677 GB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.4478, allocations: 12.03 kB / 0.5677 GB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005301/0.4531, allocations: 0.6777 MB / 0.5683 GB, free: 388 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002717/0.4558, allocations: 0.5031 MB / 0.5688 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.755e-05/0.456, allocations: 40.81 kB / 0.5689 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/0.47, allocations: 15.39 MB / 0.5839 GB, free: 396 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.47, allocations: 12 kB / 0.5839 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/0.4741, allocations: 2.333 MB / 0.5862 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.4742, allocations: 132.6 kB / 0.5863 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.758e-05/0.4743, allocations: 31.98 kB / 0.5863 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007326/0.4751, allocations: 51.88 kB / 0.5864 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/0.4753, allocations: 116.7 kB / 0.5865 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.206e-05/0.4754, allocations: 47.97 kB / 0.5866 GB, free: 13.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001423/0.4756, allocations: 159.2 kB / 0.5867 GB, free: 13.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4756, allocations: 0 / 0.5867 GB, free: 13.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001052/0.4766, allocations: 272 kB / 0.587 GB, free: 13.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 5 (AHU.T,AHU.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 (92): * Single equations (assignments): 82 * 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: 4 * 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 {(3,77.8%) 4,(1,100.0%) 2} * Non-linear torn systems: 2 {1 5,3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001745/0.4768, allocations: 146.4 kB / 0.5871 GB, free: 12.95 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.V.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.00573/0.4825, allocations: 1.787 MB / 0.5888 GB, free: 11.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.4826, allocations: 0 / 0.5888 GB, free: 11.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004777/0.4873, allocations: 1.427 MB / 0.5902 GB, free: 9.637 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007611/0.4881, allocations: 158 kB / 0.5904 GB, free: 9.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/0.4914, allocations: 2.29 MB / 0.5926 GB, free: 7.082 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.4919, allocations: 0.9483 MB / 0.5936 GB, free: 6.102 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006067/0.4925, allocations: 89.11 kB / 0.5936 GB, free: 6.012 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.4927, allocations: 51.44 kB / 0.5937 GB, free: 5.961 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.4927, allocations: 0 / 0.5937 GB, free: 5.961 MB / 410.7 MB Notification: Performance of Templates: time 0.01825/0.511, allocations: 12.71 MB / 0.6061 GB, free: 9.359 MB / 426.7 MB make -j1 -f AES_AES.Devel_test_models.Test_AHU_001.makefile (rm -f AES_AES.Devel_test_models.Test_AHU_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_AHU_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_AHU_001.pipe >> ../files/AES_AES.Devel_test_models.Test_AHU_001.sim & ./AES_AES.Devel_test_models.Test_AHU_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_AHU_001.pipe 2>&1)