Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.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: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, 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.0009935/0.0009935, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.301/1.301, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002/0.002, allocations: 275 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9454/0.9454, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003053/0.003053, allocations: 92.77 kB / 0.5948 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1702, allocations: 86.99 MB / 0.6798 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002207/0.1724, allocations: 1.358 MB / 0.6811 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.1742, allocations: 1.339 MB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.003e-05/0.1742, allocations: 0 / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.1743, allocations: 1.25 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.35e-05/0.1744, allocations: 7.984 kB / 0.6824 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009071/0.1753, allocations: 328.9 kB / 0.6827 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.356e-05/0.1754, allocations: 43.89 kB / 0.6828 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.198e-05/0.1754, allocations: 4 kB / 0.6828 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.698e-05/0.1755, allocations: 12 kB / 0.6828 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/0.1755, allocations: 27.89 kB / 0.6828 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.1756, allocations: 7.938 kB / 0.6828 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007152/0.1763, allocations: 0.5343 MB / 0.6833 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.1763, allocations: 15.98 kB / 0.6834 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.1764, allocations: 11.88 kB / 0.6834 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.1768, allocations: 359.3 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1769, allocations: 0 / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1769, allocations: 0 / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1769, allocations: 0 / 0.6837 GB, free: 12.86 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004482/0.1773, allocations: 415.4 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1774, allocations: 8.031 kB / 0.6841 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.1774, allocations: 30.75 kB / 0.6841 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003247/0.1777, allocations: 44.8 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1779, allocations: 176.3 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1779, allocations: 12.31 kB / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.1779, allocations: 384 / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.178, allocations: 65.78 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.178, allocations: 0 / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.178, allocations: 0 / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1781, allocations: 0 / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.1782, allocations: 59.88 kB / 0.6845 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.1784, allocations: 173.6 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.1785, allocations: 62.48 kB / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.436e-05/0.1786, allocations: 32.97 kB / 0.6847 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004909/0.1791, allocations: 201 kB / 0.6849 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1791, allocations: 42.5 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.031e-06/0.1791, allocations: 3.938 kB / 0.685 GB, free: 11.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002371/0.1794, allocations: 93.66 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.1794, allocations: 51.41 kB / 0.6851 GB, free: 11.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.754e-05/0.1795, allocations: 109.8 kB / 0.6852 GB, free: 11.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1795, allocations: 29.7 kB / 0.6853 GB, free: 11.06 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.042e-05/0.1795, allocations: 84.14 kB / 0.6853 GB, free: 10.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.1796, allocations: 31.64 kB / 0.6854 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.1796, allocations: 21.66 kB / 0.6854 GB, free: 10.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.139e-05/0.1797, allocations: 314.8 kB / 0.6857 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.1798, allocations: 19.98 kB / 0.6857 GB, free: 10.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.1798, allocations: 15.98 kB / 0.6857 GB, free: 10.56 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.203e-05/0.1799, allocations: 48.83 kB / 0.6858 GB, free: 10.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1799, allocations: 0 / 0.6858 GB, free: 10.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001393/0.1801, allocations: 77.98 kB / 0.6858 GB, free: 10.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1801, allocations: 4 kB / 0.6858 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.1801, allocations: 8 kB / 0.6859 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.1801, allocations: 0 / 0.6859 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1802, allocations: 19.98 kB / 0.6859 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1802, allocations: 0 / 0.6859 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/0.1803, allocations: 11.91 kB / 0.6859 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.1803, allocations: 0 / 0.6859 GB, free: 10.39 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 (6): * Single equations (assignments): 6 * 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.805e-05/0.1804, allocations: 110.5 kB / 0.686 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.1804, allocations: 7.938 kB / 0.686 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004986/0.1809, allocations: 293.4 kB / 0.6863 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1809, allocations: 8 kB / 0.6863 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1809, allocations: 0 / 0.6863 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1809, allocations: 0 / 0.6863 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.1811, allocations: 173.6 kB / 0.6864 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1811, allocations: 3.938 kB / 0.6865 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.589e-05/0.1812, allocations: 27.86 kB / 0.6865 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1812, allocations: 0 / 0.6865 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1812, allocations: 0 / 0.6865 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.1812, allocations: 4 kB / 0.6865 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1812, allocations: 0 / 0.6865 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.1814, allocations: 109.1 kB / 0.6866 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.1814, allocations: 92.88 kB / 0.6867 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.1814, allocations: 4 kB / 0.6867 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.883e-05/0.1815, allocations: 4 kB / 0.6867 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.1815, allocations: 8 kB / 0.6867 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-06/0.1815, allocations: 0 / 0.6867 GB, free: 9.461 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.302e-05/0.1816, allocations: 95.27 kB / 0.6868 GB, free: 9.367 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1816, allocations: 3.938 kB / 0.6868 GB, free: 9.363 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003312/0.1819, allocations: 115.9 kB / 0.6869 GB, free: 9.25 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 (7): * Single equations (assignments): 7 * 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.0007694/0.1827, allocations: 0.7803 MB / 0.6877 GB, free: 8.441 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.1829, allocations: 56.67 kB / 0.6877 GB, free: 8.387 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1829, allocations: 0 / 0.6877 GB, free: 8.387 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.206e-05/0.1829, allocations: 31.98 kB / 0.6877 GB, free: 8.355 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.1831, allocations: 12.16 kB / 0.6878 GB, free: 8.344 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.1843, allocations: 1.384 MB / 0.6891 GB, free: 6.883 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.1845, allocations: 0.6936 MB / 0.6898 GB, free: 6.164 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003491/0.1849, allocations: 269.3 kB / 0.69 GB, free: 5.906 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.456e-05/0.185, allocations: 19.42 kB / 0.6901 GB, free: 5.887 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.185, allocations: 0 / 0.6901 GB, free: 5.887 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0133/0.1983, allocations: 3.921 MB / 0.6939 GB, free: 2.211 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/0.1985, allocations: 301.6 kB / 0.6942 GB, free: 1.832 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/1.949, allocations: 0 / 0.6942 GB, free: 1.832 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1)