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.001116/0.001116, allocations: 108 kB / 15.61 MB, free: 152 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.001102/0.001102, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002147/0.002147, allocations: 294.5 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9407/0.9407, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 98.8 kB / 0.5954 GB, free: 27.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1614, allocations: 86.98 MB / 0.6803 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002281/0.1638, allocations: 1.296 MB / 0.6816 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.1656, allocations: 1.331 MB / 0.6829 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.123e-05/0.1657, allocations: 0.625 kB / 0.6829 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.1657, allocations: 1.406 kB / 0.6829 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.1658, allocations: 19.86 kB / 0.6829 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008295/0.1667, allocations: 367.8 kB / 0.6833 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.582e-05/0.1667, allocations: 43.91 kB / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.1668, allocations: 0 / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.675e-05/0.1668, allocations: 15.98 kB / 0.6833 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.915e-05/0.1669, allocations: 23.91 kB / 0.6833 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.1669, allocations: 4 kB / 0.6833 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007109/0.1676, allocations: 0.5187 MB / 0.6839 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.1677, allocations: 15.97 kB / 0.6839 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.1677, allocations: 23.86 kB / 0.6839 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004451/0.1682, allocations: 343.4 kB / 0.6842 GB, free: 12.56 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1682, allocations: 0 / 0.6842 GB, free: 12.56 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1682, allocations: 0 / 0.6842 GB, free: 12.56 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1682, allocations: 0 / 0.6842 GB, free: 12.56 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.0004737/0.1687, allocations: 407.4 kB / 0.6846 GB, free: 12.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1687, allocations: 11.97 kB / 0.6846 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.1688, allocations: 34.75 kB / 0.6847 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003075/0.1691, allocations: 40.8 kB / 0.6847 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.1692, allocations: 172.3 kB / 0.6849 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1692, allocations: 384 / 0.6849 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.1693, allocations: 4.375 kB / 0.6849 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1694, allocations: 65.72 kB / 0.6849 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-06/0.1694, allocations: 0 / 0.6849 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1694, allocations: 0 / 0.6849 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1694, allocations: 11.92 kB / 0.6849 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.1696, allocations: 55.94 kB / 0.685 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.1698, allocations: 181.6 kB / 0.6852 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.1699, allocations: 58.55 kB / 0.6852 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.17, allocations: 24.97 kB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005129/0.1705, allocations: 209 kB / 0.6854 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.1705, allocations: 34.5 kB / 0.6855 GB, free: 11.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1705, allocations: 3.938 kB / 0.6855 GB, free: 11.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002361/0.1708, allocations: 93.66 kB / 0.6856 GB, free: 10.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.1708, allocations: 55.41 kB / 0.6856 GB, free: 10.92 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.096e-05/0.1709, allocations: 109.8 kB / 0.6857 GB, free: 10.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.1709, allocations: 29.7 kB / 0.6858 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.846e-05/0.171, allocations: 84.14 kB / 0.6858 GB, free: 10.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.171, allocations: 31.62 kB / 0.6859 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.171, allocations: 21.72 kB / 0.6859 GB, free: 10.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.1711, allocations: 314.8 kB / 0.6862 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-05/0.1712, allocations: 15.98 kB / 0.6862 GB, free: 10.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.698e-05/0.1712, allocations: 19.98 kB / 0.6862 GB, free: 10.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.095e-05/0.1713, allocations: 48.77 kB / 0.6863 GB, free: 10.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1713, allocations: 0 / 0.6863 GB, free: 10.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001323/0.1715, allocations: 81.61 kB / 0.6863 GB, free: 10.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1715, allocations: 13.88 kB / 0.6864 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1715, allocations: 0 / 0.6864 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.1715, allocations: 0 / 0.6864 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.349e-05/0.1716, allocations: 15.98 kB / 0.6864 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1716, allocations: 0 / 0.6864 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.189e-05/0.1717, allocations: 3.906 kB / 0.6864 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1717, allocations: 4.438 kB / 0.6864 GB, free: 10.1 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.851e-05/0.1718, allocations: 118.4 kB / 0.6865 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.1718, allocations: 3.938 kB / 0.6865 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004817/0.1723, allocations: 293.7 kB / 0.6868 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1723, allocations: 0 / 0.6868 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1723, allocations: 3.984 kB / 0.6868 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1723, allocations: 3.938 kB / 0.6868 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.1724, allocations: 181.5 kB / 0.687 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1724, allocations: 0 / 0.687 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.783e-05/0.1725, allocations: 19.92 kB / 0.687 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1725, allocations: 0 / 0.687 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1725, allocations: 4 kB / 0.687 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1725, allocations: 3.938 kB / 0.687 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1725, allocations: 4 kB / 0.687 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.1727, allocations: 109.5 kB / 0.6871 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.1728, allocations: 96.88 kB / 0.6872 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.1728, allocations: 0 / 0.6872 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.548e-05/0.1728, allocations: 4 kB / 0.6872 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.1729, allocations: 4 kB / 0.6872 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1729, allocations: 4 kB / 0.6872 GB, free: 9.168 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.822e-05/0.1729, allocations: 95.27 kB / 0.6873 GB, free: 9.074 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1729, allocations: 0 / 0.6873 GB, free: 9.074 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003149/0.1732, allocations: 108 kB / 0.6874 GB, free: 8.969 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.0007494/0.174, allocations: 0.7919 MB / 0.6882 GB, free: 8.148 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.1742, allocations: 55.97 kB / 0.6882 GB, free: 8.094 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.1742, allocations: 0 / 0.6882 GB, free: 8.094 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.293e-05/0.1742, allocations: 31.92 kB / 0.6882 GB, free: 8.062 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.1744, allocations: 20.06 kB / 0.6883 GB, free: 8.043 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.1756, allocations: 1.371 MB / 0.6896 GB, free: 6.594 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.1758, allocations: 0.6897 MB / 0.6903 GB, free: 5.879 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003412/0.1762, allocations: 264.8 kB / 0.6905 GB, free: 5.625 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.1762, allocations: 23.42 kB / 0.6906 GB, free: 5.602 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1762, allocations: 0 / 0.6906 GB, free: 5.602 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04094/0.2172, allocations: 3.998 MB / 0.6945 GB, free: 1.809 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.394/7.611, allocations: 9.688 kB / 0.6945 GB, free: 1.805 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)