Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.HE_simple_case_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.Coursework.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") translateModel(AES.Coursework.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_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.0963/0.0963, 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.0009771/0.0009771, allocations: 186.4 kB / 42.83 MB, free: 3.785 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.258/1.258, allocations: 223.2 MB / 272.1 MB, free: 1.824 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.0008166/0.0008165, allocations: 99.41 kB / 328.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002759, allocations: 8 kB / 397 MB, free: 46.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08579/0.08608, allocations: 55.83 MB / 452.9 MB, free: 6.688 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2654/0.3515, allocations: 79.92 MB / 0.5203 GB, free: 12.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000177/0.3517, allocations: 73.17 kB / 0.5204 GB, free: 12.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006617/0.3584, allocations: 3.277 MB / 0.5236 GB, free: 12.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3584, allocations: 0 / 0.5236 GB, free: 12.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.3584, allocations: 3.844 kB / 0.5236 GB, free: 12.45 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005371/0.3589, allocations: 0.51 MB / 0.5241 GB, free: 12.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.766e-05/0.359, allocations: 11.31 kB / 0.5241 GB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.359, allocations: 26.56 kB / 0.5241 GB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.3594, allocations: 323.6 kB / 0.5244 GB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3595, allocations: 7.281 kB / 0.5244 GB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.3595, allocations: 20.8 kB / 0.5244 GB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.3597, allocations: 158.2 kB / 0.5246 GB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.3597, allocations: 3.938 kB / 0.5246 GB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.3597, allocations: 10.02 kB / 0.5246 GB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3597, allocations: 3.75 kB / 0.5246 GB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.3599, allocations: 92.81 kB / 0.5247 GB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005798/0.3605, allocations: 0.8208 MB / 0.5255 GB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.3606, allocations: 75.98 kB / 0.5256 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.3606, allocations: 3.75 kB / 0.5256 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.3606, allocations: 38 kB / 0.5256 GB, free: 10.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3607, allocations: 3.812 kB / 0.5256 GB, free: 10.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002217/0.3609, allocations: 129.6 kB / 0.5257 GB, free: 10.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.3609, allocations: 55.41 kB / 0.5258 GB, free: 10.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.3611, allocations: 237.2 kB / 0.526 GB, free: 10.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.188e-06/0.3611, allocations: 29.27 kB / 0.526 GB, free: 10.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.3612, allocations: 145.8 kB / 0.5262 GB, free: 10.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.3612, allocations: 29.2 kB / 0.5262 GB, free: 10.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.3612, allocations: 3.438 kB / 0.5262 GB, free: 10.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.641e-05/0.3612, allocations: 339.2 kB / 0.5265 GB, free: 10.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.746e-05/0.3613, allocations: 21.73 kB / 0.5266 GB, free: 10.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.061e-05/0.3613, allocations: 53.02 kB / 0.5266 GB, free: 10.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.009e-05/0.3614, allocations: 32.09 kB / 0.5266 GB, free: 10.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3614, allocations: 0 / 0.5266 GB, free: 10.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000165/0.3616, allocations: 145 kB / 0.5268 GB, free: 10.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.3616, allocations: 7.531 kB / 0.5268 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.3616, allocations: 0 / 0.5268 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.3616, allocations: 4.016 kB / 0.5268 GB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.3618, allocations: 35.03 kB / 0.5268 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.3618, allocations: 0 / 0.5268 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.583e-05/0.3619, allocations: 15.5 kB / 0.5268 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.3619, allocations: 6.156 kB / 0.5268 GB, free: 10.21 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = "K" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 14 * 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.0001252/0.362, allocations: 127.5 kB / 0.527 GB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.3621, allocations: 31.11 kB / 0.527 GB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.3621, allocations: 26.97 kB / 0.527 GB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.3621, allocations: 3.844 kB / 0.527 GB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.3621, allocations: 3.953 kB / 0.527 GB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3621, allocations: 0 / 0.527 GB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.3623, allocations: 244.1 kB / 0.5273 GB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3623, allocations: 0 / 0.5273 GB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.3625, allocations: 19.53 kB / 0.5273 GB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3625, allocations: 0 / 0.5273 GB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3625, allocations: 3.844 kB / 0.5273 GB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3625, allocations: 6.672 kB / 0.5273 GB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3625, allocations: 0 / 0.5273 GB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.3627, allocations: 237.1 kB / 0.5275 GB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.3628, allocations: 103.3 kB / 0.5276 GB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.3628, allocations: 3.812 kB / 0.5276 GB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.3629, allocations: 3.938 kB / 0.5276 GB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.3629, allocations: 6.578 kB / 0.5276 GB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.3629, allocations: 0 / 0.5276 GB, free: 9.609 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.3631, allocations: 198.2 kB / 0.5278 GB, free: 9.523 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3631, allocations: 0 / 0.5278 GB, free: 9.523 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002281/0.3633, allocations: 37.78 kB / 0.5279 GB, free: 9.523 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (8): * Single equations (assignments): 8 * 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.481e-05/0.3634, allocations: 104.4 kB / 0.528 GB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.3635, allocations: 81.3 kB / 0.528 GB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3635, allocations: 0 / 0.528 GB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.398e-05/0.3636, allocations: 33.3 kB / 0.5281 GB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.3638, allocations: 46.31 kB / 0.5281 GB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006013/0.3644, allocations: 0.5958 MB / 0.5287 GB, free: 9.047 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.3646, allocations: 0.7401 MB / 0.5294 GB, free: 8.348 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.3647, allocations: 31.39 kB / 0.5294 GB, free: 8.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.3647, allocations: 22.08 kB / 0.5295 GB, free: 8.332 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3647, allocations: 0 / 0.5295 GB, free: 8.332 MB / 362.7 MB Notification: Performance of Templates: time 0.003681/0.3684, allocations: 2.059 MB / 0.5315 GB, free: 7.375 MB / 362.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.makefile (rm -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.sim & ./AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1)