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.001251/0.001251, allocations: 100.1 kB / 15.88 MB, free: 8 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.001269/0.001269, allocations: 200.6 kB / 16.79 MB, free: 6.828 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.223/1.223, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.626/0.626, allocations: 115.3 MB / 405.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 68.7 kB / 493 MB, free: 6.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1255, allocations: 76.19 MB / 0.5559 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.002204/0.1278, allocations: 1.374 MB / 0.5572 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.1297, allocations: 1.337 MB / 0.5585 GB, free: 7.938 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.1297, allocations: 0 / 0.5585 GB, free: 7.938 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.696e-05/0.1298, allocations: 7.984 kB / 0.5585 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.13, allocations: 32.84 kB / 0.5586 GB, free: 7.898 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.0007742/0.1308, allocations: 310.4 kB / 0.5589 GB, free: 7.598 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.024e-05/0.1309, allocations: 52.84 kB / 0.5589 GB, free: 7.547 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.838e-05/0.1309, allocations: 7.984 kB / 0.5589 GB, free: 7.539 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.719e-05/0.131, allocations: 12 kB / 0.5589 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.1311, allocations: 97.84 kB / 0.559 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.1311, allocations: 0 / 0.559 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000708/0.1318, allocations: 0.5187 MB / 0.5595 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005374/0.1324, allocations: 0.5553 MB / 0.5601 GB, free: 6.355 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.1326, allocations: 301.2 kB / 0.5604 GB, free: 6.059 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00085/0.1334, allocations: 0.9418 MB / 0.5613 GB, free: 5.113 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1334, allocations: 4 kB / 0.5613 GB, free: 5.109 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1334, allocations: 0 / 0.5613 GB, free: 5.109 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.1335, allocations: 0 / 0.5613 GB, free: 5.109 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.001047/0.1345, allocations: 1.256 MB / 0.5625 GB, free: 3.797 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1345, allocations: 8.031 kB / 0.5625 GB, free: 3.789 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.609e-05/0.1346, allocations: 38.69 kB / 0.5626 GB, free: 3.742 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.1347, allocations: 107.3 kB / 0.5627 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.1351, allocations: 479.6 kB / 0.5631 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1351, allocations: 8.375 kB / 0.5631 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.1351, allocations: 384 / 0.5631 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1353, allocations: 161.8 kB / 0.5633 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.1353, allocations: 4 kB / 0.5633 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-06/0.1353, allocations: 0 / 0.5633 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.1353, allocations: 4 kB / 0.5633 GB, free: 2.941 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.1355, allocations: 263.8 kB / 0.5635 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.136, allocations: 0.5521 MB / 0.5641 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.1361, allocations: 154.4 kB / 0.5642 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.1362, allocations: 140.8 kB / 0.5644 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.1364, allocations: 80.64 kB / 0.5644 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1364, allocations: 42.5 kB / 0.5645 GB, free: 1.645 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1364, allocations: 7.875 kB / 0.5645 GB, free: 1.637 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004457/0.1369, allocations: 0.5272 MB / 0.565 GB, free: 1.102 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.1369, allocations: 55.34 kB / 0.5651 GB, free: 1.035 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.1382, allocations: 1.376 MB / 0.5664 GB, free: 15.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.1382, allocations: 29.64 kB / 0.5664 GB, free: 15.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003902/0.1386, allocations: 453.5 kB / 0.5669 GB, free: 15.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.1386, allocations: 4 kB / 0.5669 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.677e-05/0.1387, allocations: 117.8 kB / 0.567 GB, free: 15.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1389, allocations: 342 kB / 0.5673 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004419/0.1394, allocations: 0.5906 MB / 0.5679 GB, free: 14.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004341/0.1398, allocations: 0.5906 MB / 0.5685 GB, free: 13.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008734/0.1407, allocations: 1.162 MB / 0.5696 GB, free: 12.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1407, allocations: 0 / 0.5696 GB, free: 12.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001332/0.142, allocations: 1.4 MB / 0.571 GB, free: 10.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1421, allocations: 6.188 kB / 0.571 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.1421, allocations: 4 kB / 0.571 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1421, allocations: 4.062 kB / 0.571 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.146e-05/0.1421, allocations: 0 / 0.571 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1421, allocations: 3.984 kB / 0.571 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.1423, allocations: 66.88 kB / 0.571 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1423, allocations: 4 kB / 0.571 GB, free: 10.71 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 (cluSiz[4],cluSiz[3],cluSiz[2],cluSiz[1],labels[100],labels[99],labels[98],labels[97],labels[96],labels[95],labels[94],labels[93],labels[92],labels[91],labels[90],labels[89],labels[88],labels[87],labels[86],labels[85],labels[84],labels[83],labels[82],labels[81],labels[80],labels[79],labels[78],labels[77],labels[76],labels[75],labels[74],labels[73],labels[72],labels[71],labels[70],labels[69],labels[68],labels[67],labels[66],labels[65],labels[64],labels[63],labels[62],labels[61],labels[60],labels[59],labels[58],labels[57],labels[56],labels[55],labels[54],labels[53],labels[52],labels[51],labels[50],labels[49],labels[48],labels[47],labels[46],labels[45],labels[44],labels[43],labels[42],labels[41],labels[40],labels[39],labels[38],labels[37],labels[36],labels[35],labels[34],labels[33],labels[32],labels[31],labels[30],labels[29],labels[28],labels[27],labels[26],labels[25],labels[24],labels[23],labels[22],labels[21],labels[20],labels[19],labels[18],labels[17],labels[16],labels[15],labels[14],labels[13],labels[12],labels[11],labels[10],labels[9],labels[8],labels[7],labels[6],labels[5],labels[4],labels[3],labels[2],labels[1],cmp) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003613/0.1426, allocations: 380.4 kB / 0.5714 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-05/0.1427, allocations: 106.4 kB / 0.5715 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.1431, allocations: 416.6 kB / 0.5719 GB, free: 9.805 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1431, allocations: 0 / 0.5719 GB, free: 9.805 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1431, allocations: 3.984 kB / 0.5719 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1431, allocations: 0 / 0.5719 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003963/0.1435, allocations: 0.5487 MB / 0.5724 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1435, allocations: 0 / 0.5724 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-06/0.1435, allocations: 11.88 kB / 0.5725 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.1435, allocations: 0 / 0.5725 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.1435, allocations: 0 / 0.5725 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.1435, allocations: 0 / 0.5725 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1435, allocations: 4.031 kB / 0.5725 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.1438, allocations: 426.2 kB / 0.5729 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.144, allocations: 171.5 kB / 0.573 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.465e-05/0.144, allocations: 0 / 0.573 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.114e-05/0.1441, allocations: 4 kB / 0.573 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/0.1441, allocations: 3.984 kB / 0.573 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.1441, allocations: 0 / 0.573 GB, free: 8.551 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009175/0.1451, allocations: 0.9114 MB / 0.5739 GB, free: 7.641 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1451, allocations: 0 / 0.5739 GB, free: 7.641 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004435/0.1455, allocations: 179.9 kB / 0.5741 GB, free: 7.465 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 (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.001041/0.1466, allocations: 1.154 MB / 0.5752 GB, free: 6.301 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007922/0.1474, allocations: 1.049 MB / 0.5763 GB, free: 5.246 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1474, allocations: 0 / 0.5763 GB, free: 5.246 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.648e-05/0.1475, allocations: 131.9 kB / 0.5764 GB, free: 5.117 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.1478, allocations: 37.34 kB / 0.5764 GB, free: 5.082 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2947/0.4425, allocations: 16.52 MB / 0.5925 GB, free: 30.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.443, allocations: 1.014 MB / 0.5935 GB, free: 29.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.19e-05/0.4431, allocations: 1.672 kB / 0.5935 GB, free: 29.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.4433, allocations: 316 kB / 0.5938 GB, free: 29.38 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4433, allocations: 1.438 kB / 0.5938 GB, free: 29.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.249/1.692, allocations: 26.84 MB / 0.62 GB, free: 11.68 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/1.693, allocations: 335.6 kB / 0.6204 GB, free: 11.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.071/3.763, allocations: 0 / 0.6204 GB, free: 11.3 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/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)