Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.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.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002236/0.002236, allocations: 283.2 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9182/0.9182, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003185/0.003185, allocations: 98.11 kB / 0.5953 GB, free: 27.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1778, allocations: 86.99 MB / 0.6802 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001681/0.1796, allocations: 0.5583 MB / 0.6808 GB, free: 92 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.1816, allocations: 1.601 MB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.152e-05/0.1816, allocations: 0.6562 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.577e-05/0.1816, allocations: 3.938 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.218e-05/0.1817, allocations: 0.625 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.1823, allocations: 207.9 kB / 0.6825 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.729e-05/0.1824, allocations: 15.98 kB / 0.6826 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.1824, allocations: 4 kB / 0.6826 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.88e-05/0.1824, allocations: 11.98 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.751e-05/0.1825, allocations: 7.984 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.1825, allocations: 0 / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00045/0.1829, allocations: 279.5 kB / 0.6828 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.738e-05/0.183, allocations: 7.938 kB / 0.6829 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.183, allocations: 15.92 kB / 0.6829 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.1833, allocations: 163.6 kB / 0.683 GB, free: 13.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1833, allocations: 0 / 0.683 GB, free: 13.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1833, allocations: 4 kB / 0.683 GB, free: 13.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1833, allocations: 0 / 0.683 GB, free: 13.77 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003656/0.1837, allocations: 367.7 kB / 0.6834 GB, free: 13.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1837, allocations: 8.031 kB / 0.6834 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008205/0.1845, allocations: 80.86 kB / 0.6835 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.1847, allocations: 164.3 kB / 0.6836 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1847, allocations: 384 / 0.6836 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.1847, allocations: 8.375 kB / 0.6836 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1849, allocations: 85.84 kB / 0.6837 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.1849, allocations: 0 / 0.6837 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1849, allocations: 0 / 0.6837 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1849, allocations: 8 kB / 0.6837 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.1852, allocations: 79.88 kB / 0.6838 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.1853, allocations: 185.6 kB / 0.684 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.1855, allocations: 82.5 kB / 0.6841 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.765e-05/0.1856, allocations: 44.95 kB / 0.6841 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.1856, allocations: 0 / 0.6841 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.1856, allocations: 42.44 kB / 0.6841 GB, free: 12.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.1856, allocations: 0 / 0.6841 GB, free: 12.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003226/0.186, allocations: 141.6 kB / 0.6843 GB, free: 12.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.186, allocations: 55.41 kB / 0.6843 GB, free: 12.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.995e-05/0.1861, allocations: 101.8 kB / 0.6844 GB, free: 12.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1861, allocations: 29.7 kB / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.1861, allocations: 80.14 kB / 0.6845 GB, free: 12.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.1862, allocations: 23.64 kB / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.1862, allocations: 25.69 kB / 0.6846 GB, free: 11.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1864, allocations: 318.8 kB / 0.6849 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.278e-05/0.1864, allocations: 35.91 kB / 0.6849 GB, free: 11.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-05/0.1865, allocations: 35.89 kB / 0.6849 GB, free: 11.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.1866, allocations: 77.44 kB / 0.685 GB, free: 11.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1866, allocations: 0 / 0.685 GB, free: 11.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002039/0.1869, allocations: 113.6 kB / 0.6851 GB, free: 11.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1869, allocations: 7.938 kB / 0.6851 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1869, allocations: 0 / 0.6851 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1869, allocations: 0 / 0.6851 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.1871, allocations: 23.97 kB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1871, allocations: 0 / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.1872, allocations: 4 kB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.1872, allocations: 7.984 kB / 0.6852 GB, free: 11.35 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 (5): * Single equations (assignments): 5 * 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 8.739e-05/0.1873, allocations: 114.4 kB / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.1874, allocations: 11.84 kB / 0.6853 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.1878, allocations: 217 kB / 0.6855 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1878, allocations: 3.984 kB / 0.6855 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1878, allocations: 0 / 0.6855 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.1879, allocations: 0 / 0.6855 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.188, allocations: 217.4 kB / 0.6857 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.188, allocations: 0 / 0.6857 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.1882, allocations: 31.92 kB / 0.6857 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1882, allocations: 3.938 kB / 0.6857 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1882, allocations: 4 kB / 0.6857 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1882, allocations: 4 kB / 0.6857 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1883, allocations: 0 / 0.6857 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.1885, allocations: 198.6 kB / 0.6859 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.1886, allocations: 88.95 kB / 0.686 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.1886, allocations: 0 / 0.686 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-05/0.1887, allocations: 4 kB / 0.686 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.1887, allocations: 11.98 kB / 0.686 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.1887, allocations: 8 kB / 0.686 GB, free: 10.35 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.364e-05/0.1888, allocations: 87.33 kB / 0.6861 GB, free: 10.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.303e-06/0.1888, allocations: 0 / 0.6861 GB, free: 10.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.1891, allocations: 67.94 kB / 0.6862 GB, free: 10.2 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 (16): * Single equations (assignments): 16 * 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.0003579/0.1895, allocations: 184.1 kB / 0.6864 GB, free: 10.01 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.1897, allocations: 123.8 kB / 0.6865 GB, free: 9.887 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1897, allocations: 0 / 0.6865 GB, free: 9.887 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.1898, allocations: 79.91 kB / 0.6866 GB, free: 9.809 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.19, allocations: 8 kB / 0.6866 GB, free: 9.801 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.1904, allocations: 204.9 kB / 0.6868 GB, free: 9.574 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.1906, allocations: 0.6924 MB / 0.6874 GB, free: 8.855 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.353e-05/0.1907, allocations: 27.91 kB / 0.6875 GB, free: 8.828 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.485e-05/0.1908, allocations: 23.42 kB / 0.6875 GB, free: 8.805 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1908, allocations: 4 kB / 0.6875 GB, free: 8.801 MB / 494.1 MB Notification: Performance of Templates: time 0.004865/0.1957, allocations: 2.423 MB / 0.6899 GB, free: 6.434 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1)