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.0009044/0.0009045, allocations: 98.58 kB / 16.02 MB, free: 80 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.0009502/0.0009502, allocations: 184.1 kB / 16.92 MB, free: 6.754 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.255/1.255, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6456/0.6456, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002866, allocations: 16 kB / 496 MB, free: 6.207 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1227, allocations: 77.52 MB / 0.5601 GB, free: 8.883 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.001331/0.124, allocations: 1.043 MB / 0.5611 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.126, allocations: 1.31 MB / 0.5624 GB, free: 6.512 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.631e-05/0.126, allocations: 0 / 0.5624 GB, free: 6.512 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.867e-05/0.1261, allocations: 3.984 kB / 0.5624 GB, free: 6.508 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.1263, allocations: 28.92 kB / 0.5624 GB, free: 6.48 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.0007911/0.1271, allocations: 315.2 kB / 0.5627 GB, free: 6.172 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.664e-05/0.1272, allocations: 56.83 kB / 0.5628 GB, free: 6.117 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.673e-05/0.1272, allocations: 0 / 0.5628 GB, free: 6.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.768e-05/0.1273, allocations: 8 kB / 0.5628 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.1274, allocations: 101.8 kB / 0.5629 GB, free: 6.008 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.1274, allocations: 0 / 0.5629 GB, free: 6.008 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006576/0.1281, allocations: 0.5187 MB / 0.5634 GB, free: 5.488 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004586/0.1286, allocations: 0.5514 MB / 0.5639 GB, free: 4.938 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.1288, allocations: 334.9 kB / 0.5642 GB, free: 4.602 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007624/0.1295, allocations: 0.9418 MB / 0.5652 GB, free: 3.656 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1296, allocations: 0 / 0.5652 GB, free: 3.656 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1296, allocations: 0 / 0.5652 GB, free: 3.656 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.1296, allocations: 0 / 0.5652 GB, free: 3.656 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.000964/0.1305, allocations: 1.171 MB / 0.5663 GB, free: 2.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1306, allocations: 8.031 kB / 0.5663 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.13e-05/0.1306, allocations: 34.75 kB / 0.5663 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.858e-05/0.1307, allocations: 111.4 kB / 0.5664 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.1311, allocations: 479.5 kB / 0.5669 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.1311, allocations: 4.375 kB / 0.5669 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.004e-06/0.1311, allocations: 384 / 0.5669 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1313, allocations: 169.7 kB / 0.5671 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1313, allocations: 4 kB / 0.5671 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.1313, allocations: 0 / 0.5671 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.1313, allocations: 0 / 0.5671 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.1315, allocations: 263.8 kB / 0.5673 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.1319, allocations: 0.556 MB / 0.5679 GB, free: 0.707 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.132, allocations: 158.4 kB / 0.568 GB, free: 0.543 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.163e-05/0.1321, allocations: 140.8 kB / 0.5682 GB, free: 412 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.979e-05/0.1322, allocations: 80.64 kB / 0.5682 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.1322, allocations: 34.5 kB / 0.5683 GB, free: 284 kB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 2.074e-06/0.1323, allocations: 0 / 0.5683 GB, free: 284 kB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.000436/0.1327, allocations: 0.5312 MB / 0.5688 GB, free: 15.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.1327, allocations: 59.47 kB / 0.5688 GB, free: 15.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.1339, allocations: 1.38 MB / 0.5702 GB, free: 14.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.1339, allocations: 25.7 kB / 0.5702 GB, free: 14.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.1342, allocations: 461.4 kB / 0.5707 GB, free: 13.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.868e-06/0.1343, allocations: 4 kB / 0.5707 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.246e-05/0.1343, allocations: 101.6 kB / 0.5708 GB, free: 13.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.1344, allocations: 338 kB / 0.5711 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/0.1348, allocations: 0.5906 MB / 0.5717 GB, free: 12.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/0.1352, allocations: 0.5945 MB / 0.5722 GB, free: 12.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007308/0.1359, allocations: 1.162 MB / 0.5734 GB, free: 10.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1359, allocations: 0 / 0.5734 GB, free: 10.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001119/0.1371, allocations: 1.396 MB / 0.5747 GB, free: 9.441 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1371, allocations: 5.562 kB / 0.5747 GB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.1371, allocations: 7.938 kB / 0.5747 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.1371, allocations: 0 / 0.5747 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-05/0.1371, allocations: 0 / 0.5747 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.1371, allocations: 0 / 0.5747 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.1373, allocations: 70.78 kB / 0.5748 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1373, allocations: 8.062 kB / 0.5748 GB, free: 9.352 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.0003485/0.1377, allocations: 378.8 kB / 0.5752 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/0.1377, allocations: 106.4 kB / 0.5753 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/0.1381, allocations: 412.6 kB / 0.5757 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1381, allocations: 0 / 0.5757 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1381, allocations: 0 / 0.5757 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.1381, allocations: 4.031 kB / 0.5757 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.1385, allocations: 0.5448 MB / 0.5762 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1385, allocations: 0 / 0.5762 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.715e-06/0.1385, allocations: 7.938 kB / 0.5762 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1385, allocations: 7.922 kB / 0.5762 GB, free: 7.832 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-06/0.1385, allocations: 0 / 0.5762 GB, free: 7.832 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-06/0.1385, allocations: 3.938 kB / 0.5762 GB, free: 7.828 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1385, allocations: 0 / 0.5762 GB, free: 7.828 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.1388, allocations: 434.2 kB / 0.5766 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.1389, allocations: 171.5 kB / 0.5768 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.139, allocations: 0 / 0.5768 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.942e-05/0.1391, allocations: 0 / 0.5768 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-06/0.1391, allocations: 0 / 0.5768 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.1391, allocations: 3.984 kB / 0.5768 GB, free: 7.191 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008389/0.14, allocations: 0.9153 MB / 0.5777 GB, free: 6.277 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.14, allocations: 0 / 0.5777 GB, free: 6.277 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004712/0.1404, allocations: 176 kB / 0.5779 GB, free: 6.105 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.001008/0.1415, allocations: 1.152 MB / 0.579 GB, free: 4.945 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007356/0.1422, allocations: 1.049 MB / 0.58 GB, free: 3.891 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1422, allocations: 4 kB / 0.58 GB, free: 3.887 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.924e-05/0.1423, allocations: 131.9 kB / 0.5802 GB, free: 3.758 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.1426, allocations: 38.75 kB / 0.5802 GB, free: 3.723 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3302/0.4728, allocations: 16.51 MB / 0.5963 GB, free: 29.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.4734, allocations: 1.015 MB / 0.5973 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.464e-05/0.4734, allocations: 2.594 kB / 0.5973 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.4736, allocations: 321.6 kB / 0.5976 GB, free: 28.04 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4736, allocations: 0 / 0.5976 GB, free: 28.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.065/2.539, allocations: 26.6 MB / 0.6236 GB, free: 9.316 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/2.539, allocations: 332.1 kB / 0.6239 GB, free: 8.938 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.338/5.877, allocations: 0 / 0.6239 GB, free: 8.938 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)