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 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.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.09522/0.09522, allocations: 21.61 MB / 36.56 MB, free: 0.8789 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.0009166/0.0009166, allocations: 177.1 kB / 42.82 MB, free: 3.648 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.204/1.204, allocations: 223.2 MB / 272.1 MB, free: 1.363 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.0008198/0.0008199, allocations: 90.89 kB / 328.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.000297, allocations: 8 kB / 397 MB, free: 46.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07249/0.07281, allocations: 55.82 MB / 452.9 MB, free: 6.602 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2429/0.3157, allocations: 78.96 MB / 0.5194 GB, free: 13.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001677/0.3159, allocations: 68.88 kB / 0.5194 GB, free: 13.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009423/0.3254, allocations: 4.111 MB / 0.5234 GB, free: 12.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3254, allocations: 0 / 0.5234 GB, free: 12.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.3254, allocations: 3.844 kB / 0.5235 GB, free: 12.61 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.0007928/0.3262, allocations: 0.6078 MB / 0.524 GB, free: 12.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.3262, allocations: 11.47 kB / 0.5241 GB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.139e-05/0.3263, allocations: 30.88 kB / 0.5241 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.3267, allocations: 302.7 kB / 0.5244 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.3268, allocations: 17.69 kB / 0.5244 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/0.3268, allocations: 29.41 kB / 0.5244 GB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.3273, allocations: 388.7 kB / 0.5248 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3273, allocations: 4 kB / 0.5248 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.3273, allocations: 10.52 kB / 0.5248 GB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3273, allocations: 7.688 kB / 0.5248 GB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.3276, allocations: 242.6 kB / 0.525 GB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.3292, allocations: 1.786 MB / 0.5268 GB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/0.3296, allocations: 442.9 kB / 0.5272 GB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.3296, allocations: 4 kB / 0.5272 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.3296, allocations: 37.94 kB / 0.5272 GB, free: 10.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.292e-06/0.3297, allocations: 0 / 0.5272 GB, free: 10.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006647/0.3303, allocations: 429 kB / 0.5277 GB, free: 10.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.3304, allocations: 166 kB / 0.5278 GB, free: 10.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.3305, allocations: 182.8 kB / 0.528 GB, free: 9.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.3305, allocations: 29.55 kB / 0.528 GB, free: 9.898 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.3306, allocations: 164.3 kB / 0.5282 GB, free: 9.766 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/0.3306, allocations: 105.2 kB / 0.5283 GB, free: 9.695 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/0.3307, allocations: 6.312 kB / 0.5283 GB, free: 9.695 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.563e-05/0.3307, allocations: 336.5 kB / 0.5286 GB, free: 9.375 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.3309, allocations: 165.8 kB / 0.5288 GB, free: 9.352 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.3311, allocations: 273.2 kB / 0.529 GB, free: 9.203 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.3313, allocations: 223 kB / 0.5292 GB, free: 9.176 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3314, allocations: 0 / 0.5292 GB, free: 9.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005179/0.3319, allocations: 0.4993 MB / 0.5297 GB, free: 9.059 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.3319, allocations: 8.125 kB / 0.5297 GB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3319, allocations: 5.094 kB / 0.5297 GB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3319, allocations: 3.75 kB / 0.5297 GB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.3324, allocations: 150 kB / 0.5299 GB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3324, allocations: 11.31 kB / 0.5299 GB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.3326, allocations: 50.25 kB / 0.5299 GB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.3326, allocations: 15.09 kB / 0.53 GB, free: 8.996 MB / 362.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.0001055/0.3328, allocations: 175.8 kB / 0.5301 GB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.3329, allocations: 27.17 kB / 0.5301 GB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.333, allocations: 43.34 kB / 0.5302 GB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.333, allocations: 3.844 kB / 0.5302 GB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.333, allocations: 3.844 kB / 0.5302 GB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.333, allocations: 0 / 0.5302 GB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004864/0.3335, allocations: 404.2 kB / 0.5306 GB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3335, allocations: 0 / 0.5306 GB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005715/0.3341, allocations: 136.4 kB / 0.5307 GB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.3341, allocations: 3.953 kB / 0.5307 GB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.3341, allocations: 19.42 kB / 0.5307 GB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3341, allocations: 3.531 kB / 0.5307 GB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3341, allocations: 0 / 0.5307 GB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.3346, allocations: 0.8479 MB / 0.5316 GB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.3347, allocations: 104.6 kB / 0.5317 GB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.3347, allocations: 19.58 kB / 0.5317 GB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.335, allocations: 15.61 kB / 0.5317 GB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.3351, allocations: 31.36 kB / 0.5317 GB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.3351, allocations: 3.969 kB / 0.5317 GB, free: 7.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.804e-05/0.3352, allocations: 146.1 kB / 0.5319 GB, free: 7.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3352, allocations: 0 / 0.5319 GB, free: 7.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004533/0.3356, allocations: 107.5 kB / 0.532 GB, free: 7.723 MB / 362.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.0001058/0.3357, allocations: 118.6 kB / 0.5321 GB, free: 7.621 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004134/0.3362, allocations: 356.1 kB / 0.5324 GB, free: 7.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3362, allocations: 3.844 kB / 0.5324 GB, free: 7.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.3363, allocations: 145.9 kB / 0.5326 GB, free: 7.543 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.3368, allocations: 91.45 kB / 0.5327 GB, free: 7.512 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.3382, allocations: 1.741 MB / 0.5344 GB, free: 6.215 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.3384, allocations: 0.7924 MB / 0.5351 GB, free: 5.477 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002444/0.3387, allocations: 150.8 kB / 0.5353 GB, free: 5.422 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.18e-05/0.3387, allocations: 26.16 kB / 0.5353 GB, free: 5.418 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.3388, allocations: 0 / 0.5353 GB, free: 5.418 MB / 362.7 MB Notification: Performance of Templates: time 0.00506/0.3438, allocations: 3.708 MB / 0.5389 GB, free: 3.695 MB / 362.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 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe 2>&1)