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.0008976/0.0008975, allocations: 98.81 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.00111/0.00111, allocations: 185 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.234/1.234, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6216/0.6216, allocations: 115.5 MB / 407.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002921, allocations: 8.188 kB / 496 MB, free: 6.215 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.135, allocations: 77.54 MB / 0.5601 GB, free: 8.879 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00135/0.1364, allocations: 1.137 MB / 0.5612 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006487/0.1429, allocations: 4.386 MB / 0.5655 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.1429, allocations: 0 / 0.5655 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.444e-05/0.143, allocations: 11.86 kB / 0.5655 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.1432, allocations: 31.84 kB / 0.5655 GB, free: 3.277 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.002718/0.1459, allocations: 1.185 MB / 0.5667 GB, free: 2.094 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.1461, allocations: 115.7 kB / 0.5668 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.1461, allocations: 11.92 kB / 0.5668 GB, free: 1.969 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.014e-05/0.1462, allocations: 43.86 kB / 0.5668 GB, free: 1.926 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.1464, allocations: 156.9 kB / 0.567 GB, free: 1.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.1465, allocations: 12 kB / 0.567 GB, free: 1.762 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00291/0.1494, allocations: 2.188 MB / 0.5691 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.1496, allocations: 271.8 kB / 0.5694 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.1499, allocations: 300 kB / 0.5697 GB, free: 15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002452/0.1523, allocations: 2.155 MB / 0.5718 GB, free: 12.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1523, allocations: 8 kB / 0.5718 GB, free: 12.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1523, allocations: 0 / 0.5718 GB, free: 12.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.116e-06/0.1524, allocations: 0 / 0.5718 GB, free: 12.83 MB / 446.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.01036/0.1627, allocations: 1.238 MB / 0.573 GB, free: 11.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.1628, allocations: 12.03 kB / 0.573 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.931e-05/0.1628, allocations: 38.73 kB / 0.5731 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003655/0.1632, allocations: 91.62 kB / 0.5731 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.1636, allocations: 365 kB / 0.5735 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1637, allocations: 4.375 kB / 0.5735 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.1637, allocations: 8.359 kB / 0.5735 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004275/0.1641, allocations: 391.3 kB / 0.5739 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.1642, allocations: 0 / 0.5739 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1642, allocations: 0 / 0.5739 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1642, allocations: 3.938 kB / 0.5739 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004152/0.1646, allocations: 443.7 kB / 0.5743 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006492/0.1653, allocations: 0.6365 MB / 0.5749 GB, free: 9.457 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005826/0.1659, allocations: 0.5594 MB / 0.5755 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.1662, allocations: 341.7 kB / 0.5758 GB, free: 8.539 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/0.1672, allocations: 1.032 MB / 0.5768 GB, free: 7.285 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004023/0.1676, allocations: 408.8 kB / 0.5772 GB, free: 6.867 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.1676, allocations: 0 / 0.5772 GB, free: 6.867 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001259/0.1689, allocations: 1.289 MB / 0.5784 GB, free: 5.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.169, allocations: 85.09 kB / 0.5785 GB, free: 5.469 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.1703, allocations: 1.214 MB / 0.5797 GB, free: 4.238 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.1703, allocations: 29.69 kB / 0.5797 GB, free: 4.203 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.1705, allocations: 257.4 kB / 0.58 GB, free: 3.945 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.1705, allocations: 39.5 kB / 0.58 GB, free: 3.906 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.1708, allocations: 295.7 kB / 0.5803 GB, free: 3.613 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.492e-05/0.1709, allocations: 306 kB / 0.5806 GB, free: 3.309 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.1721, allocations: 1.369 MB / 0.5819 GB, free: 1.938 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.1734, allocations: 1.509 MB / 0.5834 GB, free: 428 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2249/0.3983, allocations: 3.55 MB / 0.5869 GB, free: 29.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.3983, allocations: 0 / 0.5869 GB, free: 29.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004073/0.4024, allocations: 4.004 MB / 0.5908 GB, free: 27.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.4024, allocations: 5.094 kB / 0.5908 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.4025, allocations: 3.359 kB / 0.5908 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.4025, allocations: 2.344 kB / 0.5908 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.4026, allocations: 17.84 kB / 0.5908 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.4026, allocations: 2.25 kB / 0.5908 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004321/0.4031, allocations: 234.2 kB / 0.591 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-05/0.4031, allocations: 23.64 kB / 0.5911 GB, free: 27.2 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 (cluSiz[1],labels[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002906/0.4034, allocations: 240 kB / 0.5913 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-05/0.4035, allocations: 69.16 kB / 0.5914 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/0.4039, allocations: 77.97 kB / 0.5914 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4039, allocations: 1.562 kB / 0.5914 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4039, allocations: 0.9688 kB / 0.5914 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4039, allocations: 1.703 kB / 0.5914 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.4044, allocations: 0.4965 MB / 0.5919 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4044, allocations: 2.75 kB / 0.5919 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.677e-05/0.4044, allocations: 9.266 kB / 0.5919 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4045, allocations: 1.562 kB / 0.5919 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.4045, allocations: 3.703 kB / 0.5919 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4045, allocations: 1.375 kB / 0.5919 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.4045, allocations: 4.734 kB / 0.5919 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009581/0.4055, allocations: 1.008 MB / 0.5929 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.4055, allocations: 152.9 kB / 0.5931 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.4056, allocations: 0.5625 kB / 0.5931 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.4058, allocations: 6.906 kB / 0.5931 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.4058, allocations: 9.406 kB / 0.5931 GB, free: 26.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.4058, allocations: 15.11 kB / 0.5931 GB, free: 26.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007465/0.4066, allocations: 0.6741 MB / 0.5938 GB, free: 26.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4066, allocations: 0 / 0.5938 GB, free: 26.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001655/0.4083, allocations: 0.5831 MB / 0.5943 GB, free: 26.14 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 (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.003028/0.4113, allocations: 2.138 MB / 0.5964 GB, free: 25.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002266/0.4136, allocations: 2.555 MB / 0.5989 GB, free: 24.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4136, allocations: 0 / 0.5989 GB, free: 24.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003281/0.4139, allocations: 343.4 kB / 0.5992 GB, free: 24.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.4143, allocations: 40.95 kB / 0.5993 GB, free: 24.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/0.4284, allocations: 15.26 MB / 0.6142 GB, free: 17.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.4288, allocations: 0.968 MB / 0.6151 GB, free: 16.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001622/0.4289, allocations: 38.61 kB / 0.6152 GB, free: 16.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.4292, allocations: 267.8 kB / 0.6154 GB, free: 15.97 MB / 446.1 MB Notification: Performance of SimCode: time 1.613e-06/0.4292, allocations: 0 / 0.6154 GB, free: 15.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04737/0.4766, allocations: 23.05 MB / 0.6379 GB, free: 10.27 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003055/0.477, allocations: 333.6 kB / 0.6382 GB, free: 9.883 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/2.799, allocations: 0 / 0.6382 GB, free: 9.883 MB / 462.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/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)