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) 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-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005857/0.005857, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001529/0.001529, allocations: 202.2 kB / 16.68 MB, free: 5.969 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9692/0.9692, allocations: 135.6 MB / 426.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001888, allocations: 67.89 kB / 0.5858 GB, free: 3.195 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3775, allocations: 81.02 MB / 0.6649 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002389/0.3799, allocations: 1.732 MB / 0.6666 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004606/0.3846, allocations: 4.214 MB / 0.6707 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.3847, allocations: 1.062 kB / 0.6707 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.3858, allocations: 367.2 kB / 0.6711 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.386, allocations: 61.53 kB / 0.6712 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.3883, allocations: 0.987 MB / 0.6721 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.3885, allocations: 155 kB / 0.6723 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/0.3886, allocations: 9.75 kB / 0.6723 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.3887, allocations: 53.11 kB / 0.6723 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.3889, allocations: 159.5 kB / 0.6725 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.37e-05/0.3889, allocations: 18.27 kB / 0.6725 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.3909, allocations: 1.377 MB / 0.6738 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.3911, allocations: 276.6 kB / 0.6741 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.3913, allocations: 301.2 kB / 0.6744 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.3936, allocations: 1.56 MB / 0.6759 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3937, allocations: 0 / 0.6759 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.305e-06/0.3937, allocations: 5.812 kB / 0.6759 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.3937, allocations: 0 / 0.6759 GB, free: 15.23 MB / 0.5137 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.01101/0.4047, allocations: 1.31 MB / 0.6772 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.4048, allocations: 9.438 kB / 0.6772 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/0.4048, allocations: 35.83 kB / 0.6772 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003909/0.4052, allocations: 100.7 kB / 0.6773 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006283/0.4059, allocations: 410 kB / 0.6777 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.4059, allocations: 11.66 kB / 0.6777 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.4059, allocations: 4.688 kB / 0.6777 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004543/0.4064, allocations: 382.5 kB / 0.6781 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4064, allocations: 11.92 kB / 0.6781 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.4064, allocations: 1.094 kB / 0.6781 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4064, allocations: 1.062 kB / 0.6781 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/0.4069, allocations: 434.3 kB / 0.6785 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008785/0.4078, allocations: 0.6591 MB / 0.6792 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005949/0.4084, allocations: 0.5729 MB / 0.6797 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/0.4088, allocations: 334.6 kB / 0.6801 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/0.4099, allocations: 1.027 MB / 0.6811 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005185/0.4104, allocations: 410.7 kB / 0.6815 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.863e-06/0.4104, allocations: 0 / 0.6815 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001499/0.4119, allocations: 1.292 MB / 0.6827 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.412, allocations: 91.41 kB / 0.6828 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.4134, allocations: 1.285 MB / 0.6841 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/0.4135, allocations: 39.31 kB / 0.6841 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.4138, allocations: 285.2 kB / 0.6844 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.4138, allocations: 23.69 kB / 0.6844 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003427/0.4142, allocations: 347.7 kB / 0.6847 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.4143, allocations: 318.1 kB / 0.685 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.4156, allocations: 1.366 MB / 0.6864 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.417, allocations: 1.49 MB / 0.6878 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007267/0.4243, allocations: 3.541 MB / 0.6913 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.4243, allocations: 3.938 kB / 0.6913 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004589/0.4289, allocations: 3.981 MB / 0.6952 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.429, allocations: 4 kB / 0.6952 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.429, allocations: 0 / 0.6952 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.429, allocations: 4 kB / 0.6952 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.4291, allocations: 19.94 kB / 0.6952 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.4291, allocations: 3.984 kB / 0.6952 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006403/0.4298, allocations: 237.4 kB / 0.6954 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-05/0.4299, allocations: 24.02 kB / 0.6954 GB, free: 1.074 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (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 (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0003343/0.4302, allocations: 245.6 kB / 0.6957 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.976e-05/0.4303, allocations: 75.3 kB / 0.6957 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.4306, allocations: 91.64 kB / 0.6958 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4306, allocations: 0 / 0.6958 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4306, allocations: 0 / 0.6958 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4306, allocations: 8.031 kB / 0.6958 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00051/0.4311, allocations: 0.5177 MB / 0.6963 GB, free: 80 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4311, allocations: 0 / 0.6963 GB, free: 80 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.997e-05/0.4312, allocations: 11.98 kB / 0.6964 GB, free: 68 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4312, allocations: 0 / 0.6964 GB, free: 68 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.4312, allocations: 0 / 0.6964 GB, free: 68 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.4312, allocations: 7.938 kB / 0.6964 GB, free: 60 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4312, allocations: 0 / 0.6964 GB, free: 60 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009973/0.4322, allocations: 1.018 MB / 0.6974 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.4324, allocations: 164.4 kB / 0.6975 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.503e-05/0.4325, allocations: 3.984 kB / 0.6975 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.4326, allocations: 4 kB / 0.6975 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.4326, allocations: 7.984 kB / 0.6975 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.613e-05/0.4327, allocations: 15.98 kB / 0.6975 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008208/0.4335, allocations: 0.7179 MB / 0.6982 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4335, allocations: 0 / 0.6982 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001172/0.4347, allocations: 411 kB / 0.6986 GB, free: 13.68 MB / 0.5294 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.002362/0.4371, allocations: 1.943 MB / 0.7005 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00244/0.4395, allocations: 2.499 MB / 0.703 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4395, allocations: 0 / 0.703 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.4399, allocations: 335.8 kB / 0.7033 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.4403, allocations: 55.88 kB / 0.7034 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/0.4561, allocations: 15.03 MB / 0.718 GB, free: 9.625 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006039/0.4567, allocations: 0.9918 MB / 0.719 GB, free: 8.609 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001612/0.4569, allocations: 45.41 kB / 0.719 GB, free: 8.566 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.4573, allocations: 279.3 kB / 0.7193 GB, free: 8.293 MB / 0.545 GB Notification: Performance of SimCode: time 2.315e-06/0.4573, allocations: 0 / 0.7193 GB, free: 8.293 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04837/0.5056, allocations: 19.86 MB / 0.7387 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11, allocations: 5.969 kB / 0.7387 GB, free: 4.648 MB / 0.5606 GB (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)