Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.ShaGFunction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",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.001508/0.001514, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002075/0.002075, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.534/2.534, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.788/1.788, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006401/0.0006403, allocations: 12 kB / 0.5069 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2907, allocations: 82.31 MB / 0.5873 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0009618/0.2918, allocations: 274.9 kB / 0.5876 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.2937, allocations: 0.9526 MB / 0.5885 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.2937, allocations: 0 / 0.5885 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.2937, allocations: 0 / 0.5885 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009891/0.2947, allocations: 79.86 kB / 0.5886 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.046e-05/0.2948, allocations: 4 kB / 0.5886 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.285e-05/0.2948, allocations: 0 / 0.5886 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.485e-05/0.2949, allocations: 7.922 kB / 0.5886 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.614e-05/0.295, allocations: 7.984 kB / 0.5886 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.2952, allocations: 31.92 kB / 0.5886 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.2952, allocations: 4 kB / 0.5886 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.2954, allocations: 55.95 kB / 0.5887 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.2954, allocations: 3.984 kB / 0.5887 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.2954, allocations: 25.7 kB / 0.5887 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.2956, allocations: 47.94 kB / 0.5888 GB, free: 1.484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2956, allocations: 0 / 0.5888 GB, free: 1.484 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.2956, allocations: 0 / 0.5888 GB, free: 1.484 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.2957, allocations: 0 / 0.5888 GB, free: 1.484 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005632/0.2962, allocations: 333.3 kB / 0.5891 GB, free: 1.113 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.2963, allocations: 16.03 kB / 0.5891 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.459e-05/0.2964, allocations: 30.56 kB / 0.5891 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.2964, allocations: 3.906 kB / 0.5891 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.2966, allocations: 163 kB / 0.5893 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.2966, allocations: 4 kB / 0.5893 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.2967, allocations: 0 / 0.5893 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.2968, allocations: 33.62 kB / 0.5893 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2968, allocations: 0 / 0.5893 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.2969, allocations: 3.938 kB / 0.5893 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.2969, allocations: 0 / 0.5893 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.16e-05/0.2969, allocations: 8 kB / 0.5893 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.2974, allocations: 460.6 kB / 0.5898 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.2976, allocations: 177.1 kB / 0.5899 GB, free: 100 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.2976, allocations: 75.28 kB / 0.59 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.886e-05/0.2977, allocations: 109.8 kB / 0.5901 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/0.2977, allocations: 0 / 0.5901 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.000134/0.2979, allocations: 29.69 kB / 0.5901 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/0.2979, allocations: 130.7 kB / 0.5903 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.2981, allocations: 97.86 kB / 0.5904 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.2981, allocations: 25.7 kB / 0.5904 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.2982, allocations: 80.14 kB / 0.5905 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.2982, allocations: 0 / 0.5905 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.2982, allocations: 4 kB / 0.5905 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2983, allocations: 318.8 kB / 0.5908 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.2984, allocations: 4 kB / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.924e-06/0.2984, allocations: 3.938 kB / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.906e-05/0.2984, allocations: 4 kB / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.2984, allocations: 4 kB / 0.5908 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001505/0.2986, allocations: 29.7 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.2986, allocations: 6.188 kB / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2987, allocations: 4.094 kB / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.2987, allocations: 0 / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.275e-05/0.2987, allocations: 4.188 kB / 0.5908 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.2987, allocations: 0 / 0.5908 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.03e-05/0.2988, allocations: 0 / 0.5908 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.2988, allocations: 3.984 kB / 0.5908 GB, free: 15.12 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000139/0.2989, allocations: 185.1 kB / 0.591 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.2991, allocations: 116.8 kB / 0.5911 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.602e-05/0.2991, allocations: 112.1 kB / 0.5912 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.22e-05/0.2992, allocations: 180.2 kB / 0.5914 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-05/0.2993, allocations: 184.2 kB / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.884e-05/0.2994, allocations: 180.2 kB / 0.5918 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004853/0.2999, allocations: 409.2 kB / 0.5921 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.148e-05/0.3, allocations: 113 kB / 0.5922 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.3001, allocations: 108.9 kB / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.801e-05/0.3002, allocations: 176.3 kB / 0.5925 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.094e-05/0.3003, allocations: 176.3 kB / 0.5927 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001395/0.3005, allocations: 184.2 kB / 0.5929 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.262e-05/0.3005, allocations: 176.3 kB / 0.593 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.3007, allocations: 315.7 kB / 0.5933 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.3009, allocations: 178.1 kB / 0.5935 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.301, allocations: 192.2 kB / 0.5937 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.3011, allocations: 105 kB / 0.5938 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3013, allocations: 184.2 kB / 0.594 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.413e-05/0.3013, allocations: 101 kB / 0.5941 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.165e-05/0.3014, allocations: 83.27 kB / 0.5941 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3014, allocations: 0 / 0.5941 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004748/0.3019, allocations: 24 kB / 0.5942 GB, free: 11.49 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0008616/0.3028, allocations: 0.862 MB / 0.595 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.659e-05/0.3028, allocations: 4 kB / 0.595 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.3029, allocations: 4 kB / 0.595 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.3029, allocations: 0 / 0.595 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.3034, allocations: 0.5225 MB / 0.5955 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005963/0.304, allocations: 199.6 kB / 0.5957 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.3044, allocations: 0.6809 MB / 0.5964 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.729e-05/0.3045, allocations: 11.94 kB / 0.5964 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.3045, allocations: 7.438 kB / 0.5964 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.3045, allocations: 0 / 0.5964 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.3251, allocations: 1.285 MB / 0.5977 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003618/0.3255, allocations: 284.4 kB / 0.5979 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.843/3.169, allocations: 4 kB / 0.5979 GB, free: 7.703 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) Environment - environmentSimulation: