Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_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 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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_001") translateModel(AES.Devel_test_models.Test_header_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_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.09566/0.09566, allocations: 21.61 MB / 36.56 MB, free: 1.102 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.001003/0.001003, allocations: 186.4 kB / 42.82 MB, free: 3.789 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.267/1.267, allocations: 223.2 MB / 272.1 MB, free: 1.398 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.0008729/0.0008729, allocations: 109.3 kB / 328.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.0003069, allocations: 16 kB / 397 MB, free: 46.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08751/0.08783, allocations: 55.82 MB / 452.9 MB, free: 6.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2761/0.364, allocations: 80.05 MB / 0.5204 GB, free: 13.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001712/0.3642, allocations: 64.94 kB / 0.5205 GB, free: 13.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005122/0.3693, allocations: 2.669 MB / 0.5231 GB, free: 12.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3694, allocations: 0 / 0.5231 GB, free: 12.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.3694, allocations: 3.938 kB / 0.5231 GB, free: 12.68 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0003988/0.3698, allocations: 455.3 kB / 0.5235 GB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.3698, allocations: 7.688 kB / 0.5235 GB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.3699, allocations: 19.44 kB / 0.5236 GB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.3702, allocations: 248.7 kB / 0.5238 GB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.3702, allocations: 14.94 kB / 0.5238 GB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.3702, allocations: 11.12 kB / 0.5238 GB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.3704, allocations: 123.2 kB / 0.5239 GB, free: 12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3705, allocations: 3.156 kB / 0.5239 GB, free: 12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.3705, allocations: 14.92 kB / 0.5239 GB, free: 12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3705, allocations: 3.844 kB / 0.524 GB, free: 12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.3707, allocations: 78.45 kB / 0.524 GB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000718/0.3714, allocations: 0.5066 MB / 0.5245 GB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.3715, allocations: 50.17 kB / 0.5246 GB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.3715, allocations: 0 / 0.5246 GB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.3715, allocations: 37.62 kB / 0.5246 GB, free: 11.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3715, allocations: 0 / 0.5246 GB, free: 11.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002063/0.3718, allocations: 83.3 kB / 0.5247 GB, free: 11.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.3718, allocations: 59.19 kB / 0.5247 GB, free: 11.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.3719, allocations: 194.4 kB / 0.5249 GB, free: 11.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.372, allocations: 28.45 kB / 0.525 GB, free: 11.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.372, allocations: 148.6 kB / 0.5251 GB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.372, allocations: 21.94 kB / 0.5251 GB, free: 11.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.372, allocations: 0 / 0.5251 GB, free: 11.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.084e-05/0.3721, allocations: 326.8 kB / 0.5254 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.369e-05/0.3722, allocations: 17.44 kB / 0.5254 GB, free: 10.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.888e-05/0.3722, allocations: 48.73 kB / 0.5255 GB, free: 10.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.473e-05/0.3723, allocations: 22.31 kB / 0.5255 GB, free: 10.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3723, allocations: 0 / 0.5255 GB, free: 10.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001459/0.3724, allocations: 118.9 kB / 0.5256 GB, free: 10.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.3724, allocations: 4 kB / 0.5256 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3725, allocations: 7.906 kB / 0.5256 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.3725, allocations: 3.938 kB / 0.5256 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.3727, allocations: 37.02 kB / 0.5257 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.3727, allocations: 0 / 0.5257 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.226e-05/0.3728, allocations: 17.56 kB / 0.5257 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3728, allocations: 3.688 kB / 0.5257 GB, free: 10.84 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = 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: 4 * 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 (10): * Single equations (assignments): 10 * 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.000154/0.373, allocations: 134.7 kB / 0.5258 GB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.373, allocations: 19.45 kB / 0.5258 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.373, allocations: 23.05 kB / 0.5259 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-06/0.373, allocations: 0 / 0.5259 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.373, allocations: 0 / 0.5259 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.373, allocations: 0 / 0.5259 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004078/0.3735, allocations: 408.5 kB / 0.5263 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3735, allocations: 1.875 kB / 0.5263 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.864e-05/0.3735, allocations: 11.38 kB / 0.5263 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3736, allocations: 4.234 kB / 0.5263 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.3736, allocations: 3.938 kB / 0.5263 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3736, allocations: 3.844 kB / 0.5263 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3736, allocations: 0 / 0.5263 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.3738, allocations: 223.2 kB / 0.5265 GB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.3738, allocations: 98.97 kB / 0.5266 GB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.3739, allocations: 0 / 0.5266 GB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.635e-05/0.374, allocations: 3.938 kB / 0.5266 GB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.374, allocations: 9.656 kB / 0.5266 GB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.374, allocations: 11.86 kB / 0.5266 GB, free: 10.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.18e-05/0.3741, allocations: 162.3 kB / 0.5268 GB, free: 9.992 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3741, allocations: 0 / 0.5268 GB, free: 9.992 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002286/0.3743, allocations: 34.28 kB / 0.5268 GB, free: 9.988 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 8.201e-05/0.3744, allocations: 100.2 kB / 0.5269 GB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.3745, allocations: 46.66 kB / 0.5269 GB, free: 9.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3745, allocations: 0 / 0.5269 GB, free: 9.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.083e-05/0.3746, allocations: 18.45 kB / 0.527 GB, free: 9.887 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.3748, allocations: 30.11 kB / 0.527 GB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006798/0.3755, allocations: 0.4938 MB / 0.5275 GB, free: 9.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.3756, allocations: 0.7285 MB / 0.5282 GB, free: 8.871 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.318e-05/0.3757, allocations: 19.12 kB / 0.5282 GB, free: 8.867 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.3757, allocations: 15.12 kB / 0.5282 GB, free: 8.863 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3757, allocations: 0 / 0.5282 GB, free: 8.863 MB / 362.7 MB Notification: Performance of Templates: time 0.002906/0.3786, allocations: 1.399 MB / 0.5296 GB, free: 8.48 MB / 362.7 MB make -j1 -f AES_AES.Devel_test_models.Test_header_001.makefile (rm -f AES_AES.Devel_test_models.Test_header_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_001.pipe >> ../files/AES_AES.Devel_test_models.Test_header_001.sim & ./AES_AES.Devel_test_models.Test_header_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_header_001.pipe 2>&1)