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.0935/0.0935, allocations: 21.61 MB / 37.4 MB, free: 0.7461 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.001291/0.001291, allocations: 188.4 kB / 43.64 MB, free: 3.562 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.293/1.293, allocations: 205.1 MB / 254.8 MB, free: 14.29 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.000959/0.0009589, allocations: 101.3 kB / 307.5 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.001181, allocations: 55.95 kB / 372.3 MB, free: 59.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06746/0.06866, allocations: 51.97 MB / 424.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Liquid.TubeWall): time 0.002084/0.07078, allocations: 1.658 MB / 426 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005138/0.07131, allocations: 0.4966 MB / 426.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.07137, allocations: 0 / 426.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.07149, allocations: 19.86 kB / 426.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.0716, allocations: 79.62 kB / 426.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001115/0.07172, allocations: 31.95 kB / 426.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003255/0.07205, allocations: 0.5692 MB / 427.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.07221, allocations: 125.6 kB / 427.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.07235, allocations: 147.6 kB / 427.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.07257, allocations: 211.5 kB / 427.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.15e-05/0.07262, allocations: 20 kB / 427.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.864e-05/0.07268, allocations: 20 kB / 427.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.171e-05/0.07276, allocations: 127.6 kB / 427.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.07288, allocations: 155.4 kB / 428 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.07309, allocations: 362.9 kB / 428.3 MB, free: 10.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.0731, allocations: 0 / 428.3 MB, free: 10.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.0731, allocations: 4 kB / 428.3 MB, free: 10.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.07311, allocations: 0 / 428.3 MB, free: 10.47 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009559/0.07407, allocations: 0.6864 MB / 429 MB, free: 9.734 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.632e-05/0.0741, allocations: 8.031 kB / 429 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.466e-05/0.07416, allocations: 36.56 kB / 429 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.07444, allocations: 279.9 kB / 429.3 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.07446, allocations: 20.88 kB / 429.3 MB, free: 9.359 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.07451, allocations: 24.38 kB / 429.4 MB, free: 9.336 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.07489, allocations: 377.3 kB / 429.7 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.07491, allocations: 0 / 429.7 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.07494, allocations: 8 kB / 429.7 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.07495, allocations: 8 kB / 429.7 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.07523, allocations: 255.7 kB / 430 MB, free: 8.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.07662, allocations: 1.756 MB / 431.7 MB, free: 6.734 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000415/0.07704, allocations: 441.1 kB / 432.2 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.0772, allocations: 156.3 kB / 432.3 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.07723, allocations: 4 kB / 432.3 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.07725, allocations: 38.56 kB / 432.4 MB, free: 6.039 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.302e-06/0.07725, allocations: 0 / 432.4 MB, free: 6.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005983/0.07786, allocations: 438.2 kB / 432.8 MB, free: 5.605 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.07789, allocations: 162.2 kB / 433 MB, free: 5.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.07803, allocations: 211.1 kB / 433.2 MB, free: 5.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.07805, allocations: 29.7 kB / 433.2 MB, free: 5.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/0.0781, allocations: 156 kB / 433.3 MB, free: 5.004 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.478e-05/0.07816, allocations: 114.4 kB / 433.5 MB, free: 4.891 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-05/0.07825, allocations: 82.12 kB / 433.5 MB, free: 4.805 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.243e-05/0.0783, allocations: 334.8 kB / 433.9 MB, free: 4.469 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.07848, allocations: 164.8 kB / 434 MB, free: 4.309 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.0787, allocations: 281.1 kB / 434.3 MB, free: 3.984 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.07909, allocations: 468.5 kB / 434.8 MB, free: 3.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.07909, allocations: 0 / 434.8 MB, free: 3.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005052/0.0796, allocations: 0.5009 MB / 435.3 MB, free: 2.973 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.07962, allocations: 8 kB / 435.3 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.07963, allocations: 4 kB / 435.3 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.07965, allocations: 4 kB / 435.3 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/0.08011, allocations: 147.8 kB / 435.4 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.08013, allocations: 11.94 kB / 435.4 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.08032, allocations: 47.97 kB / 435.5 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.08035, allocations: 16 kB / 435.5 MB, free: 2.738 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.08046, allocations: 177.6 kB / 435.7 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.96e-05/0.08057, allocations: 19.72 kB / 435.7 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.981e-05/0.08066, allocations: 44.98 kB / 435.7 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.08067, allocations: 4 kB / 435.7 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.08068, allocations: 3.938 kB / 435.7 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.08069, allocations: 0 / 435.7 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.08116, allocations: 401.2 kB / 436.1 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.08116, allocations: 4 kB / 436.1 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005434/0.08171, allocations: 131.8 kB / 436.3 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.08172, allocations: 112 / 436.3 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.08176, allocations: 23.92 kB / 436.3 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.08176, allocations: 4 kB / 436.3 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.08177, allocations: 3.938 kB / 436.3 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003117/0.08489, allocations: 3.025 MB / 439.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.08496, allocations: 97.05 kB / 439.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.08501, allocations: 16 kB / 439.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.0853, allocations: 27.81 kB / 439.5 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.08535, allocations: 23.86 kB / 439.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.08538, allocations: 4 kB / 439.5 MB, free: 14.53 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.08549, allocations: 155.4 kB / 439.6 MB, free: 14.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.08549, allocations: 0 / 439.6 MB, free: 14.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005453/0.08604, allocations: 139.9 kB / 439.8 MB, free: 14.24 MB / 314.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001077/0.08616, allocations: 107.2 kB / 439.9 MB, free: 14.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004685/0.08663, allocations: 364.2 kB / 440.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.08665, allocations: 7.938 kB / 440.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.08682, allocations: 143.8 kB / 440.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/0.0875, allocations: 83.94 kB / 440.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.08947, allocations: 1.743 MB / 442.2 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.08981, allocations: 0.7952 MB / 443 MB, free: 10.92 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003062/0.09013, allocations: 162 kB / 443.2 MB, free: 10.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.92e-05/0.09023, allocations: 31.44 kB / 443.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.09023, allocations: 0 / 443.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of Templates: time 0.007105/0.09734, allocations: 4.906 MB / 448.1 MB, free: 5.828 MB / 314.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)