Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_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.GFunction_100boreholes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_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.0009294/0.0009295, allocations: 97.52 kB / 15.69 MB, free: 488 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.00103/0.001029, allocations: 170.8 kB / 16.57 MB, free: 6.391 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.321/1.321, allocations: 223.2 MB / 240.5 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6956/0.6956, allocations: 113.7 MB / 405.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003086, allocations: 8 kB / 493 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1414, allocations: 77.11 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001292/0.1427, allocations: 1.109 MB / 0.5578 GB, free: 10.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005103/0.1479, allocations: 3.834 MB / 0.5616 GB, free: 6.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.528e-05/0.1479, allocations: 0 / 0.5616 GB, free: 6.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.148, allocations: 15.92 kB / 0.5616 GB, free: 6.645 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.1482, allocations: 23.95 kB / 0.5616 GB, free: 6.621 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.002366/0.1506, allocations: 1.08 MB / 0.5627 GB, free: 5.539 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.34e-05/0.1507, allocations: 55.86 kB / 0.5627 GB, free: 5.484 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.1507, allocations: 15.91 kB / 0.5628 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.486e-05/0.1508, allocations: 31.92 kB / 0.5628 GB, free: 5.438 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.1509, allocations: 155.6 kB / 0.5629 GB, free: 5.285 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.151, allocations: 20 kB / 0.563 GB, free: 5.266 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.1533, allocations: 1.857 MB / 0.5648 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005352/0.1538, allocations: 0.6664 MB / 0.5654 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.1539, allocations: 200.8 kB / 0.5656 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001611/0.1556, allocations: 1.68 MB / 0.5672 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.1556, allocations: 4 kB / 0.5673 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1556, allocations: 0 / 0.5673 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.1556, allocations: 0 / 0.5673 GB, free: 0.8477 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.009867/0.1655, allocations: 1.875 MB / 0.5691 GB, free: 14.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1655, allocations: 12.03 kB / 0.5691 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.1656, allocations: 34.5 kB / 0.5691 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003775/0.1659, allocations: 165.6 kB / 0.5693 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.1665, allocations: 0.5301 MB / 0.5698 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1665, allocations: 11.92 kB / 0.5698 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/0.1666, allocations: 11.95 kB / 0.5698 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.1669, allocations: 391.2 kB / 0.5702 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.167, allocations: 0 / 0.5702 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.167, allocations: 0 / 0.5702 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.167, allocations: 0 / 0.5702 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.1674, allocations: 443.7 kB / 0.5706 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007069/0.1681, allocations: 0.9335 MB / 0.5715 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.1685, allocations: 0.5594 MB / 0.5721 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008643/0.1694, allocations: 1.032 MB / 0.5731 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003478/0.1698, allocations: 409 kB / 0.5735 GB, free: 10.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.1698, allocations: 0 / 0.5735 GB, free: 10.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.00118/0.171, allocations: 1.366 MB / 0.5748 GB, free: 8.633 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.171, allocations: 81.11 kB / 0.5749 GB, free: 8.535 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/0.1729, allocations: 2.208 MB / 0.577 GB, free: 6.297 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.173, allocations: 33.83 kB / 0.5771 GB, free: 6.258 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.1733, allocations: 0.5212 MB / 0.5776 GB, free: 5.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.1734, allocations: 27.64 kB / 0.5776 GB, free: 5.703 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.1734, allocations: 7.984 kB / 0.5776 GB, free: 5.695 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1736, allocations: 444.8 kB / 0.578 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.1751, allocations: 2.057 MB / 0.5801 GB, free: 3.195 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/0.1768, allocations: 2.226 MB / 0.5822 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2511/0.4279, allocations: 2.984 MB / 0.5851 GB, free: 31.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.428, allocations: 0 / 0.5851 GB, free: 31.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01088/0.4389, allocations: 6.212 MB / 0.5912 GB, free: 28.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.4389, allocations: 8.391 kB / 0.5912 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.439, allocations: 3.125 kB / 0.5912 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.439, allocations: 1.766 kB / 0.5912 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.4392, allocations: 19.72 kB / 0.5912 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.4393, allocations: 1.594 kB / 0.5912 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.4404, allocations: 297.3 kB / 0.5915 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.65e-05/0.4405, allocations: 26.98 kB / 0.5916 GB, free: 28.54 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,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],cluSiz[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.001108/0.4417, allocations: 470.2 kB / 0.592 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.4419, allocations: 143.5 kB / 0.5921 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005454/0.4424, allocations: 152.5 kB / 0.5923 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.4424, allocations: 1.875 kB / 0.5923 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.4424, allocations: 0.6094 kB / 0.5923 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.4425, allocations: 0.7812 kB / 0.5923 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.4437, allocations: 0.7752 MB / 0.593 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4437, allocations: 0 / 0.593 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.807e-05/0.4438, allocations: 15.81 kB / 0.5931 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.4439, allocations: 7.141 kB / 0.5931 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.4439, allocations: 4.766 kB / 0.5931 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4439, allocations: 0 / 0.5931 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.4439, allocations: 2.531 kB / 0.5931 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.4458, allocations: 1.094 MB / 0.5941 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.4461, allocations: 220.2 kB / 0.5943 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.4463, allocations: 6.141 kB / 0.5944 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.4467, allocations: 7.703 kB / 0.5944 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.4467, allocations: 6.719 kB / 0.5944 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.239e-05/0.4468, allocations: 12.34 kB / 0.5944 GB, free: 27.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002966/0.4498, allocations: 1.293 MB / 0.5956 GB, free: 27.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4498, allocations: 0 / 0.5956 GB, free: 27.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002836/0.4527, allocations: 0.6283 MB / 0.5963 GB, free: 27.03 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003445/0.4561, allocations: 2.285 MB / 0.5985 GB, free: 26.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003763/0.4599, allocations: 3.553 MB / 0.602 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4599, allocations: 3.188 kB / 0.602 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004533/0.4604, allocations: 343.5 kB / 0.6023 GB, free: 24.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.4608, allocations: 60.28 kB / 0.6023 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006094/0.4669, allocations: 4.07 MB / 0.6063 GB, free: 23.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008945/0.4678, allocations: 1.265 MB / 0.6076 GB, free: 22.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002043/0.4681, allocations: 33.17 kB / 0.6076 GB, free: 22.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004511/0.4685, allocations: 0.5202 MB / 0.6081 GB, free: 21.88 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4685, allocations: 0 / 0.6081 GB, free: 21.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4228/0.8913, allocations: 28.2 MB / 0.6356 GB, free: 13.75 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003863/0.8917, allocations: 293.9 kB / 0.6359 GB, free: 13.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.258/4.15, allocations: 0 / 0.6359 GB, free: 13.4 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) Environment - environmentSimulation: