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_1borehole_5meters.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_1borehole_5meters,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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.001189/0.001189, allocations: 97.2 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.001401/0.001401, allocations: 173.6 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.324/1.324, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6364/0.6364, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003177, allocations: 12 kB / 493 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.147, allocations: 77.11 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001177/0.1482, allocations: 1.113 MB / 0.5578 GB, free: 10.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004756/0.153, allocations: 3.834 MB / 0.5616 GB, free: 6.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.153, allocations: 3.938 kB / 0.5616 GB, free: 6.656 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.413e-05/0.1531, allocations: 11.92 kB / 0.5616 GB, free: 6.645 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.1533, allocations: 27.95 kB / 0.5616 GB, free: 6.617 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.00202/0.1553, allocations: 1.076 MB / 0.5627 GB, free: 5.539 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.755e-05/0.1554, allocations: 63.86 kB / 0.5627 GB, free: 5.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.1554, allocations: 7.922 kB / 0.5628 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.238e-05/0.1555, allocations: 35.91 kB / 0.5628 GB, free: 5.434 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.1557, allocations: 151.7 kB / 0.5629 GB, free: 5.285 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.545e-05/0.1557, allocations: 12 kB / 0.5629 GB, free: 5.273 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/0.1578, allocations: 1.864 MB / 0.5648 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.158, allocations: 251.3 kB / 0.565 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.936e-05/0.1581, allocations: 109.2 kB / 0.5651 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.1594, allocations: 1.404 MB / 0.5665 GB, free: 1.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1594, allocations: 0 / 0.5665 GB, free: 1.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1594, allocations: 0 / 0.5665 GB, free: 1.641 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1594, allocations: 0 / 0.5665 GB, free: 1.641 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.009194/0.1686, allocations: 1.253 MB / 0.5677 GB, free: 344 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1687, allocations: 8.031 kB / 0.5677 GB, free: 336 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.1687, allocations: 38.56 kB / 0.5677 GB, free: 288 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/0.169, allocations: 90.73 kB / 0.5678 GB, free: 196 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.1694, allocations: 355.8 kB / 0.5682 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1694, allocations: 7.938 kB / 0.5682 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.1695, allocations: 7.953 kB / 0.5682 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.1699, allocations: 403.1 kB / 0.5686 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.1699, allocations: 0 / 0.5686 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1699, allocations: 0 / 0.5686 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1699, allocations: 0 / 0.5686 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003773/0.1703, allocations: 435.7 kB / 0.569 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005029/0.1708, allocations: 0.6365 MB / 0.5696 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.1712, allocations: 0.5673 MB / 0.5702 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008737/0.1721, allocations: 1.036 MB / 0.5712 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003429/0.1725, allocations: 408.8 kB / 0.5716 GB, free: 12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 2.164e-06/0.1725, allocations: 3.984 kB / 0.5716 GB, free: 11.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001119/0.1736, allocations: 1.289 MB / 0.5728 GB, free: 10.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.1737, allocations: 85.23 kB / 0.5729 GB, free: 10.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000988/0.1747, allocations: 1.202 MB / 0.5741 GB, free: 9.375 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.1747, allocations: 29.7 kB / 0.5741 GB, free: 9.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.1749, allocations: 265.4 kB / 0.5744 GB, free: 9.074 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.1749, allocations: 19.75 kB / 0.5744 GB, free: 9.055 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.1749, allocations: 4 kB / 0.5744 GB, free: 9.051 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1751, allocations: 415.9 kB / 0.5748 GB, free: 8.637 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.1763, allocations: 1.373 MB / 0.5761 GB, free: 7.262 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.1777, allocations: 1.505 MB / 0.5776 GB, free: 5.746 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.1793, allocations: 1.91 MB / 0.5795 GB, free: 3.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.1793, allocations: 0 / 0.5795 GB, free: 3.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.2642/0.4435, allocations: 3.983 MB / 0.5834 GB, free: 31.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.4435, allocations: 9.359 kB / 0.5834 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-05/0.4436, allocations: 3.375 kB / 0.5834 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.4436, allocations: 0.6094 kB / 0.5834 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.4438, allocations: 20.42 kB / 0.5834 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.4438, allocations: 0.875 kB / 0.5834 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/0.4443, allocations: 228.8 kB / 0.5836 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.4443, allocations: 23.86 kB / 0.5836 GB, free: 31.52 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: 13 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,labels[1],cluSiz[1]) * 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.0002936/0.4446, allocations: 240.2 kB / 0.5839 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.4447, allocations: 67.16 kB / 0.5839 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.445, allocations: 77.97 kB / 0.584 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.445, allocations: 1.781 kB / 0.584 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.445, allocations: 5.547 kB / 0.584 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.445, allocations: 1.562 kB / 0.584 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004382/0.4454, allocations: 0.4944 MB / 0.5845 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.4455, allocations: 4.125 kB / 0.5845 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.511e-05/0.4455, allocations: 8.172 kB / 0.5845 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4455, allocations: 0.6875 kB / 0.5845 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.4455, allocations: 3.891 kB / 0.5845 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.4456, allocations: 0.875 kB / 0.5845 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4456, allocations: 4.531 kB / 0.5845 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.4466, allocations: 1.016 MB / 0.5855 GB, free: 30.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.487e-05/0.4467, allocations: 154.3 kB / 0.5856 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.009e-05/0.4468, allocations: 3.359 kB / 0.5856 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.4469, allocations: 6.438 kB / 0.5857 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.4469, allocations: 9.125 kB / 0.5857 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.447, allocations: 14.56 kB / 0.5857 GB, free: 30.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007404/0.4477, allocations: 0.6617 MB / 0.5863 GB, free: 30.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4477, allocations: 4.734 kB / 0.5863 GB, free: 30.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001497/0.4492, allocations: 0.5679 MB / 0.5869 GB, free: 30.71 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.002782/0.452, allocations: 2.208 MB / 0.589 GB, free: 29.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002746/0.4548, allocations: 2.548 MB / 0.5915 GB, free: 29.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4548, allocations: 0 / 0.5915 GB, free: 29.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005687/0.4554, allocations: 344.3 kB / 0.5919 GB, free: 29.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.4556, allocations: 40.16 kB / 0.5919 GB, free: 29.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004135/0.4598, allocations: 2.654 MB / 0.5945 GB, free: 28.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000628/0.4604, allocations: 0.9861 MB / 0.5954 GB, free: 27.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001711/0.4606, allocations: 38.75 kB / 0.5955 GB, free: 27.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/0.4609, allocations: 263.7 kB / 0.5957 GB, free: 27.44 MB / 446.1 MB Notification: Performance of SimCode: time 1.443e-06/0.4609, allocations: 0 / 0.5957 GB, free: 27.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1127/0.5736, allocations: 20.66 MB / 0.6159 GB, free: 17.5 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/0.5739, allocations: 302.6 kB / 0.6162 GB, free: 17.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.839/3.413, allocations: 0 / 0.6162 GB, free: 17.15 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) Environment - environmentSimulation: