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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes",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.001663/0.001663, allocations: 97.05 kB / 15.69 MB, free: 480 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.001779/0.001779, allocations: 174 kB / 16.57 MB, free: 6.398 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.495/1.495, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6268/0.6268, allocations: 113.7 MB / 405.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.0003132, allocations: 8 kB / 493 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1474, allocations: 77.12 MB / 0.5568 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.001523/0.149, allocations: 1.023 MB / 0.5578 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.1507, allocations: 1.177 MB / 0.5589 GB, free: 9.449 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/0.1508, allocations: 0 / 0.5589 GB, free: 9.449 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.772e-05/0.1509, allocations: 11.92 kB / 0.5589 GB, free: 9.438 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.1511, allocations: 23.92 kB / 0.559 GB, free: 9.414 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.0007314/0.1518, allocations: 275.2 kB / 0.5592 GB, free: 9.145 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.876e-05/0.1519, allocations: 19.97 kB / 0.5592 GB, free: 9.125 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.1519, allocations: 4 kB / 0.5592 GB, free: 9.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.064e-05/0.152, allocations: 27.92 kB / 0.5593 GB, free: 9.094 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.446e-05/0.152, allocations: 23.92 kB / 0.5593 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.152, allocations: 0 / 0.5593 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005842/0.1526, allocations: 403.4 kB / 0.5597 GB, free: 8.676 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004664/0.1531, allocations: 499 kB / 0.5601 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.689e-05/0.1532, allocations: 145.1 kB / 0.5603 GB, free: 8.039 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00056/0.1538, allocations: 0.6083 MB / 0.5609 GB, free: 7.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.1538, allocations: 0 / 0.5609 GB, free: 7.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1538, allocations: 0 / 0.5609 GB, free: 7.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1538, allocations: 0 / 0.5609 GB, free: 7.43 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.001027/0.1548, allocations: 1.183 MB / 0.562 GB, free: 6.191 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1549, allocations: 12.03 kB / 0.562 GB, free: 6.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.055e-05/0.1549, allocations: 30.56 kB / 0.5621 GB, free: 6.141 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.155, allocations: 102.5 kB / 0.5622 GB, free: 6.039 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.1554, allocations: 443.3 kB / 0.5626 GB, free: 5.559 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.732e-06/0.1554, allocations: 0 / 0.5626 GB, free: 5.559 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.1555, allocations: 7.953 kB / 0.5626 GB, free: 5.551 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.1556, allocations: 165.6 kB / 0.5628 GB, free: 5.383 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1556, allocations: 3.984 kB / 0.5628 GB, free: 5.379 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.1557, allocations: 0 / 0.5628 GB, free: 5.379 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1557, allocations: 0 / 0.5628 GB, free: 5.379 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.1558, allocations: 263.9 kB / 0.563 GB, free: 5.121 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.1563, allocations: 0.5443 MB / 0.5635 GB, free: 4.523 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.1564, allocations: 158.4 kB / 0.5637 GB, free: 4.359 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.619e-05/0.1565, allocations: 88.7 kB / 0.5638 GB, free: 4.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.1565, allocations: 34.52 kB / 0.5638 GB, free: 4.227 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1565, allocations: 0 / 0.5638 GB, free: 4.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004459/0.157, allocations: 0.5195 MB / 0.5643 GB, free: 3.699 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.157, allocations: 51.41 kB / 0.5644 GB, free: 3.637 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.1583, allocations: 1.384 MB / 0.5657 GB, free: 2.242 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.1583, allocations: 25.7 kB / 0.5657 GB, free: 2.211 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.1586, allocations: 457.6 kB / 0.5662 GB, free: 1.762 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.468e-06/0.1586, allocations: 7.844 kB / 0.5662 GB, free: 1.754 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.1586, allocations: 0 / 0.5662 GB, free: 1.754 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1587, allocations: 341.9 kB / 0.5665 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.1591, allocations: 0.5906 MB / 0.5671 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.1595, allocations: 0.5906 MB / 0.5677 GB, free: 240 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004447/0.16, allocations: 0.6228 MB / 0.5683 GB, free: 15.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.16, allocations: 3.938 kB / 0.5683 GB, free: 15.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001121/0.1611, allocations: 1.381 MB / 0.5696 GB, free: 14.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1611, allocations: 8.062 kB / 0.5696 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.1612, allocations: 7.938 kB / 0.5696 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.1612, allocations: 0 / 0.5696 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.378e-05/0.1612, allocations: 0 / 0.5696 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1612, allocations: 4 kB / 0.5697 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.1614, allocations: 70.88 kB / 0.5697 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1614, allocations: 0 / 0.5697 GB, free: 14.13 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.0003604/0.1617, allocations: 387.5 kB / 0.5701 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.895e-05/0.1618, allocations: 110.4 kB / 0.5702 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003295/0.1622, allocations: 408.6 kB / 0.5706 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1622, allocations: 7.953 kB / 0.5706 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1622, allocations: 0 / 0.5706 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.1622, allocations: 0 / 0.5706 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.1626, allocations: 0.5448 MB / 0.5711 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1626, allocations: 0 / 0.5711 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-06/0.1626, allocations: 4 kB / 0.5711 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1626, allocations: 4.031 kB / 0.5711 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-06/0.1626, allocations: 0 / 0.5711 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1626, allocations: 0 / 0.5711 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.1626, allocations: 7.953 kB / 0.5711 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.1629, allocations: 434.2 kB / 0.5716 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.1631, allocations: 167.5 kB / 0.5717 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/0.1631, allocations: 3.984 kB / 0.5717 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.1632, allocations: 4 kB / 0.5717 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.1633, allocations: 7.984 kB / 0.5717 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.1633, allocations: 0 / 0.5717 GB, free: 11.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008668/0.1641, allocations: 0.8996 MB / 0.5726 GB, free: 11.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1642, allocations: 0 / 0.5726 GB, free: 11.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004868/0.1646, allocations: 176 kB / 0.5728 GB, free: 10.89 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.0009838/0.1656, allocations: 1.15 MB / 0.5739 GB, free: 9.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00075/0.1664, allocations: 1.045 MB / 0.5749 GB, free: 8.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1664, allocations: 0 / 0.5749 GB, free: 8.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.361e-05/0.1665, allocations: 144 kB / 0.5751 GB, free: 8.539 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.1667, allocations: 38.56 kB / 0.5751 GB, free: 8.504 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.1689, allocations: 2.319 MB / 0.5774 GB, free: 6.117 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.1695, allocations: 1.032 MB / 0.5784 GB, free: 5.062 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.277e-05/0.1695, allocations: 4 kB / 0.5784 GB, free: 5.059 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.1697, allocations: 319.3 kB / 0.5787 GB, free: 4.746 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1697, allocations: 0 / 0.5787 GB, free: 4.746 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.592/1.762, allocations: 13.95 MB / 0.5923 GB, free: 31.34 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/1.762, allocations: 307.5 kB / 0.5926 GB, free: 30.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.829/4.591, allocations: 4 kB / 0.5926 GB, free: 30.98 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe 2>&1) Environment - environmentSimulation: