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.0007672/0.0007672, allocations: 92 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.0007789/0.000779, 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.276/1.276, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7241/0.7241, allocations: 132.3 MB / 423.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003103, allocations: 12.72 kB / 0.5035 GB, free: 4.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.41, allocations: 81.57 MB / 0.5832 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0007236/0.4108, allocations: 292.3 kB / 0.5835 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.4122, allocations: 0.9716 MB / 0.5844 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.21e-05/0.4122, allocations: 0.6875 kB / 0.5844 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.311e-05/0.4123, allocations: 3.938 kB / 0.5844 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000728/0.413, allocations: 78.33 kB / 0.5845 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.997e-05/0.413, allocations: 10.66 kB / 0.5845 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.065e-05/0.4131, allocations: 2.578 kB / 0.5845 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.4131, allocations: 2.109 kB / 0.5845 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.151e-05/0.4132, allocations: 3 kB / 0.5845 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.4134, allocations: 36.83 kB / 0.5845 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.4134, allocations: 0 / 0.5845 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.4136, allocations: 65.59 kB / 0.5846 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.4136, allocations: 6.016 kB / 0.5846 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.4137, allocations: 27 kB / 0.5846 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.4138, allocations: 40.78 kB / 0.5847 GB, free: 2.977 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4138, allocations: 8 kB / 0.5847 GB, free: 2.969 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4138, allocations: 1.125 kB / 0.5847 GB, free: 2.969 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.4138, allocations: 3.938 kB / 0.5847 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.0002314/0.4141, allocations: 327.9 kB / 0.585 GB, free: 2.609 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.4141, allocations: 9.156 kB / 0.585 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.153e-05/0.4141, allocations: 31.12 kB / 0.585 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.961e-05/0.4142, allocations: 4.594 kB / 0.585 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.268e-05/0.4142, allocations: 167.4 kB / 0.5852 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.4143, allocations: 0 / 0.5852 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.4143, allocations: 4.719 kB / 0.5852 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.92e-05/0.4144, allocations: 37.09 kB / 0.5852 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.4144, allocations: 0 / 0.5852 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.4144, allocations: 0.7188 kB / 0.5852 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.4144, allocations: 3.938 kB / 0.5853 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.617e-05/0.4144, allocations: 2.344 kB / 0.5853 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.4147, allocations: 464.9 kB / 0.5857 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.855e-05/0.4148, allocations: 174.2 kB / 0.5859 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.4148, allocations: 80.8 kB / 0.5859 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.4148, allocations: 75.28 kB / 0.586 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.4148, allocations: 111.6 kB / 0.5861 GB, free: 1.355 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.4148, allocations: 1.125 kB / 0.5861 GB, free: 1.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.574e-05/0.4149, allocations: 31.62 kB / 0.5861 GB, free: 1.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.4149, allocations: 130.6 kB / 0.5863 GB, free: 1.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.039e-05/0.415, allocations: 97.72 kB / 0.5864 GB, free: 1.082 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.582e-06/0.415, allocations: 29.7 kB / 0.5864 GB, free: 1.047 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.947e-05/0.415, allocations: 84.86 kB / 0.5865 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/0.415, allocations: 1.438 kB / 0.5865 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-06/0.4151, allocations: 0 / 0.5865 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.374e-05/0.4151, allocations: 312.3 kB / 0.5868 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-06/0.4151, allocations: 5.031 kB / 0.5868 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-06/0.4151, allocations: 1.906 kB / 0.5868 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.489e-05/0.4151, allocations: 1.406 kB / 0.5868 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4152, allocations: 0 / 0.5868 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.826e-05/0.4152, allocations: 33.38 kB / 0.5868 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.4153, allocations: 5.406 kB / 0.5868 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4153, allocations: 0 / 0.5868 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.4153, allocations: 5.75 kB / 0.5868 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.408e-05/0.4153, allocations: 0 / 0.5868 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.4153, allocations: 9.812 kB / 0.5868 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.468e-05/0.4153, allocations: 7.953 kB / 0.5868 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.4154, allocations: 1.281 kB / 0.5868 GB, free: 0.5938 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.017e-05/0.4154, allocations: 190.6 kB / 0.587 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.4155, allocations: 107.6 kB / 0.5871 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.4155, allocations: 106 kB / 0.5872 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.065e-05/0.4155, allocations: 185.6 kB / 0.5874 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.867e-05/0.4156, allocations: 183.3 kB / 0.5876 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.776e-05/0.4157, allocations: 188.9 kB / 0.5878 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.4159, allocations: 401.9 kB / 0.5881 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.124e-05/0.4159, allocations: 103.6 kB / 0.5882 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.416, allocations: 110.4 kB / 0.5883 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.153e-05/0.4161, allocations: 185.9 kB / 0.5885 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.607e-05/0.4161, allocations: 182 kB / 0.5887 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.932e-05/0.4162, allocations: 177.5 kB / 0.5889 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.316e-05/0.4163, allocations: 182.7 kB / 0.589 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.4164, allocations: 316.8 kB / 0.5893 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.309e-05/0.4165, allocations: 185.8 kB / 0.5895 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.977e-05/0.4165, allocations: 178.7 kB / 0.5897 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.4166, allocations: 103.1 kB / 0.5898 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.4167, allocations: 185.8 kB / 0.59 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.4167, allocations: 103 kB / 0.5901 GB, free: 13.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.456e-05/0.4168, allocations: 84.02 kB / 0.5901 GB, free: 13.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4168, allocations: 0 / 0.5901 GB, free: 13.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.417, allocations: 19.64 kB / 0.5902 GB, free: 13.03 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 (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.000615/0.4177, allocations: 0.8645 MB / 0.591 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.813e-05/0.4177, allocations: 2.859 kB / 0.591 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4177, allocations: 0 / 0.591 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.4178, allocations: 0.8125 kB / 0.591 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.4181, allocations: 0.5251 MB / 0.5915 GB, free: 11.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004975/0.4186, allocations: 238.5 kB / 0.5918 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.4189, allocations: 0.6719 MB / 0.5924 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.394e-05/0.4189, allocations: 3.625 kB / 0.5924 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.419, allocations: 9.344 kB / 0.5924 GB, free: 10.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.419, allocations: 0 / 0.5924 GB, free: 10.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01126/0.4302, allocations: 1.299 MB / 0.5937 GB, free: 10.58 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/0.4305, allocations: 288.2 kB / 0.594 GB, free: 10.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/2.096, allocations: 3.938 kB / 0.594 GB, free: 10.23 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/linux/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) Environment - environmentSimulation: