Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_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_header_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_002") translateModel(AES.Devel_test_models.Test_header_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_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.09766/0.09766, allocations: 21.61 MB / 36.56 MB, free: 1.113 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.001085/0.001085, allocations: 185.5 kB / 42.82 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.28/1.28, allocations: 223.2 MB / 272.1 MB, free: 1.754 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.0008341/0.000834, allocations: 102.8 kB / 328.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002694/0.0002695, allocations: 16 kB / 397 MB, free: 46.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08063/0.08091, allocations: 55.82 MB / 452.9 MB, free: 6.68 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2755/0.3564, allocations: 80.18 MB / 0.5205 GB, free: 12.85 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001684/0.3566, allocations: 67.72 kB / 0.5206 GB, free: 12.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004232/0.3609, allocations: 2.215 MB / 0.5228 GB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3609, allocations: 0 / 0.5228 GB, free: 12.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3609, allocations: 4 kB / 0.5228 GB, free: 12.39 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0003345/0.3612, allocations: 433.6 kB / 0.5232 GB, free: 12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.3613, allocations: 7.75 kB / 0.5232 GB, free: 12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.3613, allocations: 19.41 kB / 0.5232 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.3616, allocations: 228.7 kB / 0.5234 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.3616, allocations: 7.875 kB / 0.5234 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.3616, allocations: 11.03 kB / 0.5235 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.3618, allocations: 120 kB / 0.5236 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.3618, allocations: 352 / 0.5236 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.3618, allocations: 11.23 kB / 0.5236 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3618, allocations: 0 / 0.5236 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.3619, allocations: 58.95 kB / 0.5236 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.3625, allocations: 0.5472 MB / 0.5242 GB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.3626, allocations: 56.59 kB / 0.5242 GB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.3627, allocations: 0 / 0.5242 GB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.508e-06/0.3627, allocations: 34.38 kB / 0.5243 GB, free: 11.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.3627, allocations: 0 / 0.5243 GB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001764/0.3629, allocations: 80.66 kB / 0.5243 GB, free: 11.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.54e-05/0.3629, allocations: 51.41 kB / 0.5244 GB, free: 11.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.363, allocations: 177.8 kB / 0.5246 GB, free: 11.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.363, allocations: 33.58 kB / 0.5246 GB, free: 10.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.3631, allocations: 128.7 kB / 0.5247 GB, free: 10.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.032e-05/0.3631, allocations: 7.844 kB / 0.5247 GB, free: 10.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/0.3631, allocations: 3.625 kB / 0.5247 GB, free: 10.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 3.791e-05/0.3631, allocations: 323.4 kB / 0.525 GB, free: 10.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.288e-05/0.3632, allocations: 15.22 kB / 0.525 GB, free: 10.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-05/0.3632, allocations: 27.31 kB / 0.5251 GB, free: 10.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.334e-05/0.3633, allocations: 23.72 kB / 0.5251 GB, free: 10.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3633, allocations: 0 / 0.5251 GB, free: 10.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001115/0.3634, allocations: 86.09 kB / 0.5252 GB, free: 10.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.3634, allocations: 8.906 kB / 0.5252 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.3634, allocations: 0 / 0.5252 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.3634, allocations: 0 / 0.5252 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.27e-05/0.3635, allocations: 14.08 kB / 0.5252 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.3635, allocations: 3.953 kB / 0.5252 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.596e-05/0.3636, allocations: 11.73 kB / 0.5252 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.3636, allocations: 3.875 kB / 0.5252 GB, free: 10.5 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = header.Tstart unit = "K" fixed = true nominal = 300.0 ) "fluid T" 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.3638, allocations: 130.8 kB / 0.5253 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.3638, allocations: 15.64 kB / 0.5254 GB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.3638, allocations: 18.08 kB / 0.5254 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.3638, allocations: 3.656 kB / 0.5254 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3638, allocations: 1.188 kB / 0.5254 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3638, allocations: 3.953 kB / 0.5254 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.364, allocations: 211.2 kB / 0.5256 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.364, allocations: 4 kB / 0.5256 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.91e-05/0.3641, allocations: 10 kB / 0.5256 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3641, allocations: 3.875 kB / 0.5256 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.3641, allocations: 1.094 kB / 0.5256 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3641, allocations: 0 / 0.5256 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3641, allocations: 0.875 kB / 0.5256 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.3643, allocations: 180.4 kB / 0.5258 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.3643, allocations: 94.75 kB / 0.5259 GB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.3643, allocations: 4 kB / 0.5259 GB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3645, allocations: 7.781 kB / 0.5259 GB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.3645, allocations: 2.578 kB / 0.5259 GB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.3645, allocations: 0 / 0.5259 GB, free: 9.914 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.468e-05/0.3646, allocations: 147.3 kB / 0.526 GB, free: 9.836 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3646, allocations: 3.938 kB / 0.526 GB, free: 9.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000214/0.3648, allocations: 26.66 kB / 0.526 GB, free: 9.828 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (header.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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.008e-05/0.3649, allocations: 101.6 kB / 0.5261 GB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.996e-05/0.365, allocations: 42.3 kB / 0.5262 GB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.365, allocations: 0 / 0.5262 GB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.701e-05/0.365, allocations: 13.73 kB / 0.5262 GB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.3652, allocations: 24.69 kB / 0.5262 GB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007583/0.366, allocations: 465.8 kB / 0.5267 GB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.3661, allocations: 0.7174 MB / 0.5274 GB, free: 8.762 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.51e-05/0.3662, allocations: 18.16 kB / 0.5274 GB, free: 8.758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.3662, allocations: 15.19 kB / 0.5274 GB, free: 8.75 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3662, allocations: 0 / 0.5274 GB, free: 8.75 MB / 362.7 MB Notification: Performance of Templates: time 0.002688/0.3689, allocations: 1.233 MB / 0.5286 GB, free: 8.582 MB / 362.7 MB make -j1 -f AES_AES.Devel_test_models.Test_header_002.makefile (rm -f AES_AES.Devel_test_models.Test_header_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_002.pipe >> ../files/AES_AES.Devel_test_models.Test_header_002.sim & ./AES_AES.Devel_test_models.Test_header_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_header_002.pipe 2>&1)