Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 195.1 kB / 16.14 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002598/0.002598, allocations: 278.7 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.088/1.088, allocations: 178.6 MB / 0.5068 GB, free: 4.805 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002839/0.002839, allocations: 98.77 kB / 0.6057 GB, free: 25.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1512, allocations: 89.15 MB / 0.6928 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003807/0.1551, allocations: 2.267 MB / 0.695 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003255/0.1583, allocations: 2.371 MB / 0.6973 GB, free: 204 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.362e-05/0.1584, allocations: 3.938 kB / 0.6973 GB, free: 200 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.1597, allocations: 445.1 kB / 0.6978 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.1599, allocations: 87.48 kB / 0.6979 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.1602, allocations: 87.89 kB / 0.6979 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009242/0.1611, allocations: 0.8771 MB / 0.6988 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1612, allocations: 32.28 kB / 0.6988 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.1616, allocations: 251.4 kB / 0.6991 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004581/0.162, allocations: 327.2 kB / 0.6994 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.094e-05/0.1621, allocations: 32 kB / 0.6994 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.977e-05/0.1622, allocations: 32 kB / 0.6994 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002577/0.1625, allocations: 203.4 kB / 0.6996 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002989/0.1628, allocations: 246.9 kB / 0.6999 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006913/0.1635, allocations: 0.701 MB / 0.7005 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1635, allocations: 0 / 0.7005 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.61e-07/0.1635, allocations: 0 / 0.7005 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.1635, allocations: 0 / 0.7005 GB, free: 12.9 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002549/0.1661, allocations: 0.933 MB / 0.7015 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1661, allocations: 8.031 kB / 0.7015 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.1663, allocations: 52.41 kB / 0.7015 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.168, allocations: 0.5068 MB / 0.702 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.1681, allocations: 24.38 kB / 0.702 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.13e-05/0.1682, allocations: 40.31 kB / 0.7021 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.1686, allocations: 217.6 kB / 0.7023 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1686, allocations: 0 / 0.7023 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.1686, allocations: 4 kB / 0.7023 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1686, allocations: 4 kB / 0.7023 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.1689, allocations: 175.9 kB / 0.7025 GB, free: 10.86 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005107/0.1741, allocations: 1.432 MB / 0.7039 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.176, allocations: 0.5918 MB / 0.7044 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.1763, allocations: 136.8 kB / 0.7046 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.1763, allocations: 4 kB / 0.7046 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.1763, allocations: 34.56 kB / 0.7046 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/0.1763, allocations: 0 / 0.7046 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24): time 0.001167/0.1775, allocations: 0.548 MB / 0.7051 GB, free: 8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.1776, allocations: 51.41 kB / 0.7052 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004286/0.178, allocations: 397.4 kB / 0.7056 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.771e-05/0.1781, allocations: 41.7 kB / 0.7056 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.1782, allocations: 169 kB / 0.7058 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.1784, allocations: 98.64 kB / 0.7059 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002544/0.1786, allocations: 150.3 kB / 0.706 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1788, allocations: 350.8 kB / 0.7063 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006091/0.1794, allocations: 337.1 kB / 0.7067 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006754/0.1801, allocations: 413.4 kB / 0.7071 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009463/0.1811, allocations: 0.5646 MB / 0.7076 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1811, allocations: 0 / 0.7076 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001664/0.1828, allocations: 0.9092 MB / 0.7085 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.191e-05/0.1828, allocations: 41.69 kB / 0.7085 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1828, allocations: 0 / 0.7085 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002189/0.1831, allocations: 32.78 kB / 0.7086 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009343/0.184, allocations: 155.8 kB / 0.7087 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.1854, allocations: 1.315 MB / 0.71 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.1871, allocations: 103.2 kB / 0.7101 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.1872, allocations: 27.97 kB / 0.7101 GB, free: 2.672 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002504/0.1875, allocations: 190.2 kB / 0.7103 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.523e-05/0.1876, allocations: 35.53 kB / 0.7103 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.587e-05/0.1876, allocations: 39.47 kB / 0.7104 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.1877, allocations: 8.031 kB / 0.7104 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1877, allocations: 3.938 kB / 0.7104 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1877, allocations: 0 / 0.7104 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005502/0.1882, allocations: 461 kB / 0.7108 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1882, allocations: 0 / 0.7108 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002763/0.1885, allocations: 51.91 kB / 0.7109 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001207/0.1886, allocations: 24.84 kB / 0.7109 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.1887, allocations: 11.98 kB / 0.7109 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.1898, allocations: 1.327 MB / 0.7122 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1898, allocations: 0 / 0.7122 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009291/0.1908, allocations: 0.5861 MB / 0.7128 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.1909, allocations: 120.7 kB / 0.7129 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.426e-05/0.1909, allocations: 19.92 kB / 0.7129 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007887/0.1917, allocations: 27.88 kB / 0.7129 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.1918, allocations: 15.97 kB / 0.713 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.1918, allocations: 8 kB / 0.713 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002868/0.1921, allocations: 263.1 kB / 0.7132 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1921, allocations: 0 / 0.7132 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007376/0.1929, allocations: 232 kB / 0.7134 GB, free: 15.04 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001456/0.193, allocations: 111.8 kB / 0.7135 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.1943, allocations: 0.7454 MB / 0.7143 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1943, allocations: 0 / 0.7143 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.1947, allocations: 266.5 kB / 0.7145 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006544/0.1954, allocations: 89.62 kB / 0.7146 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.1975, allocations: 1.388 MB / 0.716 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.198, allocations: 0.8119 MB / 0.7168 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003525/0.1983, allocations: 115.1 kB / 0.7169 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.1985, allocations: 35.41 kB / 0.7169 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.1985, allocations: 0 / 0.7169 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of Templates: time 0.01511/0.2136, allocations: 7.593 MB / 0.7243 GB, free: 3.898 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)