Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 225.6 MB / 249.3 MB, free: 3.215 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9661/0.9661, allocations: 175.7 MB / 480.1 MB, free: 2.859 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 73.31 kB / 0.6678 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1478, allocations: 94.52 MB / 0.7601 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002782/0.1506, allocations: 1.787 MB / 0.7619 GB, free: 15.06 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.007399/0.158, allocations: 5.459 MB / 0.7672 GB, free: 9.582 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.785e-05/0.1581, allocations: 0 / 0.7672 GB, free: 9.582 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.1592, allocations: 370.4 kB / 0.7676 GB, free: 9.219 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.1593, allocations: 67.67 kB / 0.7676 GB, free: 9.152 MB / 0.5763 GB [/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/IDEAS 3.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.003352/0.1627, allocations: 1.496 MB / 0.7691 GB, free: 7.652 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.1629, allocations: 163.3 kB / 0.7692 GB, free: 7.492 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.163, allocations: 13.5 kB / 0.7693 GB, free: 7.48 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 7.981e-05/0.163, allocations: 59.77 kB / 0.7693 GB, free: 7.422 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.1633, allocations: 171.4 kB / 0.7695 GB, free: 7.254 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 4.476e-05/0.1633, allocations: 16 kB / 0.7695 GB, free: 7.238 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003258/0.1666, allocations: 2.309 MB / 0.7718 GB, free: 4.926 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.1668, allocations: 283.7 kB / 0.772 GB, free: 4.645 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0002729/0.1671, allocations: 302.1 kB / 0.7723 GB, free: 4.348 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.002766/0.1698, allocations: 2.2 MB / 0.7745 GB, free: 2.141 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1698, allocations: 3.984 kB / 0.7745 GB, free: 2.137 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1698, allocations: 0 / 0.7745 GB, free: 2.137 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.473e-06/0.1699, allocations: 0 / 0.7745 GB, free: 2.137 MB / 0.5763 GB 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.009521/0.1794, allocations: 1.406 MB / 0.7758 GB, free: 0.6758 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1794, allocations: 9.109 kB / 0.7758 GB, free: 0.668 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.1794, allocations: 38.73 kB / 0.7759 GB, free: 0.6211 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003492/0.1798, allocations: 104.2 kB / 0.776 GB, free: 0.5195 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004702/0.1803, allocations: 410.3 kB / 0.7764 GB, free: 72 kB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.1803, allocations: 8.125 kB / 0.7764 GB, free: 64 kB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.1803, allocations: 11.94 kB / 0.7764 GB, free: 52 kB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.1807, allocations: 387.2 kB / 0.7768 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1807, allocations: 7.984 kB / 0.7768 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1808, allocations: 0 / 0.7768 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1808, allocations: 0 / 0.7768 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004239/0.1812, allocations: 435.7 kB / 0.7772 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006006/0.1818, allocations: 0.6737 MB / 0.7778 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005139/0.1823, allocations: 0.5633 MB / 0.7784 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.1826, allocations: 329.7 kB / 0.7787 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009862/0.1836, allocations: 1.036 MB / 0.7797 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003865/0.184, allocations: 404.8 kB / 0.7801 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.184, allocations: 0 / 0.7801 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001296/0.1853, allocations: 1.301 MB / 0.7814 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.1853, allocations: 93.22 kB / 0.7815 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.1865, allocations: 1.29 MB / 0.7827 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.1866, allocations: 29.7 kB / 0.7828 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.1868, allocations: 289.9 kB / 0.783 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.1868, allocations: 23.84 kB / 0.783 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003179/0.1871, allocations: 355.6 kB / 0.7834 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.1872, allocations: 322 kB / 0.7837 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.1885, allocations: 1.373 MB / 0.785 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.1898, allocations: 1.503 MB / 0.7865 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006715/0.1965, allocations: 3.564 MB / 0.79 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.1965, allocations: 4 kB / 0.79 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004255/0.2008, allocations: 4.015 MB / 0.7939 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.2008, allocations: 11.98 kB / 0.7939 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.2008, allocations: 0 / 0.7939 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.2008, allocations: 4 kB / 0.7939 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.201, allocations: 12 kB / 0.7939 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.201, allocations: 3.984 kB / 0.7939 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.2015, allocations: 241.3 kB / 0.7942 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.2015, allocations: 28.02 kB / 0.7942 GB, free: 13.29 MB / 0.6075 GB 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.0003103/0.2018, allocations: 253.5 kB / 0.7944 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.696e-05/0.2019, allocations: 75.3 kB / 0.7945 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009774/0.2029, allocations: 0.9527 MB / 0.7954 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.2029, allocations: 0 / 0.7954 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2029, allocations: 0 / 0.7954 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2029, allocations: 4.031 kB / 0.7954 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.2033, allocations: 0.5256 MB / 0.796 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2033, allocations: 0 / 0.796 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.904e-05/0.2034, allocations: 11.98 kB / 0.796 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2034, allocations: 0 / 0.796 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.2034, allocations: 0 / 0.796 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2034, allocations: 4 kB / 0.796 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2034, allocations: 0 / 0.796 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009124/0.2043, allocations: 1.014 MB / 0.797 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.2044, allocations: 164.4 kB / 0.7971 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/0.2045, allocations: 4 kB / 0.7971 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.2046, allocations: 7.984 kB / 0.7971 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.2047, allocations: 0 / 0.7971 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/0.2047, allocations: 15.97 kB / 0.7971 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007693/0.2055, allocations: 0.7261 MB / 0.7979 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.2055, allocations: 0 / 0.7979 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001373/0.2069, allocations: 0.5962 MB / 0.7984 GB, free: 8.836 MB / 0.6075 GB 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.002694/0.2095, allocations: 2.168 MB / 0.8006 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001935/0.2115, allocations: 1.997 MB / 0.8025 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2115, allocations: 0 / 0.8025 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003295/0.2118, allocations: 339.9 kB / 0.8028 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.2121, allocations: 49.05 kB / 0.8029 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/0.2265, allocations: 15.29 MB / 0.8178 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.2271, allocations: 0.9839 MB / 0.8188 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001357/0.2272, allocations: 49.41 kB / 0.8188 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.2276, allocations: 291.3 kB / 0.8191 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of SimCode: time 7.62e-07/0.2276, allocations: 0 / 0.8191 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3234/0.551, allocations: 24.14 MB / 0.8427 GB, free: 73.79 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.227/9.778, allocations: 4.922 kB / 0.8427 GB, free: 73.79 MB / 0.6388 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.17558113198902]