Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.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.ProcessComponents.Thermal.Liquid.TubeWall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.Liquid.TubeWall") translateModel(AES.ProcessComponents.Thermal.Liquid.TubeWall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.Liquid.TubeWall") [/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.1023/0.1023, allocations: 21.44 MB / 36.39 MB, free: 1.148 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.001038/0.001038, allocations: 183.5 kB / 42.62 MB, free: 3.988 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.827/1.827, allocations: 205.4 MB / 254.1 MB, free: 15.41 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.0009806/0.0009807, allocations: 97.42 kB / 307.8 MB, free: 11.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000648/0.0006482, allocations: 9.188 kB / 373.2 MB, free: 59.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1335, allocations: 52.95 MB / 426.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4052/0.5387, allocations: 78.07 MB / 0.4924 GB, free: 23.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.539, allocations: 72.84 kB / 0.4925 GB, free: 23.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01251/0.5516, allocations: 4.023 MB / 0.4964 GB, free: 22.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.5516, allocations: 1.188 kB / 0.4964 GB, free: 22.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.538e-05/0.5517, allocations: 7.438 kB / 0.4964 GB, free: 22.92 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001071/0.5527, allocations: 0.608 MB / 0.497 GB, free: 22.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.5528, allocations: 10.06 kB / 0.497 GB, free: 22.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.27e-05/0.5529, allocations: 24 kB / 0.4971 GB, free: 22.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005357/0.5534, allocations: 298.5 kB / 0.4974 GB, free: 22.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.5535, allocations: 18.8 kB / 0.4974 GB, free: 22.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.232e-05/0.5535, allocations: 34.44 kB / 0.4974 GB, free: 22.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006917/0.5542, allocations: 384.9 kB / 0.4978 GB, free: 22.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.5543, allocations: 7.938 kB / 0.4978 GB, free: 22.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.5543, allocations: 11.09 kB / 0.4978 GB, free: 22.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.5543, allocations: 7.516 kB / 0.4978 GB, free: 22.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004001/0.5547, allocations: 241.6 kB / 0.498 GB, free: 22.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.5569, allocations: 1.78 MB / 0.4998 GB, free: 20.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006647/0.5576, allocations: 441 kB / 0.5002 GB, free: 20.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.5576, allocations: 7 kB / 0.5002 GB, free: 20.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.5576, allocations: 41.88 kB / 0.5002 GB, free: 20.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.755e-06/0.5576, allocations: 3.984 kB / 0.5002 GB, free: 20.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008693/0.5585, allocations: 427.9 kB / 0.5006 GB, free: 20.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.5586, allocations: 165 kB / 0.5008 GB, free: 20.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.5588, allocations: 181 kB / 0.501 GB, free: 20.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.5589, allocations: 30.23 kB / 0.501 GB, free: 20.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009344/0.5598, allocations: 163.3 kB / 0.5012 GB, free: 36.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.5599, allocations: 107.8 kB / 0.5013 GB, free: 36.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.56, allocations: 7.594 kB / 0.5013 GB, free: 36.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.5601, allocations: 340.8 kB / 0.5016 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.5604, allocations: 166 kB / 0.5018 GB, free: 35.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.5607, allocations: 272.8 kB / 0.502 GB, free: 35.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.5611, allocations: 225.6 kB / 0.5022 GB, free: 35.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5611, allocations: 1.188 kB / 0.5022 GB, free: 35.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007721/0.5619, allocations: 0.4948 MB / 0.5027 GB, free: 35.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.5619, allocations: 7.469 kB / 0.5027 GB, free: 35.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.5619, allocations: 4.469 kB / 0.5027 GB, free: 35.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.5619, allocations: 9.688 kB / 0.5027 GB, free: 35.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/0.5626, allocations: 148.2 kB / 0.5029 GB, free: 35.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.5626, allocations: 6.141 kB / 0.5029 GB, free: 35.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.5628, allocations: 40.72 kB / 0.5029 GB, free: 35.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.5629, allocations: 15.84 kB / 0.5029 GB, free: 35.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (50): * Single equations (assignments): 50 * 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.000221/0.5631, allocations: 183.4 kB / 0.5031 GB, free: 35.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.5632, allocations: 24.78 kB / 0.5031 GB, free: 35.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.5634, allocations: 48.41 kB / 0.5032 GB, free: 35.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.5634, allocations: 4.312 kB / 0.5032 GB, free: 35.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.5634, allocations: 1.766 kB / 0.5032 GB, free: 35.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.5634, allocations: 3.5 kB / 0.5032 GB, free: 35.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006739/0.5641, allocations: 402.5 kB / 0.5036 GB, free: 35.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.5641, allocations: 1.062 kB / 0.5036 GB, free: 35.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000678/0.5648, allocations: 135.5 kB / 0.5037 GB, free: 35.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.5648, allocations: 1.375 kB / 0.5037 GB, free: 35.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.5648, allocations: 17.86 kB / 0.5037 GB, free: 35.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.5649, allocations: 5.969 kB / 0.5037 GB, free: 35.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5649, allocations: 2.281 kB / 0.5037 GB, free: 35.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008984/0.5658, allocations: 0.8491 MB / 0.5046 GB, free: 34.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.836e-05/0.5659, allocations: 97.64 kB / 0.5047 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.712e-05/0.5659, allocations: 23.86 kB / 0.5047 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005121/0.5664, allocations: 17.2 kB / 0.5047 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.5665, allocations: 16.14 kB / 0.5047 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.5665, allocations: 11.39 kB / 0.5047 GB, free: 34.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000131/0.5667, allocations: 148.7 kB / 0.5049 GB, free: 34.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5667, allocations: 0 / 0.5049 GB, free: 34.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005592/0.5672, allocations: 107.5 kB / 0.505 GB, free: 34.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (wall.T[1,1],wall.T[1,2],wall.T[1,3],wall.T[2,1],wall.T[2,2],wall.T[2,3],wall.T[3,1],wall.T[3,2],wall.T[3,3],wall.T[4,1],wall.T[4,2],wall.T[4,3],wall.T[5,1],wall.T[5,2],wall.T[5,3]) * 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 (25): * Single equations (assignments): 25 * 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 0.000175/0.5674, allocations: 123 kB / 0.5051 GB, free: 34.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007517/0.5682, allocations: 360.4 kB / 0.5054 GB, free: 34.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5682, allocations: 1.344 kB / 0.5054 GB, free: 34.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.5684, allocations: 144.8 kB / 0.5056 GB, free: 34.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005807/0.569, allocations: 85.11 kB / 0.5056 GB, free: 34.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.5715, allocations: 1.742 MB / 0.5073 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006127/0.5722, allocations: 0.7913 MB / 0.5081 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000455/0.5726, allocations: 155.1 kB / 0.5083 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.294e-05/0.5727, allocations: 25.34 kB / 0.5083 GB, free: 32.54 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.5727, allocations: 7.938 kB / 0.5083 GB, free: 32.53 MB / 378.7 MB Notification: Performance of Templates: time 0.009248/0.582, allocations: 3.708 MB / 0.5119 GB, free: 32.29 MB / 378.7 MB make -j1 -f AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.makefile (rm -f AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe ; mkfifo AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe >> ../files/AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.sim & ./AES_AES.ProcessComponents.Thermal.Liquid.TubeWall -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe 2>&1)