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.000695/0.000695, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007289/0.000729, allocations: 173.6 kB / 16.58 MB, free: 6.797 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.193/1.193, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6071/0.6071, allocations: 113.7 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002723/0.0002724, allocations: 12.7 kB / 493.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1194, allocations: 77.11 MB / 0.5569 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001278/0.1207, allocations: 1.121 MB / 0.558 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005056/0.1258, allocations: 3.904 MB / 0.5618 GB, free: 6.551 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.252e-05/0.1259, allocations: 3.938 kB / 0.5619 GB, free: 6.547 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.121e-05/0.126, allocations: 11.92 kB / 0.5619 GB, free: 6.535 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.1261, allocations: 23.91 kB / 0.5619 GB, free: 6.512 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.002609/0.1288, allocations: 1.13 MB / 0.563 GB, free: 5.387 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.1289, allocations: 107.6 kB / 0.5631 GB, free: 5.281 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.1289, allocations: 7.938 kB / 0.5631 GB, free: 5.273 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.297e-05/0.129, allocations: 39.91 kB / 0.5631 GB, free: 5.234 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.1292, allocations: 175.6 kB / 0.5633 GB, free: 5.062 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.1293, allocations: 12 kB / 0.5633 GB, free: 5.051 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002636/0.1319, allocations: 1.946 MB / 0.5652 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.1321, allocations: 263.2 kB / 0.5655 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.616e-05/0.1322, allocations: 113.2 kB / 0.5656 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.1339, allocations: 1.396 MB / 0.5669 GB, free: 1.328 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1339, allocations: 0 / 0.5669 GB, free: 1.328 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1339, allocations: 4 kB / 0.5669 GB, free: 1.324 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.1339, allocations: 0 / 0.5669 GB, free: 1.324 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.006678/0.1406, allocations: 1.261 MB / 0.5682 GB, free: 12 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1406, allocations: 8.031 kB / 0.5682 GB, free: 4 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.848e-05/0.1407, allocations: 38.56 kB / 0.5682 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003113/0.141, allocations: 82.75 kB / 0.5683 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.1414, allocations: 363.7 kB / 0.5686 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1414, allocations: 7.984 kB / 0.5687 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.1414, allocations: 11.95 kB / 0.5687 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.1419, allocations: 379.2 kB / 0.569 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.1419, allocations: 0 / 0.569 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1419, allocations: 4 kB / 0.569 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1419, allocations: 0 / 0.569 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003965/0.1423, allocations: 443.7 kB / 0.5695 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.1429, allocations: 0.6404 MB / 0.5701 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.1433, allocations: 0.5555 MB / 0.5706 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.1436, allocations: 341.7 kB / 0.5709 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008785/0.1445, allocations: 1.036 MB / 0.572 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003707/0.1449, allocations: 412.8 kB / 0.5724 GB, free: 11.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.1449, allocations: 0 / 0.5724 GB, free: 11.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001255/0.1462, allocations: 1.289 MB / 0.5736 GB, free: 10.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.1462, allocations: 81.11 kB / 0.5737 GB, free: 9.949 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.1473, allocations: 1.21 MB / 0.5749 GB, free: 8.723 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.1474, allocations: 33.7 kB / 0.5749 GB, free: 8.684 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.1476, allocations: 257.4 kB / 0.5751 GB, free: 8.426 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.1476, allocations: 23.73 kB / 0.5752 GB, free: 8.402 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.1476, allocations: 4 kB / 0.5752 GB, free: 8.398 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1478, allocations: 415.9 kB / 0.5756 GB, free: 7.984 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.1489, allocations: 1.373 MB / 0.5769 GB, free: 6.609 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.1502, allocations: 1.505 MB / 0.5784 GB, free: 5.094 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.1516, allocations: 1.91 MB / 0.5802 GB, free: 3.168 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1516, allocations: 0 / 0.5802 GB, free: 3.168 MB / 446.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.2166/0.3682, allocations: 3.979 MB / 0.5841 GB, free: 31.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.3683, allocations: 8.609 kB / 0.5841 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.3683, allocations: 3.641 kB / 0.5841 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3683, allocations: 0.9062 kB / 0.5841 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.3685, allocations: 23.39 kB / 0.5842 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.3685, allocations: 1.656 kB / 0.5842 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/0.3689, allocations: 228 kB / 0.5844 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/0.369, allocations: 23.98 kB / 0.5844 GB, free: 31.66 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.0003453/0.3694, allocations: 242.3 kB / 0.5846 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.3695, allocations: 71.47 kB / 0.5847 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/0.3698, allocations: 74.41 kB / 0.5848 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.3698, allocations: 2.688 kB / 0.5848 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.3698, allocations: 1.625 kB / 0.5848 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3698, allocations: 1.391 kB / 0.5848 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.3703, allocations: 0.4893 MB / 0.5853 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3703, allocations: 1.766 kB / 0.5853 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.552e-05/0.3703, allocations: 15.41 kB / 0.5853 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.3704, allocations: 2.125 kB / 0.5853 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.3704, allocations: 4.453 kB / 0.5853 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3704, allocations: 0.875 kB / 0.5853 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3704, allocations: 3.828 kB / 0.5853 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.3715, allocations: 1.006 MB / 0.5863 GB, free: 31.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-05/0.3716, allocations: 158 kB / 0.5864 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.06e-05/0.3717, allocations: 3.609 kB / 0.5864 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.3718, allocations: 5.625 kB / 0.5864 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.3719, allocations: 10.31 kB / 0.5864 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.3719, allocations: 15.45 kB / 0.5865 GB, free: 30.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008203/0.3728, allocations: 0.6573 MB / 0.5871 GB, free: 30.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3728, allocations: 0.875 kB / 0.5871 GB, free: 30.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001447/0.3742, allocations: 0.5718 MB / 0.5877 GB, free: 30.86 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.003085/0.3773, allocations: 2.13 MB / 0.5897 GB, free: 30.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002457/0.3798, allocations: 2.55 MB / 0.5922 GB, free: 29.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3798, allocations: 0 / 0.5922 GB, free: 29.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.3802, allocations: 342.4 kB / 0.5926 GB, free: 29.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.3804, allocations: 35.88 kB / 0.5926 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.3908, allocations: 9.755 MB / 0.6021 GB, free: 25.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.3913, allocations: 0.9651 MB / 0.6031 GB, free: 24.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001646/0.3914, allocations: 33.06 kB / 0.6031 GB, free: 24.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.3917, allocations: 265.8 kB / 0.6033 GB, free: 24.73 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3917, allocations: 4 kB / 0.6033 GB, free: 24.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0347/0.4264, allocations: 22.81 MB / 0.6256 GB, free: 8.094 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/0.4266, allocations: 306.8 kB / 0.6259 GB, free: 7.738 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.172/2.599, allocations: 0 / 0.6259 GB, free: 7.738 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: