Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00109/0.00109, allocations: 193.2 kB / 16.25 MB, free: 6.617 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.303/1.303, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 287.7 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9276/0.9276, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001635, allocations: 95.41 kB / 0.5947 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1708, allocations: 86.99 MB / 0.6797 GB, free: 1 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.0023/0.1731, allocations: 1.409 MB / 0.6811 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.1746, allocations: 1.069 MB / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.447e-05/0.1746, allocations: 0.7188 kB / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.1746, allocations: 3.938 kB / 0.6821 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.992e-05/0.1747, allocations: 12.47 kB / 0.6821 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.1752, allocations: 188.1 kB / 0.6823 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.792e-05/0.1753, allocations: 31.86 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.1754, allocations: 11.94 kB / 0.6823 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.091e-05/0.1754, allocations: 15.92 kB / 0.6824 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.534e-05/0.1755, allocations: 23.8 kB / 0.6824 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.1755, allocations: 0 / 0.6824 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005223/0.176, allocations: 427.5 kB / 0.6828 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.176, allocations: 0 / 0.6828 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.1761, allocations: 19.84 kB / 0.6828 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.1763, allocations: 191.7 kB / 0.683 GB, free: 13.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1764, allocations: 0 / 0.683 GB, free: 13.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1764, allocations: 0 / 0.683 GB, free: 13.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1764, allocations: 4 kB / 0.683 GB, free: 13.61 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003971/0.1768, allocations: 383.3 kB / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1768, allocations: 8.031 kB / 0.6834 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.1768, allocations: 8.844 kB / 0.6834 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.177, allocations: 172.3 kB / 0.6835 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.177, allocations: 4.375 kB / 0.6835 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.177, allocations: 384 / 0.6835 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.324e-05/0.1771, allocations: 46 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1771, allocations: 0 / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.1771, allocations: 4 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.1771, allocations: 0 / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.172e-05/0.1772, allocations: 12 kB / 0.6836 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.1773, allocations: 165.7 kB / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.088e-05/0.1774, allocations: 38.55 kB / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.1775, allocations: 16.89 kB / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008576/0.1783, allocations: 0.9895 MB / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.1783, allocations: 34.5 kB / 0.6848 GB, free: 11.36 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1784, allocations: 4 kB / 0.6848 GB, free: 11.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001627/0.1785, allocations: 61.59 kB / 0.6849 GB, free: 11.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.1786, allocations: 55.34 kB / 0.6849 GB, free: 11.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.807e-05/0.1786, allocations: 105.8 kB / 0.685 GB, free: 11.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1787, allocations: 29.64 kB / 0.6851 GB, free: 11.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.1787, allocations: 80.14 kB / 0.6851 GB, free: 11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.1787, allocations: 15.84 kB / 0.6852 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.1788, allocations: 17.7 kB / 0.6852 GB, free: 10.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.1789, allocations: 318.8 kB / 0.6855 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.914e-05/0.1789, allocations: 4 kB / 0.6855 GB, free: 10.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.657e-05/0.1789, allocations: 7.984 kB / 0.6855 GB, free: 10.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.552e-05/0.179, allocations: 24.86 kB / 0.6855 GB, free: 10.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.179, allocations: 0 / 0.6855 GB, free: 10.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.738e-05/0.179, allocations: 57.86 kB / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1791, allocations: 7.938 kB / 0.6856 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1791, allocations: 3.984 kB / 0.6856 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1791, allocations: 0 / 0.6856 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.1792, allocations: 15.94 kB / 0.6856 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1792, allocations: 4 kB / 0.6856 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.1792, allocations: 4 kB / 0.6856 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1793, allocations: 3.984 kB / 0.6856 GB, free: 10.5 MB / 494.1 MB 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 (4): * Single equations (assignments): 4 * 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 6.251e-05/0.1793, allocations: 105.8 kB / 0.6857 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.1793, allocations: 7.938 kB / 0.6857 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.1795, allocations: 65.5 kB / 0.6858 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1795, allocations: 0 / 0.6858 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1795, allocations: 3.938 kB / 0.6858 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1795, allocations: 4 kB / 0.6858 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.1796, allocations: 161.7 kB / 0.6859 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1796, allocations: 0 / 0.6859 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.425e-05/0.1797, allocations: 12 kB / 0.6859 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1797, allocations: 3.938 kB / 0.686 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.1797, allocations: 0 / 0.686 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1797, allocations: 4 kB / 0.686 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1797, allocations: 3.984 kB / 0.686 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.505e-05/0.1798, allocations: 77.12 kB / 0.686 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.1799, allocations: 84.95 kB / 0.6861 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.1799, allocations: 0 / 0.6861 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.464e-05/0.1799, allocations: 4 kB / 0.6861 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.1799, allocations: 0 / 0.6861 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.1799, allocations: 0 / 0.6861 GB, free: 9.863 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.702e-05/0.18, allocations: 99.14 kB / 0.6862 GB, free: 9.766 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.18, allocations: 0 / 0.6862 GB, free: 9.766 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.1802, allocations: 39.94 kB / 0.6862 GB, free: 9.727 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.000235/0.1805, allocations: 159.9 kB / 0.6864 GB, free: 9.562 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.252e-05/0.1806, allocations: 19.98 kB / 0.6864 GB, free: 9.543 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1806, allocations: 0 / 0.6864 GB, free: 9.543 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-05/0.1806, allocations: 15.94 kB / 0.6864 GB, free: 9.527 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.1808, allocations: 7.984 kB / 0.6864 GB, free: 9.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.1811, allocations: 163.5 kB / 0.6866 GB, free: 9.336 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.1813, allocations: 0.6768 MB / 0.6873 GB, free: 8.633 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.203e-05/0.1813, allocations: 5.828 kB / 0.6873 GB, free: 8.629 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.1814, allocations: 15.42 kB / 0.6873 GB, free: 8.617 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1814, allocations: 0 / 0.6873 GB, free: 8.617 MB / 494.1 MB Notification: Performance of Templates: time 0.003234/0.1846, allocations: 1.144 MB / 0.6884 GB, free: 7.527 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)