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 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_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.09601/0.09601, 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.001019/0.001019, allocations: 186.4 kB / 42.83 MB, free: 3.781 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.234/1.234, allocations: 223.2 MB / 272.1 MB, free: 1.812 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.0008249/0.0008249, allocations: 94.89 kB / 328.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003638, allocations: 8 kB / 397 MB, free: 46.53 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07912/0.0795, allocations: 55.83 MB / 452.9 MB, free: 6.684 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.27/0.3496, allocations: 82.74 MB / 0.5231 GB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.3498, allocations: 71.06 kB / 0.5231 GB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01697/0.3668, allocations: 8.031 MB / 0.531 GB, free: 10.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3668, allocations: 4 kB / 0.531 GB, free: 10.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.3668, allocations: 11.69 kB / 0.531 GB, free: 10.47 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.00108/0.3679, allocations: 0.7279 MB / 0.5317 GB, free: 9.914 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.368, allocations: 11.53 kB / 0.5317 GB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.721e-05/0.3681, allocations: 54.5 kB / 0.5318 GB, free: 9.887 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.3682, allocations: 235.9 kB / 0.532 GB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.3682, allocations: 47.25 kB / 0.532 GB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/0.3683, allocations: 68.94 kB / 0.5321 GB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007376/0.3691, allocations: 0.5339 MB / 0.5326 GB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.3691, allocations: 0 / 0.5326 GB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/0.3691, allocations: 30.5 kB / 0.5326 GB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.3692, allocations: 19.36 kB / 0.5327 GB, free: 9.488 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006948/0.3699, allocations: 499.1 kB / 0.5331 GB, free: 9.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.3718, allocations: 1.523 MB / 0.5346 GB, free: 8.684 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009742/0.3727, allocations: 0.5894 MB / 0.5352 GB, free: 8.586 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/0.3728, allocations: 10.94 kB / 0.5352 GB, free: 8.586 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.3728, allocations: 46.05 kB / 0.5353 GB, free: 8.539 MB / 362.7 MB Notification: Performance of pre-optimization done (n=65): time 1.563e-06/0.3728, allocations: 4 kB / 0.5353 GB, free: 8.535 MB / 362.7 MB Notification: Performance of matching and sorting (n=87): time 0.01077/0.3836, allocations: 4.007 MB / 0.5392 GB, free: 6.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.3836, allocations: 64.09 kB / 0.5392 GB, free: 6.914 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.092e-05/0.3837, allocations: 129.2 kB / 0.5394 GB, free: 6.816 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.3838, allocations: 42.3 kB / 0.5394 GB, free: 6.785 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.3839, allocations: 221.2 kB / 0.5396 GB, free: 6.605 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.384, allocations: 298.8 kB / 0.5399 GB, free: 6.391 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.384, allocations: 9.812 kB / 0.5399 GB, free: 6.391 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.357e-05/0.3841, allocations: 347.6 kB / 0.5402 GB, free: 6.066 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/0.3845, allocations: 267.7 kB / 0.5405 GB, free: 6.035 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.3849, allocations: 333.7 kB / 0.5408 GB, free: 5.969 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004308/0.3854, allocations: 323.9 kB / 0.5411 GB, free: 5.941 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3854, allocations: 3.844 kB / 0.5411 GB, free: 5.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002635/0.388, allocations: 1.095 MB / 0.5422 GB, free: 5.641 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3881, allocations: 8.844 kB / 0.5422 GB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3881, allocations: 0 / 0.5422 GB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002086/0.3902, allocations: 433.3 kB / 0.5426 GB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002951/0.3931, allocations: 434.3 kB / 0.543 GB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/0.4039, allocations: 13.38 MB / 0.5561 GB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006667/0.4046, allocations: 53.22 kB / 0.5561 GB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.4046, allocations: 25.33 kB / 0.5562 GB, free: 9.004 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.000429/0.4051, allocations: 245.8 kB / 0.5564 GB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/0.4051, allocations: 35 kB / 0.5564 GB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003274/0.4084, allocations: 1.286 MB / 0.5577 GB, free: 8.434 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.4084, allocations: 7.844 kB / 0.5577 GB, free: 8.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.4085, allocations: 7.797 kB / 0.5577 GB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.4085, allocations: 7.969 kB / 0.5577 GB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003842/0.4123, allocations: 2.013 MB / 0.5597 GB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.4123, allocations: 7.922 kB / 0.5597 GB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002612/0.415, allocations: 384.2 kB / 0.5601 GB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004271/0.4192, allocations: 0.7254 MB / 0.5608 GB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/0.4193, allocations: 29.78 kB / 0.5608 GB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/0.4324, allocations: 13.9 MB / 0.5744 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4324, allocations: 0 / 0.5744 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004005/0.4364, allocations: 1.765 MB / 0.5761 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.4365, allocations: 104.7 kB / 0.5762 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.942e-05/0.4366, allocations: 16.88 kB / 0.5762 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000547/0.4372, allocations: 52.94 kB / 0.5763 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.4374, allocations: 78.39 kB / 0.5763 GB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.704e-05/0.4374, allocations: 37.22 kB / 0.5764 GB, free: 7.355 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.193e-05/0.4375, allocations: 107 kB / 0.5765 GB, free: 7.262 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4375, allocations: 0 / 0.5765 GB, free: 7.262 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009977/0.4385, allocations: 220.6 kB / 0.5767 GB, free: 7.078 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.0002038/0.4387, allocations: 137.5 kB / 0.5768 GB, free: 6.945 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.004388/0.4431, allocations: 1.738 MB / 0.5785 GB, free: 5.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4431, allocations: 4 kB / 0.5785 GB, free: 5.426 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003671/0.4468, allocations: 1.474 MB / 0.5799 GB, free: 4.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.4473, allocations: 74.25 kB / 0.58 GB, free: 4.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/0.4502, allocations: 1.944 MB / 0.5819 GB, free: 2.242 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.4507, allocations: 0.8962 MB / 0.5828 GB, free: 1.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004075/0.4511, allocations: 56.17 kB / 0.5828 GB, free: 1.266 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.4513, allocations: 35.42 kB / 0.5829 GB, free: 1.23 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4513, allocations: 0 / 0.5829 GB, free: 1.23 MB / 394.7 MB Notification: Performance of Templates: time 0.0167/0.468, allocations: 10.38 MB / 0.593 GB, free: 6.934 MB / 410.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 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_004.pipe 2>&1)