Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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) 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_SmallScaleValidation,fileNamePrefix="IDEAS_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_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.0008529/0.000853, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009565/0.0009566, allocations: 172.7 kB / 15.95 MB, free: 208 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.318/1.318, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7366/0.7366, allocations: 132.3 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003442, allocations: 9.375 kB / 0.5035 GB, free: 4.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4105, allocations: 81.59 MB / 0.5832 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001887/0.4124, allocations: 1.412 MB / 0.5846 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005249/0.4177, allocations: 3.886 MB / 0.5884 GB, free: 304 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.4178, allocations: 1.125 kB / 0.5884 GB, free: 304 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.419, allocations: 322 kB / 0.5887 GB, free: 156 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.4192, allocations: 51.03 kB / 0.5887 GB, free: 128 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003131/0.4224, allocations: 0.7485 MB / 0.5895 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004697/0.4228, allocations: 162.2 kB / 0.5896 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.707e-05/0.4229, allocations: 16.33 kB / 0.5896 GB, free: 15.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.4231, allocations: 56.39 kB / 0.5897 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003337/0.4234, allocations: 188.2 kB / 0.5899 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.857e-05/0.4235, allocations: 14.78 kB / 0.5899 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003588/0.4271, allocations: 1.303 MB / 0.5912 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005322/0.4276, allocations: 265 kB / 0.5914 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002667/0.4279, allocations: 124.1 kB / 0.5915 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.4304, allocations: 1.028 MB / 0.5925 GB, free: 14.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4304, allocations: 4 kB / 0.5925 GB, free: 14.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4304, allocations: 0 / 0.5925 GB, free: 14.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.011e-05/0.4304, allocations: 0 / 0.5925 GB, free: 14.95 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.00839/0.4388, allocations: 1.217 MB / 0.5937 GB, free: 14.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.4389, allocations: 9.875 kB / 0.5937 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.79e-05/0.4389, allocations: 36.31 kB / 0.5938 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004089/0.4394, allocations: 99.64 kB / 0.5939 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005818/0.44, allocations: 399.7 kB / 0.5942 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.44, allocations: 3.625 kB / 0.5942 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.44, allocations: 8.812 kB / 0.5943 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004926/0.4405, allocations: 392.5 kB / 0.5946 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.4406, allocations: 1.406 kB / 0.5946 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.4406, allocations: 0.5156 kB / 0.5946 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.4406, allocations: 4.875 kB / 0.5946 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.441, allocations: 433.1 kB / 0.595 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008469/0.4419, allocations: 0.6665 MB / 0.5957 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005771/0.4425, allocations: 0.5693 MB / 0.5963 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00036/0.4428, allocations: 332.6 kB / 0.5966 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.4439, allocations: 1.033 MB / 0.5976 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004471/0.4444, allocations: 407 kB / 0.598 GB, free: 11.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.4444, allocations: 0 / 0.598 GB, free: 11.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001427/0.4458, allocations: 1.29 MB / 0.5992 GB, free: 11.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.4459, allocations: 83.86 kB / 0.5993 GB, free: 11.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.4475, allocations: 1.274 MB / 0.6006 GB, free: 10.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.741e-05/0.4475, allocations: 32.34 kB / 0.6006 GB, free: 10.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.4478, allocations: 283.6 kB / 0.6009 GB, free: 10.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.4478, allocations: 23.86 kB / 0.6009 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.4478, allocations: 0 / 0.6009 GB, free: 10.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.448, allocations: 429.5 kB / 0.6013 GB, free: 9.762 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.4494, allocations: 1.365 MB / 0.6026 GB, free: 9.184 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.4511, allocations: 1.489 MB / 0.6041 GB, free: 8.516 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/0.4531, allocations: 1.894 MB / 0.6059 GB, free: 7.461 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.4531, allocations: 0 / 0.6059 GB, free: 7.461 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004612/0.4577, allocations: 3.952 MB / 0.6098 GB, free: 4.711 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.4577, allocations: 8.031 kB / 0.6098 GB, free: 4.703 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.4578, allocations: 4 kB / 0.6098 GB, free: 4.699 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.4578, allocations: 0 / 0.6098 GB, free: 4.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.4579, allocations: 19.92 kB / 0.6098 GB, free: 4.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.4579, allocations: 4 kB / 0.6098 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005699/0.4585, allocations: 232.4 kB / 0.61 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/0.4586, allocations: 23.98 kB / 0.6101 GB, free: 4.422 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.0003133/0.4589, allocations: 253.6 kB / 0.6103 GB, free: 4.164 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-05/0.459, allocations: 70.69 kB / 0.6104 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.4592, allocations: 87.5 kB / 0.6105 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4593, allocations: 4 kB / 0.6105 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.4593, allocations: 0 / 0.6105 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4593, allocations: 0 / 0.6105 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.4598, allocations: 0.5138 MB / 0.611 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4598, allocations: 4 kB / 0.611 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.682e-05/0.4599, allocations: 12.02 kB / 0.611 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4599, allocations: 0 / 0.611 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.4599, allocations: 8 kB / 0.611 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4599, allocations: 0 / 0.611 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4599, allocations: 0 / 0.611 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009047/0.4608, allocations: 1.009 MB / 0.612 GB, free: 2.375 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.461, allocations: 155.8 kB / 0.6121 GB, free: 2.203 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-05/0.461, allocations: 4 kB / 0.6121 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.4612, allocations: 11.98 kB / 0.6121 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.4612, allocations: 0 / 0.6121 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/0.4613, allocations: 15.97 kB / 0.6121 GB, free: 2.172 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008063/0.4621, allocations: 0.7101 MB / 0.6128 GB, free: 1.457 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4621, allocations: 4 kB / 0.6128 GB, free: 1.453 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001511/0.4636, allocations: 403.8 kB / 0.6132 GB, free: 1.059 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.002976/0.4666, allocations: 1.92 MB / 0.6151 GB, free: 15.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00231/0.4689, allocations: 2.499 MB / 0.6175 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.469, allocations: 0 / 0.6175 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.4693, allocations: 339.9 kB / 0.6179 GB, free: 12.26 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.4697, allocations: 60.64 kB / 0.6179 GB, free: 12.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.4805, allocations: 9.464 MB / 0.6272 GB, free: 2.648 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/0.481, allocations: 0.9917 MB / 0.6281 GB, free: 1.633 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.4812, allocations: 37.42 kB / 0.6282 GB, free: 1.594 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.4815, allocations: 287.3 kB / 0.6284 GB, free: 1.316 MB / 462.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4815, allocations: 0 / 0.6284 GB, free: 1.316 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03183/0.5133, allocations: 18.76 MB / 0.6468 GB, free: 14.82 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002982/0.5137, allocations: 264.4 kB / 0.647 GB, free: 14.46 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/2.816, allocations: 3.062 kB / 0.647 GB, free: 14.46 MB / 494.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) Environment - environmentSimulation: