Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_100boreholes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.0008041/0.0008041, allocations: 91.28 kB / 15.06 MB, free: 1.078 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.0008719/0.0008719, allocations: 176.7 kB / 15.95 MB, free: 188 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7599/0.7599, allocations: 132.3 MB / 423.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003515, allocations: 12.89 kB / 0.5035 GB, free: 4.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4321, allocations: 81.58 MB / 0.5832 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001586/0.4337, allocations: 1.109 MB / 0.5843 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004179/0.4379, allocations: 2.816 MB / 0.587 GB, free: 1.316 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.553e-05/0.438, allocations: 2.125 kB / 0.587 GB, free: 1.316 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.4381, allocations: 14.05 kB / 0.587 GB, free: 1.305 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.4384, allocations: 24.44 kB / 0.5871 GB, free: 1.293 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002668/0.4411, allocations: 0.7486 MB / 0.5878 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.4412, allocations: 93.81 kB / 0.5879 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/0.4413, allocations: 3.453 kB / 0.5879 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.32e-05/0.4414, allocations: 41.8 kB / 0.5879 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003632/0.4418, allocations: 238.3 kB / 0.5882 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.393e-05/0.4418, allocations: 17.72 kB / 0.5882 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002883/0.4447, allocations: 1.302 MB / 0.5894 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009373/0.4457, allocations: 0.7065 MB / 0.5901 GB, free: 424 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004286/0.4461, allocations: 180.2 kB / 0.5903 GB, free: 308 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.4486, allocations: 1.18 MB / 0.5915 GB, free: 15.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4486, allocations: 3.938 kB / 0.5915 GB, free: 15.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4486, allocations: 1.438 kB / 0.5915 GB, free: 15.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.771e-05/0.4487, allocations: 4 kB / 0.5915 GB, free: 15.98 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.00967/0.4583, allocations: 1.606 MB / 0.593 GB, free: 14.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.4584, allocations: 10.27 kB / 0.593 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.013e-05/0.4585, allocations: 36.98 kB / 0.5931 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006922/0.4592, allocations: 139.8 kB / 0.5932 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.4605, allocations: 0.4939 MB / 0.5937 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.4605, allocations: 8.156 kB / 0.5937 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.4606, allocations: 4.266 kB / 0.5937 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006215/0.4612, allocations: 388 kB / 0.5941 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4612, allocations: 4.641 kB / 0.5941 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.4613, allocations: 1.25 kB / 0.5941 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.4613, allocations: 0.75 kB / 0.5941 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005869/0.4619, allocations: 440 kB / 0.5945 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.4634, allocations: 0.812 MB / 0.5953 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005757/0.4639, allocations: 0.5604 MB / 0.5958 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/0.4643, allocations: 337.4 kB / 0.5962 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/0.4655, allocations: 1.041 MB / 0.5972 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005281/0.466, allocations: 407.6 kB / 0.5976 GB, free: 12.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.853e-06/0.4661, allocations: 0 / 0.5976 GB, free: 12.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001565/0.4676, allocations: 1.333 MB / 0.5989 GB, free: 11.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.4677, allocations: 87.94 kB / 0.599 GB, free: 11.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003001/0.4707, allocations: 1.838 MB / 0.6008 GB, free: 10.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.99e-05/0.4708, allocations: 35.78 kB / 0.6008 GB, free: 10.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005579/0.4714, allocations: 480.1 kB / 0.6012 GB, free: 10.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/0.4715, allocations: 19.53 kB / 0.6013 GB, free: 10.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.4715, allocations: 0 / 0.6013 GB, free: 10.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.4717, allocations: 413.3 kB / 0.6017 GB, free: 9.973 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.4733, allocations: 1.511 MB / 0.6031 GB, free: 9.383 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.4748, allocations: 1.644 MB / 0.6047 GB, free: 8.691 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/0.4767, allocations: 2.046 MB / 0.6067 GB, free: 7.617 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4767, allocations: 0 / 0.6067 GB, free: 7.617 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004453/0.4811, allocations: 4.297 MB / 0.6109 GB, free: 3.504 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.4812, allocations: 4 kB / 0.6109 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.4812, allocations: 4 kB / 0.6109 GB, free: 3.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4812, allocations: 4.031 kB / 0.6109 GB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.4813, allocations: 15.98 kB / 0.611 GB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.4814, allocations: 8.062 kB / 0.611 GB, free: 3.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007905/0.4822, allocations: 232.2 kB / 0.6112 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-05/0.4822, allocations: 27.97 kB / 0.6112 GB, free: 3.211 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: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0005902/0.4828, allocations: 375 kB / 0.6116 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.483, allocations: 118 kB / 0.6117 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004282/0.4834, allocations: 149.1 kB / 0.6118 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.4834, allocations: 0 / 0.6118 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.4835, allocations: 0 / 0.6118 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4835, allocations: 3.938 kB / 0.6118 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.4845, allocations: 0.6794 MB / 0.6125 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4845, allocations: 4 kB / 0.6125 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.305e-05/0.4846, allocations: 7.984 kB / 0.6125 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.4846, allocations: 4.031 kB / 0.6125 GB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.4846, allocations: 8 kB / 0.6125 GB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4846, allocations: 0 / 0.6125 GB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4846, allocations: 3.938 kB / 0.6125 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.4857, allocations: 1.055 MB / 0.6136 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.4859, allocations: 195.1 kB / 0.6137 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.4861, allocations: 4 kB / 0.6137 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.4863, allocations: 3.984 kB / 0.6137 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.4863, allocations: 11.94 kB / 0.6138 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.4864, allocations: 15.97 kB / 0.6138 GB, free: 476 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001354/0.4877, allocations: 1.093 MB / 0.6148 GB, free: 15.35 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4877, allocations: 3.938 kB / 0.6148 GB, free: 15.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001679/0.4894, allocations: 431.8 kB / 0.6153 GB, free: 14.92 MB / 462.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.003074/0.4925, allocations: 1.978 MB / 0.6172 GB, free: 12.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002529/0.495, allocations: 2.644 MB / 0.6198 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4951, allocations: 4 kB / 0.6198 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.4954, allocations: 343.7 kB / 0.6201 GB, free: 9.914 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005899/0.496, allocations: 46.67 kB / 0.6201 GB, free: 9.863 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06446/0.5605, allocations: 30.56 MB / 0.65 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009173/0.5614, allocations: 1.153 MB / 0.6511 GB, free: 9.977 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002918/0.5617, allocations: 36.55 kB / 0.6511 GB, free: 9.941 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005281/0.5623, allocations: 427.3 kB / 0.6516 GB, free: 9.523 MB / 494.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5623, allocations: 3.938 kB / 0.6516 GB, free: 9.52 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07948/0.6418, allocations: 58.7 MB / 0.7089 GB, free: 15 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/0.642, allocations: 254.4 kB / 0.7091 GB, free: 14.67 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/3.062, allocations: 5.875 kB / 0.7091 GB, free: 14.67 MB / 0.545 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) Environment - environmentSimulation: