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 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_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.09405/0.09405, allocations: 21.6 MB / 37.4 MB, free: 0.7578 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.001158/0.001158, allocations: 188.5 kB / 43.63 MB, free: 3.562 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.376/1.376, allocations: 205.1 MB / 254.8 MB, free: 14.26 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.0008781/0.0008782, allocations: 102.2 kB / 307.5 MB, free: 11.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 50.73 kB / 372.3 MB, free: 59.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08355/0.08478, allocations: 51.98 MB / 424.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.004071/0.0889, allocations: 4.369 MB / 428.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.09038, allocations: 1.31 MB / 430 MB, free: 8.777 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.09057, allocations: 4 kB / 430 MB, free: 8.773 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.0907, allocations: 63.44 kB / 430.1 MB, free: 8.711 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.09106, allocations: 218.3 kB / 430.3 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.09149, allocations: 263.7 kB / 430.5 MB, free: 8.238 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005948/0.0921, allocations: 1.107 MB / 431.6 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003454/0.09245, allocations: 393.8 kB / 432 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002524/0.09271, allocations: 366.8 kB / 432.4 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.09303, allocations: 414.3 kB / 432.8 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.378e-05/0.09311, allocations: 48 kB / 432.8 MB, free: 5.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.09322, allocations: 48 kB / 432.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.193e-05/0.09331, allocations: 159.4 kB / 433 MB, free: 5.727 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.09356, allocations: 406.1 kB / 433.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004915/0.09406, allocations: 0.9733 MB / 434.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.09407, allocations: 0 / 434.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.09408, allocations: 4 kB / 434.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.09409, allocations: 0 / 434.4 MB, free: 4.348 MB / 298.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.001679/0.09578, allocations: 1.034 MB / 435.4 MB, free: 3.262 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.09582, allocations: 8.031 kB / 435.4 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.09593, allocations: 80 kB / 435.5 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.09609, allocations: 263.7 kB / 435.8 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.09613, allocations: 70.12 kB / 435.8 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.049e-05/0.09622, allocations: 84 kB / 435.9 MB, free: 2.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000927/0.09716, allocations: 0.7336 MB / 436.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.09718, allocations: 0 / 436.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.005e-05/0.09725, allocations: 36 kB / 436.7 MB, free: 1.953 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.09727, allocations: 27.98 kB / 436.7 MB, free: 1.926 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009477/0.09823, allocations: 0.7222 MB / 437.4 MB, free: 1.203 MB / 298.7 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.003079/0.1013, allocations: 2.404 MB / 439.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.103, allocations: 0.8784 MB / 440.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005171/0.1035, allocations: 335.8 kB / 441.1 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-05/0.1036, allocations: 16.98 kB / 441.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.1037, allocations: 47.56 kB / 441.1 MB, free: 13.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=103): time 3.086e-06/0.1037, allocations: 0 / 441.1 MB, free: 13.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=114): time 0.008635/0.1123, allocations: 3.413 MB / 444.5 MB, free: 9.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.1124, allocations: 64.41 kB / 444.6 MB, free: 9.766 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.1126, allocations: 211 kB / 444.8 MB, free: 9.551 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/0.1126, allocations: 41.7 kB / 444.8 MB, free: 9.504 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.1128, allocations: 264.9 kB / 445.1 MB, free: 9.238 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.113, allocations: 386.3 kB / 445.5 MB, free: 8.855 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.1133, allocations: 150.6 kB / 445.6 MB, free: 8.703 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1134, allocations: 358.8 kB / 446 MB, free: 8.344 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005071/0.1139, allocations: 301.8 kB / 446.3 MB, free: 8.047 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/0.1145, allocations: 391.1 kB / 446.7 MB, free: 7.648 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/0.1253, allocations: 2.319 MB / 449 MB, free: 5.316 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1253, allocations: 0 / 449 MB, free: 5.316 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002605/0.128, allocations: 1.172 MB / 450.1 MB, free: 4.125 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.128, allocations: 4 kB / 450.1 MB, free: 4.121 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.128, allocations: 0 / 450.1 MB, free: 4.121 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/0.1295, allocations: 331.1 kB / 450.5 MB, free: 3.785 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005439/0.1349, allocations: 0.7451 MB / 451.2 MB, free: 3.039 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/0.1479, allocations: 14.74 MB / 466 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006958/0.1486, allocations: 52.06 kB / 466 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.085e-05/0.1487, allocations: 28 kB / 466 MB, free: 2.855 MB / 330.7 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 {(2,5,100.0%), (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.0004285/0.1491, allocations: 255.2 kB / 466.3 MB, free: 2.598 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.1492, allocations: 51.34 kB / 466.3 MB, free: 2.547 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003306/0.1526, allocations: 1.383 MB / 467.7 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/0.1526, allocations: 15.94 kB / 467.7 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1526, allocations: 4 kB / 467.7 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.1526, allocations: 3.984 kB / 467.7 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004669/0.1573, allocations: 2.553 MB / 470.3 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.1574, allocations: 8 kB / 470.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004745/0.1621, allocations: 0.6867 MB / 471 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002381/0.1645, allocations: 483 kB / 471.5 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.1646, allocations: 40.05 kB / 471.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01366/0.1783, allocations: 14.92 MB / 486.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.711e-05/0.1783, allocations: 11.94 kB / 486.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0322/0.2105, allocations: 14.92 MB / 0.4896 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.2107, allocations: 132.6 kB / 0.4897 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-05/0.2108, allocations: 31.98 kB / 0.4898 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006121/0.2114, allocations: 59.94 kB / 0.4898 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002827/0.2117, allocations: 120.6 kB / 0.4899 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.31e-05/0.2118, allocations: 39.98 kB / 0.49 GB, free: 12.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001451/0.2119, allocations: 159.5 kB / 0.4901 GB, free: 12.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2119, allocations: 0 / 0.4901 GB, free: 12.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001426/0.2134, allocations: 388 kB / 0.4905 GB, free: 12.36 MB / 378.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 (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 {(2,5,100.0%), (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.000177/0.2136, allocations: 139 kB / 0.4906 GB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006706/0.2203, allocations: 1.971 MB / 0.4925 GB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.2203, allocations: 0 / 0.4925 GB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005865/0.2262, allocations: 1.622 MB / 0.4941 GB, free: 8.516 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.2272, allocations: 173.5 kB / 0.4943 GB, free: 8.348 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005967/0.2332, allocations: 3.405 MB / 0.4976 GB, free: 4.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005845/0.2338, allocations: 0.9683 MB / 0.4986 GB, free: 3.777 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006575/0.2345, allocations: 97.11 kB / 0.4987 GB, free: 3.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.2347, allocations: 51.44 kB / 0.4987 GB, free: 3.629 MB / 378.7 MB Notification: Performance of SimCode: time 8.31e-07/0.2347, allocations: 0 / 0.4987 GB, free: 3.629 MB / 378.7 MB Notification: Performance of Templates: time 0.1684/0.4031, allocations: 17.17 MB / 0.5155 GB, free: 75.66 MB / 378.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)