Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_004.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.Devel_test_models.Test_air_circ_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_004") translateModel(AES.Devel_test_models.Test_air_circ_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_004") [/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.1608/0.1608, allocations: 21.45 MB / 36.39 MB, free: 1.145 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.001761/0.001761, allocations: 183.4 kB / 42.62 MB, free: 3.984 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.812/1.812, allocations: 205.4 MB / 254.1 MB, free: 15.25 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.001089/0.001089, allocations: 85.19 kB / 307.8 MB, free: 11.08 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003525, allocations: 8.438 kB / 373.2 MB, free: 59.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1068, allocations: 52.96 MB / 426.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3855/0.4924, allocations: 81.84 MB / 0.4961 GB, free: 17.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.4926, allocations: 68.7 kB / 0.4962 GB, free: 17.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02029/0.5129, allocations: 7.86 MB / 0.5039 GB, free: 16.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.513, allocations: 0 / 0.5039 GB, free: 16.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.159e-05/0.513, allocations: 9.969 kB / 0.5039 GB, free: 16.95 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001447/0.5145, allocations: 0.7328 MB / 0.5046 GB, free: 16.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.5145, allocations: 9.312 kB / 0.5046 GB, free: 16.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.5147, allocations: 57.09 kB / 0.5047 GB, free: 16.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.5149, allocations: 224.1 kB / 0.5049 GB, free: 16.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/0.5149, allocations: 49.47 kB / 0.5049 GB, free: 16.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.515, allocations: 67.67 kB / 0.505 GB, free: 16.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009873/0.516, allocations: 0.5365 MB / 0.5055 GB, free: 16.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.5161, allocations: 1.156 kB / 0.5055 GB, free: 16.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.228e-05/0.5161, allocations: 26.12 kB / 0.5055 GB, free: 16.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.5161, allocations: 23.23 kB / 0.5056 GB, free: 16.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008554/0.517, allocations: 498 kB / 0.506 GB, free: 16.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.5195, allocations: 1.541 MB / 0.5075 GB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.5209, allocations: 0.5854 MB / 0.5081 GB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-05/0.521, allocations: 12.53 kB / 0.5081 GB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.521, allocations: 45.3 kB / 0.5082 GB, free: 15.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=65): time 2.304e-06/0.521, allocations: 0.5 kB / 0.5082 GB, free: 15.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=87): time 0.0126/0.5336, allocations: 4.012 MB / 0.5121 GB, free: 14.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.5337, allocations: 63.75 kB / 0.5121 GB, free: 14.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.5338, allocations: 130.9 kB / 0.5123 GB, free: 14.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.167e-05/0.5339, allocations: 40.27 kB / 0.5123 GB, free: 14.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.706e-05/0.534, allocations: 219.8 kB / 0.5125 GB, free: 14.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.5342, allocations: 307.4 kB / 0.5128 GB, free: 14.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.5342, allocations: 14.97 kB / 0.5128 GB, free: 14.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.444e-05/0.5343, allocations: 347.2 kB / 0.5131 GB, free: 13.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.5347, allocations: 265.2 kB / 0.5134 GB, free: 13.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/0.5351, allocations: 329 kB / 0.5137 GB, free: 13.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.5356, allocations: 312.1 kB / 0.514 GB, free: 13.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.5356, allocations: 3.953 kB / 0.514 GB, free: 13.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002873/0.5385, allocations: 1.098 MB / 0.5151 GB, free: 13.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.5385, allocations: 4.375 kB / 0.5151 GB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.5385, allocations: 1.5 kB / 0.5151 GB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002322/0.5408, allocations: 431.1 kB / 0.5155 GB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003411/0.5443, allocations: 435.7 kB / 0.5159 GB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/0.5578, allocations: 13.39 MB / 0.529 GB, free: 17.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000906/0.5587, allocations: 50.38 kB / 0.529 GB, free: 17.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.825e-05/0.5588, allocations: 22.27 kB / 0.5291 GB, free: 17.61 MB / 378.7 MB Warning: Assuming fixed start value for the following 4 variables: V2.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = V2.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V2.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 = V2.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V1.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = V1.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V1.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 = V1.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 (75): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,77.8%) 4,(3,77.8%) 4,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005749/0.5594, allocations: 243.2 kB / 0.5293 GB, free: 17.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.364e-05/0.5595, allocations: 35.22 kB / 0.5293 GB, free: 17.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003533/0.563, allocations: 1.294 MB / 0.5306 GB, free: 17.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.563, allocations: 7.719 kB / 0.5306 GB, free: 17.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.563, allocations: 3.906 kB / 0.5306 GB, free: 17.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.5631, allocations: 2.906 kB / 0.5306 GB, free: 17.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00442/0.5675, allocations: 2.013 MB / 0.5326 GB, free: 16.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.5675, allocations: 3.844 kB / 0.5326 GB, free: 16.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002784/0.5703, allocations: 385.3 kB / 0.5329 GB, free: 16.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004245/0.5746, allocations: 0.7281 MB / 0.5337 GB, free: 16.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-05/0.5747, allocations: 26.41 kB / 0.5337 GB, free: 16.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/0.5888, allocations: 13.89 MB / 0.5473 GB, free: 20.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5888, allocations: 288 / 0.5473 GB, free: 20.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00398/0.5928, allocations: 1.769 MB / 0.549 GB, free: 20.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.593, allocations: 107.2 kB / 0.5491 GB, free: 20.37 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.938e-05/0.5931, allocations: 27.2 kB / 0.5491 GB, free: 20.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005574/0.5936, allocations: 42.12 kB / 0.5491 GB, free: 20.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002582/0.5939, allocations: 92.38 kB / 0.5492 GB, free: 20.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.332e-05/0.594, allocations: 22.81 kB / 0.5493 GB, free: 20.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.848e-05/0.5941, allocations: 112.5 kB / 0.5494 GB, free: 20.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5941, allocations: 0 / 0.5494 GB, free: 20.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001152/0.5952, allocations: 222.3 kB / 0.5496 GB, free: 20.27 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (V1.Mv,V1.p,V1.T,V2.Ma,V2.p,V2.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 (63): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,77.8%) 4,(3,77.8%) 4,(1,100.0%) 2} * Non-linear torn systems: 3 {1 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002406/0.5955, allocations: 129.3 kB / 0.5497 GB, free: 20.17 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.V2.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.V1.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.004419/0.5999, allocations: 1.734 MB / 0.5514 GB, free: 19.44 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5999, allocations: 0 / 0.5514 GB, free: 19.44 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003648/0.6036, allocations: 1.471 MB / 0.5528 GB, free: 18.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005488/0.6041, allocations: 83 kB / 0.5529 GB, free: 18.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.6069, allocations: 1.957 MB / 0.5548 GB, free: 17.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.6074, allocations: 0.8904 MB / 0.5557 GB, free: 16.95 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003917/0.6078, allocations: 58.95 kB / 0.5557 GB, free: 16.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.6079, allocations: 38.53 kB / 0.5558 GB, free: 16.92 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6079, allocations: 3.938 kB / 0.5558 GB, free: 16.91 MB / 394.7 MB Notification: Performance of Templates: time 0.01507/0.623, allocations: 10.38 MB / 0.5659 GB, free: 12.69 MB / 394.7 MB make -j1 -f AES_AES.Devel_test_models.Test_air_circ_004.makefile (rm -f AES_AES.Devel_test_models.Test_air_circ_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_004.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_004.sim & ./AES_AES.Devel_test_models.Test_air_circ_004 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_004.pipe 2>&1)