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.001652/0.001652, 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.001886/0.001886, allocations: 195.1 kB / 16.14 MB, free: 6.637 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002505/0.002505, allocations: 286.9 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.07/1.07, allocations: 178.6 MB / 0.5068 GB, free: 4.789 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002786/0.002786, allocations: 96.33 kB / 0.6058 GB, free: 25.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1624, allocations: 89.15 MB / 0.6928 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001766/0.1642, allocations: 0.6337 MB / 0.6934 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.1666, allocations: 1.651 MB / 0.6951 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.1667, allocations: 0 / 0.6951 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.219e-05/0.1667, allocations: 0 / 0.6951 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.595e-05/0.1668, allocations: 0 / 0.6951 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.1673, allocations: 159.6 kB / 0.6952 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.51e-05/0.1674, allocations: 15.98 kB / 0.6952 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.1674, allocations: 8 kB / 0.6952 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.245e-05/0.1675, allocations: 15.97 kB / 0.6953 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.615e-05/0.1675, allocations: 4 kB / 0.6953 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.1675, allocations: 0 / 0.6953 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005401/0.1681, allocations: 295.4 kB / 0.6955 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.1681, allocations: 15.92 kB / 0.6956 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.1682, allocations: 7.938 kB / 0.6956 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.1685, allocations: 179.6 kB / 0.6957 GB, free: 1.805 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1685, allocations: 0 / 0.6957 GB, free: 1.805 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1685, allocations: 0 / 0.6957 GB, free: 1.805 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.1685, allocations: 0 / 0.6957 GB, free: 1.805 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.000409/0.1689, allocations: 367.7 kB / 0.6961 GB, free: 1.398 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.169, allocations: 8.031 kB / 0.6961 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008307/0.1698, allocations: 76.86 kB / 0.6962 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.17, allocations: 172.3 kB / 0.6963 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.17, allocations: 4.312 kB / 0.6963 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.17, allocations: 384 / 0.6963 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.1702, allocations: 89.91 kB / 0.6964 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1702, allocations: 0 / 0.6964 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.1703, allocations: 0 / 0.6964 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1703, allocations: 3.984 kB / 0.6964 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002513/0.1705, allocations: 87.88 kB / 0.6965 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.1708, allocations: 181.5 kB / 0.6967 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.171, allocations: 86.52 kB / 0.6968 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.269e-05/0.171, allocations: 44.94 kB / 0.6968 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.1711, allocations: 0 / 0.6968 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.1711, allocations: 42.44 kB / 0.6968 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1711, allocations: 4 kB / 0.6968 GB, free: 0.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.000416/0.1715, allocations: 141.5 kB / 0.697 GB, free: 364 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.1716, allocations: 51.41 kB / 0.697 GB, free: 300 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.571e-05/0.1717, allocations: 101.9 kB / 0.6971 GB, free: 188 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.1717, allocations: 25.7 kB / 0.6972 GB, free: 156 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.1718, allocations: 92.12 kB / 0.6972 GB, free: 60 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.1718, allocations: 11.75 kB / 0.6973 GB, free: 48 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.1719, allocations: 33.62 kB / 0.6973 GB, free: 8 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1721, allocations: 318.8 kB / 0.6976 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.765e-05/0.1722, allocations: 27.97 kB / 0.6976 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.647e-05/0.1722, allocations: 31.97 kB / 0.6976 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.1724, allocations: 73.42 kB / 0.6977 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1724, allocations: 8 kB / 0.6977 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000232/0.1726, allocations: 109.6 kB / 0.6978 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1727, allocations: 7.938 kB / 0.6978 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1727, allocations: 0 / 0.6978 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1727, allocations: 0 / 0.6978 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.1729, allocations: 27.91 kB / 0.6979 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1729, allocations: 0 / 0.6979 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.173, allocations: 8 kB / 0.6979 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.173, allocations: 3.984 kB / 0.6979 GB, free: 15.39 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 (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 0.0001042/0.1732, allocations: 110.5 kB / 0.698 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.1732, allocations: 11.84 kB / 0.698 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/0.1736, allocations: 217 kB / 0.6982 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1736, allocations: 0 / 0.6982 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.1737, allocations: 0 / 0.6982 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1737, allocations: 7.922 kB / 0.6982 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.1739, allocations: 225.3 kB / 0.6984 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.1739, allocations: 0 / 0.6984 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.1741, allocations: 27.92 kB / 0.6984 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1741, allocations: 7.938 kB / 0.6985 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1741, allocations: 0 / 0.6985 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1741, allocations: 4 kB / 0.6985 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1741, allocations: 0 / 0.6985 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.1745, allocations: 189 kB / 0.6986 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.558e-05/0.1745, allocations: 92.88 kB / 0.6987 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.1746, allocations: 4 kB / 0.6987 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.078e-05/0.1747, allocations: 7.938 kB / 0.6987 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.1747, allocations: 7.984 kB / 0.6987 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1747, allocations: 4 kB / 0.6987 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.944e-05/0.1748, allocations: 91.34 kB / 0.6988 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1748, allocations: 7.938 kB / 0.6988 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000348/0.1751, allocations: 67.98 kB / 0.6989 GB, free: 14.23 MB / 0.4981 GB 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.0004381/0.1756, allocations: 179.2 kB / 0.6991 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.1758, allocations: 105.8 kB / 0.6992 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1758, allocations: 0 / 0.6992 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.176, allocations: 79.95 kB / 0.6993 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.1761, allocations: 8 kB / 0.6993 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004312/0.1766, allocations: 238.5 kB / 0.6995 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.1769, allocations: 0.6971 MB / 0.7002 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.177, allocations: 23.97 kB / 0.7002 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.202e-05/0.1771, allocations: 19.42 kB / 0.7002 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1771, allocations: 0 / 0.7002 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of Templates: time 0.005951/0.1831, allocations: 2.379 MB / 0.7025 GB, free: 10.51 MB / 0.4981 GB 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)