Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007846/0.0007847, allocations: 88.17 kB / 15.7 MB, free: 460 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.001062/0.001063, allocations: 175.1 kB / 16.58 MB, free: 6.504 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.382/1.382, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7039/0.7039, allocations: 115.5 MB / 407.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.0004091, allocations: 13.17 kB / 495.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.16, allocations: 77.54 MB / 0.5594 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.001304/0.1614, allocations: 1.035 MB / 0.5604 GB, free: 8.328 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.1633, allocations: 1.197 MB / 0.5616 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.1633, allocations: 0 / 0.5616 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.391e-05/0.1634, allocations: 7.938 kB / 0.5616 GB, free: 7.117 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.1636, allocations: 27.91 kB / 0.5616 GB, free: 7.09 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.0009107/0.1645, allocations: 295.2 kB / 0.5619 GB, free: 6.801 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.103e-05/0.1646, allocations: 39.84 kB / 0.5619 GB, free: 6.762 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.294e-05/0.1647, allocations: 0 / 0.5619 GB, free: 6.762 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.583e-05/0.1647, allocations: 23.98 kB / 0.5619 GB, free: 6.738 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.1649, allocations: 103.9 kB / 0.562 GB, free: 6.637 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1649, allocations: 4 kB / 0.562 GB, free: 6.633 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007644/0.1657, allocations: 427.4 kB / 0.5624 GB, free: 6.215 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005607/0.1663, allocations: 0.5846 MB / 0.563 GB, free: 5.629 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.1664, allocations: 145.1 kB / 0.5631 GB, free: 5.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007087/0.1671, allocations: 0.6121 MB / 0.5637 GB, free: 4.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.1671, allocations: 8 kB / 0.5638 GB, free: 4.859 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1671, allocations: 0 / 0.5638 GB, free: 4.859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.1671, allocations: 0 / 0.5638 GB, free: 4.859 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001172/0.1683, allocations: 1.179 MB / 0.5649 GB, free: 3.625 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.1684, allocations: 8.031 kB / 0.5649 GB, free: 3.617 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.1685, allocations: 106.5 kB / 0.565 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.169, allocations: 431.3 kB / 0.5654 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.169, allocations: 4 kB / 0.5654 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.169, allocations: 4 kB / 0.5654 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.1692, allocations: 165.6 kB / 0.5656 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1692, allocations: 0 / 0.5656 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1692, allocations: 0 / 0.5656 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1692, allocations: 0 / 0.5656 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.1695, allocations: 271.8 kB / 0.5659 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005457/0.17, allocations: 0.5482 MB / 0.5664 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.1702, allocations: 150.5 kB / 0.5665 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.1703, allocations: 140.8 kB / 0.5667 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.222e-05/0.1704, allocations: 80.66 kB / 0.5667 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.1704, allocations: 42.5 kB / 0.5668 GB, free: 1.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.1704, allocations: 0 / 0.5668 GB, free: 1.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.000558/0.171, allocations: 0.5195 MB / 0.5673 GB, free: 1.043 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.171, allocations: 51.41 kB / 0.5673 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.1726, allocations: 1.384 MB / 0.5687 GB, free: 15.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1726, allocations: 25.83 kB / 0.5687 GB, free: 15.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/0.1729, allocations: 457.5 kB / 0.5692 GB, free: 15.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.173, allocations: 7.906 kB / 0.5692 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-06/0.173, allocations: 0 / 0.5692 GB, free: 15.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1731, allocations: 338 kB / 0.5695 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/0.1735, allocations: 0.5906 MB / 0.5701 GB, free: 14.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.174, allocations: 0.5983 MB / 0.5706 GB, free: 13.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/0.1744, allocations: 0.615 MB / 0.5712 GB, free: 12.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1745, allocations: 4 kB / 0.5712 GB, free: 12.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001347/0.1758, allocations: 1.388 MB / 0.5726 GB, free: 11.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.1758, allocations: 8 kB / 0.5726 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.1759, allocations: 3.953 kB / 0.5726 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1759, allocations: 3.938 kB / 0.5726 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.942e-05/0.1759, allocations: 0 / 0.5726 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.1759, allocations: 4 kB / 0.5726 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.1761, allocations: 62.94 kB / 0.5727 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.1761, allocations: 4 kB / 0.5727 GB, free: 11.48 MB / 446.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: 105 (cmp,labels[1],labels[2],labels[3],labels[4],labels[5],labels[6],labels[7],labels[8],labels[9],labels[10],labels[11],labels[12],labels[13],labels[14],labels[15],labels[16],labels[17],labels[18],labels[19],labels[20],labels[21],labels[22],labels[23],labels[24],labels[25],labels[26],labels[27],labels[28],labels[29],labels[30],labels[31],labels[32],labels[33],labels[34],labels[35],labels[36],labels[37],labels[38],labels[39],labels[40],labels[41],labels[42],labels[43],labels[44],labels[45],labels[46],labels[47],labels[48],labels[49],labels[50],labels[51],labels[52],labels[53],labels[54],labels[55],labels[56],labels[57],labels[58],labels[59],labels[60],labels[61],labels[62],labels[63],labels[64],labels[65],labels[66],labels[67],labels[68],labels[69],labels[70],labels[71],labels[72],labels[73],labels[74],labels[75],labels[76],labels[77],labels[78],labels[79],labels[80],labels[81],labels[82],labels[83],labels[84],labels[85],labels[86],labels[87],labels[88],labels[89],labels[90],labels[91],labels[92],labels[93],labels[94],labels[95],labels[96],labels[97],labels[98],labels[99],labels[100],cluSiz[1],cluSiz[2],cluSiz[3],cluSiz[4]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004191/0.1765, allocations: 378.8 kB / 0.573 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-05/0.1766, allocations: 110.4 kB / 0.5732 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003666/0.177, allocations: 416.7 kB / 0.5735 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.177, allocations: 7.891 kB / 0.5736 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.177, allocations: 3.938 kB / 0.5736 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.177, allocations: 0 / 0.5736 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000423/0.1775, allocations: 0.5448 MB / 0.5741 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1775, allocations: 0 / 0.5741 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.003e-06/0.1775, allocations: 0 / 0.5741 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1775, allocations: 4.031 kB / 0.5741 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.1775, allocations: 0 / 0.5741 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1775, allocations: 4 kB / 0.5741 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1775, allocations: 7.953 kB / 0.5741 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.1779, allocations: 426.3 kB / 0.5745 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.178, allocations: 171.5 kB / 0.5747 GB, free: 9.316 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.428e-05/0.1781, allocations: 8 kB / 0.5747 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-05/0.1782, allocations: 4.031 kB / 0.5747 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.1782, allocations: 3.953 kB / 0.5747 GB, free: 9.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.1782, allocations: 0 / 0.5747 GB, free: 9.301 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000969/0.1792, allocations: 0.9035 MB / 0.5756 GB, free: 8.398 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1792, allocations: 0 / 0.5756 GB, free: 8.398 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005811/0.1797, allocations: 172 kB / 0.5757 GB, free: 8.23 MB / 446.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: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006949/0.1805, allocations: 286.5 kB / 0.576 GB, free: 7.961 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008241/0.1813, allocations: 1.045 MB / 0.577 GB, free: 6.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.1813, allocations: 0 / 0.577 GB, free: 6.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.1814, allocations: 143.9 kB / 0.5772 GB, free: 6.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.1817, allocations: 34.73 kB / 0.5772 GB, free: 6.738 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.1838, allocations: 1.773 MB / 0.5789 GB, free: 4.938 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005293/0.1843, allocations: 1.012 MB / 0.5799 GB, free: 3.898 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.934e-05/0.1843, allocations: 11.98 kB / 0.5799 GB, free: 3.887 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.573e-05/0.1844, allocations: 7.438 kB / 0.5799 GB, free: 3.879 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1844, allocations: 0 / 0.5799 GB, free: 3.879 MB / 446.1 MB Notification: Performance of Templates: time 0.2753/0.4596, allocations: 4.34 MB / 0.5842 GB, free: 31.11 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe 2>&1)