Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.ShaGFunction,fileNamePrefix="IDEAS_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_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.000672/0.0006722, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005307/0.005307, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.34/1.34, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7144/0.7144, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003171, allocations: 8 kB / 0.5041 GB, free: 3.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3715, allocations: 81.57 MB / 0.5838 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0005975/0.3722, allocations: 298.5 kB / 0.5841 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.3732, allocations: 0.9891 MB / 0.585 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.156e-05/0.3733, allocations: 0.875 kB / 0.585 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.221e-05/0.3733, allocations: 3.938 kB / 0.585 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005656/0.3739, allocations: 77.23 kB / 0.5851 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.817e-05/0.3739, allocations: 12.92 kB / 0.5851 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.358e-05/0.3739, allocations: 9.312 kB / 0.5851 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.241e-05/0.374, allocations: 1.719 kB / 0.5851 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.59e-05/0.374, allocations: 6.266 kB / 0.5851 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.3742, allocations: 29.97 kB / 0.5852 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.3742, allocations: 2.75 kB / 0.5852 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.3744, allocations: 83.05 kB / 0.5852 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.298e-06/0.3744, allocations: 5.031 kB / 0.5853 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.3744, allocations: 35.19 kB / 0.5853 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.3746, allocations: 65.22 kB / 0.5854 GB, free: 2.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.3746, allocations: 0 / 0.5854 GB, free: 2.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3746, allocations: 0 / 0.5854 GB, free: 2.965 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.3746, allocations: 0 / 0.5854 GB, free: 2.965 MB / 430.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.0001959/0.3748, allocations: 330.2 kB / 0.5857 GB, free: 2.609 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3748, allocations: 10.19 kB / 0.5857 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.379e-05/0.3749, allocations: 31.55 kB / 0.5857 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.783e-05/0.3749, allocations: 7.062 kB / 0.5857 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.62e-05/0.3749, allocations: 163.7 kB / 0.5859 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.375, allocations: 5.891 kB / 0.5859 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.99e-06/0.375, allocations: 0 / 0.5859 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.046e-05/0.375, allocations: 28.64 kB / 0.5859 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.3751, allocations: 1.609 kB / 0.5859 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.3751, allocations: 1.219 kB / 0.5859 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.3751, allocations: 4 kB / 0.5859 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.551e-05/0.3751, allocations: 5.375 kB / 0.5859 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002516/0.3753, allocations: 472.9 kB / 0.5864 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.467e-05/0.3754, allocations: 170.4 kB / 0.5865 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.307e-05/0.3754, allocations: 84.69 kB / 0.5866 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.3754, allocations: 79.28 kB / 0.5867 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.3754, allocations: 111.8 kB / 0.5868 GB, free: 1.352 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.462e-06/0.3755, allocations: 3.984 kB / 0.5868 GB, free: 1.348 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 4.916e-05/0.3755, allocations: 27.88 kB / 0.5868 GB, free: 1.316 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.3755, allocations: 127.9 kB / 0.5869 GB, free: 1.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.057e-05/0.3756, allocations: 100.8 kB / 0.587 GB, free: 1.078 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.268e-06/0.3756, allocations: 31.14 kB / 0.5871 GB, free: 1.043 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.61e-05/0.3756, allocations: 84.12 kB / 0.5871 GB, free: 0.957 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/0.3756, allocations: 0 / 0.5871 GB, free: 0.957 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/0.3757, allocations: 11.5 kB / 0.5872 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.55e-05/0.3757, allocations: 320.3 kB / 0.5875 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-06/0.3757, allocations: 1.969 kB / 0.5875 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.589e-06/0.3757, allocations: 0.8125 kB / 0.5875 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.799e-05/0.3757, allocations: 11.31 kB / 0.5875 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3758, allocations: 4.062 kB / 0.5875 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.777e-05/0.3758, allocations: 32.45 kB / 0.5875 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.3759, allocations: 6.438 kB / 0.5875 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.3759, allocations: 0 / 0.5875 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.3759, allocations: 1.484 kB / 0.5875 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.135e-05/0.3759, allocations: 0 / 0.5875 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3759, allocations: 1.312 kB / 0.5875 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.38e-05/0.3759, allocations: 5.25 kB / 0.5875 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.3759, allocations: 3.938 kB / 0.5875 GB, free: 0.5664 MB / 430.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.376, allocations: 196 kB / 0.5877 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.376, allocations: 106.4 kB / 0.5878 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.892e-05/0.376, allocations: 106.2 kB / 0.5879 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.953e-05/0.3761, allocations: 181.9 kB / 0.5881 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.476e-05/0.3761, allocations: 182.3 kB / 0.5883 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.98e-05/0.3762, allocations: 178 kB / 0.5884 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.3764, allocations: 414.2 kB / 0.5888 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.44e-05/0.3765, allocations: 102.4 kB / 0.5889 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.088e-05/0.3765, allocations: 106.5 kB / 0.589 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.145e-05/0.3766, allocations: 178.1 kB / 0.5892 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-05/0.3767, allocations: 181.9 kB / 0.5894 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-05/0.3768, allocations: 193.9 kB / 0.5896 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.664e-05/0.3769, allocations: 177.8 kB / 0.5897 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.377, allocations: 305.7 kB / 0.59 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.3771, allocations: 186.1 kB / 0.5902 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.225e-05/0.3771, allocations: 186.3 kB / 0.5904 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.71e-05/0.3772, allocations: 102.1 kB / 0.5905 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.3773, allocations: 183.4 kB / 0.5906 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.3773, allocations: 104.9 kB / 0.5907 GB, free: 13.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.906e-05/0.3774, allocations: 88.52 kB / 0.5908 GB, free: 13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3774, allocations: 0 / 0.5908 GB, free: 13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.3776, allocations: 20.64 kB / 0.5909 GB, free: 13 MB / 446.1 MB 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 (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.0005808/0.3782, allocations: 0.8603 MB / 0.5917 GB, free: 12.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 4.992e-05/0.3783, allocations: 6.344 kB / 0.5917 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3783, allocations: 1.688 kB / 0.5917 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.3783, allocations: 0 / 0.5917 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.3786, allocations: 0.5271 MB / 0.5922 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/0.3791, allocations: 237.7 kB / 0.5924 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.3793, allocations: 0.6759 MB / 0.5931 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.168e-05/0.3793, allocations: 3.234 kB / 0.5931 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.3794, allocations: 9.469 kB / 0.5931 GB, free: 10.7 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3794, allocations: 0 / 0.5931 GB, free: 10.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2452/0.6246, allocations: 1.303 MB / 0.5944 GB, free: 10.55 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/0.6249, allocations: 307.4 kB / 0.5947 GB, free: 10.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.983/2.608, allocations: 0 / 0.5947 GB, free: 10.17 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)