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/ModelicaServices 4.0.0+maint.om/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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006786/0.0006787, allocations: 88.2 kB / 16.03 MB, free: 56 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007105/0.0007104, allocations: 187.8 kB / 16.93 MB, free: 6.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.133/1.133, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1659/0.1659, allocations: 22.35 MB / 314.5 MB, free: 13.2 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002569/0.0002569, allocations: 16 kB / 383.3 MB, free: 10.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1961, allocations: 55.98 MB / 439.3 MB, free: 39.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.00237/0.1985, allocations: 3.853 MB / 443.1 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1996, allocations: 1.324 MB / 444.4 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.1998, allocations: 2.812 kB / 444.4 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.176e-05/0.1999, allocations: 70.91 kB / 444.5 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.2002, allocations: 206.4 kB / 444.7 MB, free: 35.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.2005, allocations: 265.2 kB / 445 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005249/0.201, allocations: 1.098 MB / 446.1 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003252/0.2014, allocations: 383.5 kB / 446.4 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.2016, allocations: 360.8 kB / 446.8 MB, free: 34.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000297/0.2019, allocations: 415.7 kB / 447.2 MB, free: 34.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.101e-05/0.202, allocations: 43.5 kB / 447.2 MB, free: 34.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.321e-05/0.2021, allocations: 46.78 kB / 447.3 MB, free: 34.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.581e-05/0.2022, allocations: 141.6 kB / 447.4 MB, free: 34.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.2024, allocations: 431.8 kB / 447.8 MB, free: 33.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.2027, allocations: 0.7532 MB / 448.6 MB, free: 33.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2027, allocations: 0 / 448.6 MB, free: 33.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2028, allocations: 0 / 448.6 MB, free: 33.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.2028, allocations: 0 / 448.6 MB, free: 33.7 MB / 350.1 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.001398/0.2042, allocations: 0.9006 MB / 449.5 MB, free: 33.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.726e-05/0.2042, allocations: 12.81 kB / 449.5 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.459e-05/0.2043, allocations: 77.81 kB / 449.6 MB, free: 33.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.2044, allocations: 253.7 kB / 449.8 MB, free: 32.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.2045, allocations: 71.38 kB / 449.9 MB, free: 32.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.142e-05/0.2046, allocations: 85.25 kB / 450 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009177/0.2055, allocations: 0.7274 MB / 450.7 MB, free: 32.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.2055, allocations: 0 / 450.7 MB, free: 32.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.925e-05/0.2056, allocations: 44.41 kB / 450.8 MB, free: 32.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.2056, allocations: 20.75 kB / 450.8 MB, free: 32.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000936/0.2065, allocations: 0.7219 MB / 451.5 MB, free: 32.16 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 291.15, confidence number = 2) * Candidate: V.air.T(start = 288.15, confidence number = 8) * Candidate: V.heatPort.T(start = 288.15, confidence number = 8) => Select value from V.T(start = V.Tstart = 291.15) for variable: V.T Warning: Alias set with conflicting start values * Candidate: AHU.T(start = AHU.Tstart = 293.15, confidence number = 2) * Candidate: AHU.air.T(start = 288.15, confidence number = 8) => Select value from AHU.T(start = AHU.Tstart = 293.15) for variable: AHU.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002446/0.209, allocations: 2.407 MB / 453.9 MB, free: 30.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.2104, allocations: 0.8754 MB / 454.8 MB, free: 30.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000399/0.2108, allocations: 344.9 kB / 455.1 MB, free: 30.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.807e-05/0.2108, allocations: 15.41 kB / 455.1 MB, free: 30.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.2109, allocations: 46.59 kB / 455.2 MB, free: 30.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=103): time 2.505e-06/0.2109, allocations: 7.922 kB / 455.2 MB, free: 30.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=114): time 0.007348/0.2182, allocations: 3.444 MB / 458.6 MB, free: 28.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.2183, allocations: 64.31 kB / 458.7 MB, free: 28.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.2184, allocations: 208.1 kB / 458.9 MB, free: 28.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.862e-05/0.2185, allocations: 45.55 kB / 458.9 MB, free: 28.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.578e-05/0.2185, allocations: 263 kB / 459.2 MB, free: 27.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.2187, allocations: 388.4 kB / 459.6 MB, free: 27.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.65e-05/0.2188, allocations: 85.62 kB / 459.7 MB, free: 27.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.269e-05/0.2189, allocations: 358.2 kB / 460 MB, free: 27.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004332/0.2193, allocations: 298.2 kB / 460.3 MB, free: 27.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004705/0.2198, allocations: 390.7 kB / 460.7 MB, free: 26.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/0.2302, allocations: 2.372 MB / 463.1 MB, free: 26.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2303, allocations: 1.219 kB / 463.1 MB, free: 26.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002428/0.2327, allocations: 1.177 MB / 464.2 MB, free: 25.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2327, allocations: 10.25 kB / 464.2 MB, free: 25.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2327, allocations: 1.25 kB / 464.2 MB, free: 25.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/0.2342, allocations: 339.5 kB / 464.6 MB, free: 25.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005142/0.2394, allocations: 0.7467 MB / 465.3 MB, free: 25.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008816/0.2482, allocations: 14.78 MB / 480.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005442/0.2488, allocations: 56.69 kB / 480.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.2488, allocations: 30.52 kB / 480.2 MB, free: 11.15 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: AHU.T:VARIABLE(min = max(0.0, 0.0) start = AHU.Tstart unit = "K" fixed = true nominal = 300.0 ) "controlled T" type: Real AHU.phi:VARIABLE(start = AHU.phistart fixed = true ) 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 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 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 (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,4,77.8%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003083/0.2492, allocations: 245.4 kB / 480.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.083e-05/0.2493, allocations: 48.38 kB / 480.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002977/0.2522, allocations: 1.397 MB / 481.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.2523, allocations: 11.7 kB / 481.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2523, allocations: 5.312 kB / 481.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.2523, allocations: 7.234 kB / 481.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003994/0.2563, allocations: 2.561 MB / 484.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.2563, allocations: 7.188 kB / 484.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004516/0.2608, allocations: 0.6852 MB / 485.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002478/0.2633, allocations: 0.4999 MB / 485.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.16e-05/0.2634, allocations: 31.94 kB / 485.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/0.2735, allocations: 14.96 MB / 0.4889 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/0.2735, allocations: 12.47 kB / 0.4889 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003529/0.2771, allocations: 1.964 MB / 0.4908 GB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.2772, allocations: 137.2 kB / 0.491 GB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.574e-05/0.2773, allocations: 31.42 kB / 0.491 GB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005911/0.2779, allocations: 58.22 kB / 0.4911 GB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/0.2781, allocations: 118.9 kB / 0.4912 GB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.658e-05/0.2782, allocations: 40.12 kB / 0.4912 GB, free: 8.895 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.2783, allocations: 159.4 kB / 0.4914 GB, free: 8.793 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2783, allocations: 0 / 0.4914 GB, free: 8.793 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009922/0.2793, allocations: 263.8 kB / 0.4916 GB, free: 8.75 MB / 366.1 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 (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,4,77.8%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000162/0.2795, allocations: 142 kB / 0.4917 GB, free: 8.625 MB / 366.1 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.006345/0.2859, allocations: 1.97 MB / 0.4937 GB, free: 7.191 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2859, allocations: 0 / 0.4937 GB, free: 7.191 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005378/0.2912, allocations: 1.617 MB / 0.4952 GB, free: 5.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.2923, allocations: 169.4 kB / 0.4954 GB, free: 5.508 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.2948, allocations: 2.305 MB / 0.4977 GB, free: 3.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.2952, allocations: 0.9366 MB / 0.4986 GB, free: 2.129 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.2954, allocations: 55.44 kB / 0.4986 GB, free: 2.074 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2954, allocations: 0 / 0.4986 GB, free: 2.074 MB / 366.1 MB Notification: Performance of Templates: time 0.02763/0.3231, allocations: 35.21 MB / 0.533 GB, free: 14.8 MB / 414.1 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)