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 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.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.1579/0.1579, allocations: 21.44 MB / 36.39 MB, free: 1.23 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.001065/0.001065, allocations: 190 kB / 42.63 MB, free: 3.957 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.603/1.603, allocations: 205.4 MB / 254.1 MB, free: 15.23 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.0007665/0.0007663, allocations: 86.92 kB / 307.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004871, allocations: 7.781 kB / 373.2 MB, free: 59.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09416/0.09467, allocations: 52.96 MB / 426.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.001621/0.09634, allocations: 1.854 MB / 428 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003457/0.0967, allocations: 267.2 kB / 428.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.09682, allocations: 8 kB / 428.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.09687, allocations: 23.77 kB / 428.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.09705, allocations: 123.6 kB / 428.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001063/0.09716, allocations: 27.97 kB / 428.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.09732, allocations: 211.5 kB / 428.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.0975, allocations: 104.4 kB / 428.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.09766, allocations: 127.5 kB / 428.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.09776, allocations: 83.62 kB / 429 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.0978, allocations: 12 kB / 429 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.616e-05/0.09783, allocations: 8 kB / 429 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.09785, allocations: 31.84 kB / 429 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.09789, allocations: 69.58 kB / 429.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.09801, allocations: 147.6 kB / 429.2 MB, free: 9.941 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.09802, allocations: 0 / 429.2 MB, free: 9.941 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09803, allocations: 0 / 429.2 MB, free: 9.941 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.09803, allocations: 0 / 429.2 MB, free: 9.941 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0004939/0.09853, allocations: 490.3 kB / 429.7 MB, free: 9.414 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.09857, allocations: 12.03 kB / 429.7 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.09864, allocations: 23.72 kB / 429.8 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.09887, allocations: 251.7 kB / 430 MB, free: 9.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.09889, allocations: 12 kB / 430 MB, free: 9.078 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.09892, allocations: 15.95 kB / 430 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.09913, allocations: 174.2 kB / 430.2 MB, free: 8.871 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.09915, allocations: 4 kB / 430.2 MB, free: 8.867 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.09917, allocations: 7.938 kB / 430.2 MB, free: 8.859 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.09918, allocations: 4 kB / 430.2 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.09933, allocations: 92.45 kB / 430.3 MB, free: 8.766 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006036/0.09994, allocations: 0.8063 MB / 431.1 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.1001, allocations: 70.56 kB / 431.2 MB, free: 7.816 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.1001, allocations: 11.97 kB / 431.2 MB, free: 7.805 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.1001, allocations: 34.72 kB / 431.2 MB, free: 7.762 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.1001, allocations: 0 / 431.2 MB, free: 7.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000234/0.1004, allocations: 125.3 kB / 431.4 MB, free: 7.633 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.1004, allocations: 55.39 kB / 431.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.1006, allocations: 267 kB / 431.7 MB, free: 7.297 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.1006, allocations: 29.7 kB / 431.7 MB, free: 7.262 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.1007, allocations: 147.9 kB / 431.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.1007, allocations: 31.55 kB / 431.9 MB, free: 7.082 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.1007, allocations: 4 kB / 431.9 MB, free: 7.078 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.1008, allocations: 334.8 kB / 432.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.91e-05/0.1008, allocations: 24 kB / 432.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-05/0.1009, allocations: 46.56 kB / 432.3 MB, free: 6.664 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.895e-05/0.101, allocations: 39.92 kB / 432.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.101, allocations: 0 / 432.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001679/0.1012, allocations: 145.2 kB / 432.5 MB, free: 6.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1012, allocations: 4 kB / 432.5 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1012, allocations: 0 / 432.5 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1012, allocations: 7.984 kB / 432.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.1014, allocations: 20 kB / 432.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1014, allocations: 0 / 432.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.572e-05/0.1015, allocations: 19.73 kB / 432.5 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1015, allocations: 8 kB / 432.5 MB, free: 6.418 MB / 298.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.0001641/0.1017, allocations: 133.8 kB / 432.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.1017, allocations: 23.67 kB / 432.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.1018, allocations: 29.73 kB / 432.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1018, allocations: 0 / 432.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.1018, allocations: 0 / 432.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1018, allocations: 4 kB / 432.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.102, allocations: 245.5 kB / 432.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.102, allocations: 0 / 432.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.1021, allocations: 16 kB / 433 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1022, allocations: 7.938 kB / 433 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.1022, allocations: 4 kB / 433 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1022, allocations: 4 kB / 433 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1022, allocations: 0 / 433 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.1025, allocations: 235.2 kB / 433.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.1025, allocations: 104.8 kB / 433.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.1026, allocations: 7.938 kB / 433.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1027, allocations: 0 / 433.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.1027, allocations: 8 kB / 433.3 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1027, allocations: 0 / 433.3 MB, free: 5.512 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001218/0.1028, allocations: 190 kB / 433.5 MB, free: 5.328 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1028, allocations: 3.938 kB / 433.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.1031, allocations: 40 kB / 433.5 MB, free: 5.285 MB / 298.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 9.167e-05/0.1032, allocations: 99.09 kB / 433.6 MB, free: 5.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.1033, allocations: 76.52 kB / 433.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1034, allocations: 0 / 433.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.141e-05/0.1034, allocations: 47.89 kB / 433.8 MB, free: 5.059 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.1037, allocations: 45.16 kB / 433.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007557/0.1045, allocations: 0.583 MB / 434.4 MB, free: 4.402 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.1046, allocations: 0.7365 MB / 435.1 MB, free: 3.641 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000121/0.1048, allocations: 34.27 kB / 435.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.1048, allocations: 19.44 kB / 435.2 MB, free: 3.582 MB / 298.7 MB Notification: Performance of SimCode: time 2.81e-07/0.1048, allocations: 0 / 435.2 MB, free: 3.582 MB / 298.7 MB Notification: Performance of Templates: time 0.004028/0.1088, allocations: 2.045 MB / 437.2 MB, free: 1.535 MB / 298.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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1)