Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_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 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_air_circ_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_002") translateModel(AES.Devel_test_models.Test_air_circ_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_002") [/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.09634/0.09634, allocations: 21.62 MB / 36.56 MB, free: 1.062 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.0009599/0.0009599, allocations: 183.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.251/1.251, allocations: 223.2 MB / 272.1 MB, free: 1.418 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.0008261/0.0008261, allocations: 103 kB / 328.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003306, allocations: 8 kB / 397 MB, free: 46.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08276/0.08312, allocations: 55.82 MB / 452.9 MB, free: 6.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3096/0.3928, allocations: 82.79 MB / 0.5231 GB, free: 13.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/0.393, allocations: 70.28 kB / 0.5232 GB, free: 13.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02128/0.4143, allocations: 9.977 MB / 0.5329 GB, free: 9.949 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4143, allocations: 0 / 0.5329 GB, free: 9.949 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.4144, allocations: 15.72 kB / 0.5329 GB, free: 9.949 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001563/0.4159, allocations: 0.8523 MB / 0.5338 GB, free: 9.336 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.416, allocations: 7.625 kB / 0.5338 GB, free: 9.336 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.4161, allocations: 73.25 kB / 0.5338 GB, free: 9.301 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.4162, allocations: 240.6 kB / 0.5341 GB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.4163, allocations: 57.56 kB / 0.5341 GB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.316e-05/0.4164, allocations: 86.31 kB / 0.5342 GB, free: 9.043 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009904/0.4174, allocations: 0.7211 MB / 0.5349 GB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.4174, allocations: 0 / 0.5349 GB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.571e-05/0.4175, allocations: 35.19 kB / 0.5349 GB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.4175, allocations: 23.17 kB / 0.535 GB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.4185, allocations: 0.7486 MB / 0.5357 GB, free: 8.723 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/0.4213, allocations: 1.999 MB / 0.5377 GB, free: 7.859 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.4232, allocations: 0.991 MB / 0.5386 GB, free: 7.699 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.046e-05/0.4232, allocations: 16.67 kB / 0.5386 GB, free: 7.695 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.4233, allocations: 43.06 kB / 0.5387 GB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004738/0.4237, allocations: 127.2 kB / 0.5388 GB, free: 7.602 MB / 362.7 MB Notification: Performance of pre-optimization done (n=105): time 2.154e-06/0.4238, allocations: 0 / 0.5388 GB, free: 7.602 MB / 362.7 MB Notification: Performance of matching and sorting (n=116): time 0.0127/0.4365, allocations: 4.27 MB / 0.543 GB, free: 6.086 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.4365, allocations: 64.03 kB / 0.543 GB, free: 6.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.4367, allocations: 198.7 kB / 0.5432 GB, free: 5.902 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.737e-05/0.4367, allocations: 48.05 kB / 0.5433 GB, free: 5.867 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.4368, allocations: 216.5 kB / 0.5435 GB, free: 5.695 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.437, allocations: 398.4 kB / 0.5438 GB, free: 5.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.437, allocations: 16.72 kB / 0.5439 GB, free: 5.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.155e-05/0.4371, allocations: 365.1 kB / 0.5442 GB, free: 5.078 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004828/0.4376, allocations: 320.6 kB / 0.5445 GB, free: 5.043 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005065/0.4381, allocations: 386.1 kB / 0.5449 GB, free: 4.969 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/0.4387, allocations: 385.4 kB / 0.5453 GB, free: 4.949 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4387, allocations: 0 / 0.5453 GB, free: 4.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004515/0.4432, allocations: 1.494 MB / 0.5467 GB, free: 4.527 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4432, allocations: 3.875 kB / 0.5467 GB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.4433, allocations: 0 / 0.5467 GB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004321/0.4476, allocations: 0.7763 MB / 0.5475 GB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005404/0.453, allocations: 0.7257 MB / 0.5482 GB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01803/0.471, allocations: 15.42 MB / 0.5632 GB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009886/0.4721, allocations: 48.27 kB / 0.5633 GB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-05/0.4722, allocations: 30.67 kB / 0.5633 GB, free: 4.832 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 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, max(0.0, max(0.0, 0.0))))))))) start = V.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 85 * 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 {(3,77.8%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {7 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004593/0.4726, allocations: 237 kB / 0.5635 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.4727, allocations: 47.44 kB / 0.5636 GB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004195/0.4769, allocations: 1.666 MB / 0.5652 GB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.4769, allocations: 12 kB / 0.5652 GB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.477, allocations: 0 / 0.5652 GB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.477, allocations: 15.92 kB / 0.5652 GB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005814/0.4828, allocations: 2.982 MB / 0.5682 GB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.4828, allocations: 8 kB / 0.5682 GB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005085/0.4879, allocations: 0.667 MB / 0.5688 GB, free: 384 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003764/0.4917, allocations: 0.7443 MB / 0.5695 GB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.752e-05/0.4918, allocations: 38.36 kB / 0.5696 GB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01579/0.5076, allocations: 15.05 MB / 0.5843 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.5077, allocations: 12 kB / 0.5843 GB, free: 280 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005079/0.5127, allocations: 2.752 MB / 0.587 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.5129, allocations: 144.6 kB / 0.5871 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.513, allocations: 35.98 kB / 0.5871 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007549/0.5138, allocations: 55.77 kB / 0.5872 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/0.5141, allocations: 132.6 kB / 0.5873 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.12e-05/0.5142, allocations: 47.98 kB / 0.5874 GB, free: 12.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001704/0.5143, allocations: 168.1 kB / 0.5875 GB, free: 12.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5143, allocations: 4 kB / 0.5875 GB, free: 12.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001162/0.5155, allocations: 284 kB / 0.5878 GB, free: 12.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 3 (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 (87): * Single equations (assignments): 78 * 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: 1 {(3,77.8%) 4} * Non-linear torn systems: 2 {7 19,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.000203/0.5157, allocations: 150.9 kB / 0.5879 GB, free: 12.11 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.006127/0.5219, allocations: 1.795 MB / 0.5897 GB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5219, allocations: 0 / 0.5897 GB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004999/0.5269, allocations: 1.44 MB / 0.5911 GB, free: 8.797 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008174/0.5277, allocations: 178.3 kB / 0.5913 GB, free: 8.613 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.5308, allocations: 2.211 MB / 0.5934 GB, free: 6.266 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.5313, allocations: 0.9336 MB / 0.5943 GB, free: 5.305 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006071/0.5319, allocations: 97.14 kB / 0.5944 GB, free: 5.207 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.5321, allocations: 51.42 kB / 0.5945 GB, free: 5.16 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5321, allocations: 0 / 0.5945 GB, free: 5.16 MB / 410.7 MB Notification: Performance of Templates: time 0.02146/0.5536, allocations: 14.92 MB / 0.6091 GB, free: 6.355 MB / 426.7 MB make -j1 -f AES_AES.Devel_test_models.Test_air_circ_002.makefile (rm -f AES_AES.Devel_test_models.Test_air_circ_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_002.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_002.sim & ./AES_AES.Devel_test_models.Test_air_circ_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_002.pipe 2>&1)