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.00117/0.00117, allocations: 103.7 kB / 15.98 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 198.3 kB / 16.91 MB, free: 6.188 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.182/1.182, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6557/0.6557, allocations: 115.3 MB / 406.1 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 67.89 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2893, allocations: 76.17 MB / 0.5561 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00199/0.2913, allocations: 1.479 MB / 0.5575 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004563/0.2959, allocations: 4.222 MB / 0.5616 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.2959, allocations: 5.125 kB / 0.5616 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.34e-05/0.2961, allocations: 8 kB / 0.5616 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.2962, allocations: 24.92 kB / 0.5617 GB, free: 32.45 MB / 446.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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.2994, allocations: 1.345 MB / 0.563 GB, free: 31.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.2995, allocations: 90.38 kB / 0.5631 GB, free: 31.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.2996, allocations: 5.797 kB / 0.5631 GB, free: 31.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.06e-05/0.2996, allocations: 50.17 kB / 0.5631 GB, free: 31.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.2998, allocations: 159.2 kB / 0.5633 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.2999, allocations: 15.34 kB / 0.5633 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/0.3026, allocations: 2.194 MB / 0.5654 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.3028, allocations: 269.8 kB / 0.5657 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.3029, allocations: 281.5 kB / 0.566 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002387/0.3053, allocations: 2.118 MB / 0.568 GB, free: 30.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.3053, allocations: 0 / 0.568 GB, free: 30.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3053, allocations: 0 / 0.568 GB, free: 30.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.3054, allocations: 0.5938 kB / 0.568 GB, free: 30.34 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.008399/0.3138, allocations: 1.301 MB / 0.5693 GB, free: 29.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3138, allocations: 10.95 kB / 0.5693 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.724e-05/0.3138, allocations: 36.77 kB / 0.5693 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003483/0.3142, allocations: 91.36 kB / 0.5694 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.3145, allocations: 363.5 kB / 0.5698 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3145, allocations: 3.297 kB / 0.5698 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.3146, allocations: 5.797 kB / 0.5698 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003967/0.315, allocations: 398.5 kB / 0.5702 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.315, allocations: 0 / 0.5702 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.315, allocations: 2.594 kB / 0.5702 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.315, allocations: 1.062 kB / 0.5702 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004088/0.3154, allocations: 438.9 kB / 0.5706 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.3159, allocations: 0.6401 MB / 0.5712 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004594/0.3164, allocations: 0.5649 MB / 0.5718 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.3167, allocations: 335 kB / 0.5721 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000733/0.3174, allocations: 1.024 MB / 0.5731 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003623/0.3178, allocations: 415.5 kB / 0.5735 GB, free: 27.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.3178, allocations: 0 / 0.5735 GB, free: 27.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001173/0.319, allocations: 1.288 MB / 0.5747 GB, free: 27.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.319, allocations: 86.41 kB / 0.5748 GB, free: 27.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.3201, allocations: 1.217 MB / 0.576 GB, free: 26.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.3201, allocations: 27.73 kB / 0.576 GB, free: 26.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.3202, allocations: 264.8 kB / 0.5763 GB, free: 26.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.3203, allocations: 20.89 kB / 0.5763 GB, free: 26.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000303/0.3206, allocations: 352.7 kB / 0.5766 GB, free: 26.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.677e-05/0.3206, allocations: 309.2 kB / 0.5769 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.3217, allocations: 1.371 MB / 0.5783 GB, free: 25.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.3229, allocations: 1.504 MB / 0.5797 GB, free: 24.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006436/0.3293, allocations: 3.564 MB / 0.5832 GB, free: 23.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3293, allocations: 0 / 0.5832 GB, free: 23.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00337/0.3327, allocations: 4.007 MB / 0.5871 GB, free: 20.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3327, allocations: 14.12 kB / 0.5871 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.3327, allocations: 0 / 0.5871 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3328, allocations: 4.781 kB / 0.5872 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.3329, allocations: 17.61 kB / 0.5872 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3329, allocations: 0 / 0.5872 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/0.3333, allocations: 232.2 kB / 0.5874 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/0.3334, allocations: 23.98 kB / 0.5874 GB, free: 19.84 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.0002122/0.3336, allocations: 246.7 kB / 0.5876 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.3337, allocations: 75.12 kB / 0.5877 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.3339, allocations: 73.48 kB / 0.5878 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3339, allocations: 0 / 0.5878 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3339, allocations: 0 / 0.5878 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3339, allocations: 6.5 kB / 0.5878 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.3342, allocations: 492.9 kB / 0.5883 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3342, allocations: 3.938 kB / 0.5883 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.37e-05/0.3343, allocations: 11.98 kB / 0.5883 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3343, allocations: 4 kB / 0.5883 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3343, allocations: 0 / 0.5883 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.3343, allocations: 3.984 kB / 0.5883 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3343, allocations: 4.531 kB / 0.5883 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/0.3349, allocations: 1.005 MB / 0.5893 GB, free: 17.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.667e-05/0.335, allocations: 159.8 kB / 0.5894 GB, free: 17.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.885e-05/0.3351, allocations: 3.984 kB / 0.5894 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.3352, allocations: 9.219 kB / 0.5894 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.3352, allocations: 11.98 kB / 0.5895 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.3353, allocations: 9.328 kB / 0.5895 GB, free: 17.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004992/0.3358, allocations: 0.6728 MB / 0.5901 GB, free: 16.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3358, allocations: 4 kB / 0.5901 GB, free: 16.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001761/0.3375, allocations: 0.5667 MB / 0.5907 GB, free: 16.41 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.002829/0.3404, allocations: 2.14 MB / 0.5928 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.3419, allocations: 2.558 MB / 0.5953 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3419, allocations: 3.938 kB / 0.5953 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.3421, allocations: 343.7 kB / 0.5956 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.3424, allocations: 36.59 kB / 0.5956 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.3536, allocations: 15.25 MB / 0.6105 GB, free: 11.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.3541, allocations: 0.9679 MB / 0.6115 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001588/0.3542, allocations: 36.55 kB / 0.6115 GB, free: 10.89 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.3545, allocations: 267.3 kB / 0.6118 GB, free: 10.63 MB / 462.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3545, allocations: 0 / 0.6118 GB, free: 10.63 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.996/2.35, allocations: 23.52 MB / 0.6347 GB, free: 3.324 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000281/2.35, allocations: 337.9 kB / 0.635 GB, free: 2.941 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.313/5.663, allocations: 2.578 kB / 0.6351 GB, free: 2.941 MB / 478.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)