Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="BuildingSystems_BuildingSystems_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.005503/0.005503, 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.001503/0.001503, allocations: 202 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002432/0.002433, allocations: 287.1 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.024/1.024, allocations: 178.6 MB / 0.5074 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00253/0.00253, allocations: 103.8 kB / 0.6943 GB, free: 3.551 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4356, allocations: 89.13 MB / 0.7814 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001615/0.4373, allocations: 0.5763 MB / 0.7819 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.4385, allocations: 0.9936 MB / 0.7829 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.784e-05/0.4386, allocations: 0 / 0.7829 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.4386, allocations: 0 / 0.7829 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006479/0.4392, allocations: 105.8 kB / 0.783 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.189e-05/0.4393, allocations: 16.25 kB / 0.783 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.061e-05/0.4393, allocations: 4.016 kB / 0.783 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.4394, allocations: 0.6562 kB / 0.783 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.557e-05/0.4394, allocations: 0.8438 kB / 0.783 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.4396, allocations: 40.33 kB / 0.7831 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.135e-06/0.4396, allocations: 0 / 0.7831 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.4398, allocations: 75.86 kB / 0.7831 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.4398, allocations: 2.219 kB / 0.7832 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.819e-05/0.4398, allocations: 11.88 kB / 0.7832 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.44, allocations: 73.2 kB / 0.7832 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.44, allocations: 0 / 0.7832 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.44, allocations: 3.281 kB / 0.7832 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.44, allocations: 0 / 0.7832 GB, free: 12.65 MB / 0.5606 GB 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.0003592/0.4404, allocations: 337 kB / 0.7836 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.4404, allocations: 9.531 kB / 0.7836 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.4405, allocations: 31.36 kB / 0.7836 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.028e-05/0.4405, allocations: 0.9375 kB / 0.7836 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.4406, allocations: 169.2 kB / 0.7838 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.4406, allocations: 384 / 0.7838 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-06/0.4407, allocations: 384 / 0.7838 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.375e-05/0.4407, allocations: 33.72 kB / 0.7838 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.4408, allocations: 3.938 kB / 0.7838 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.4408, allocations: 4 kB / 0.7838 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.4408, allocations: 1.156 kB / 0.7838 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.841e-05/0.4408, allocations: 6.156 kB / 0.7838 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.4412, allocations: 467.6 kB / 0.7843 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.882e-05/0.4413, allocations: 171 kB / 0.7844 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.866e-05/0.4414, allocations: 84.14 kB / 0.7845 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.4414, allocations: 80.66 kB / 0.7846 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.335e-05/0.4415, allocations: 110.3 kB / 0.7847 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 2.384e-06/0.4415, allocations: 0 / 0.7847 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.709e-05/0.4415, allocations: 27.72 kB / 0.7847 GB, free: 11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.4416, allocations: 129 kB / 0.7848 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.682e-05/0.4417, allocations: 101.1 kB / 0.7849 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.4417, allocations: 29.7 kB / 0.785 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.4418, allocations: 85.77 kB / 0.785 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-06/0.4418, allocations: 3.984 kB / 0.785 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.4418, allocations: 17.72 kB / 0.7851 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.442, allocations: 315.3 kB / 0.7854 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-06/0.442, allocations: 1.406 kB / 0.7854 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-06/0.442, allocations: 2.203 kB / 0.7854 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.655e-05/0.442, allocations: 14.23 kB / 0.7854 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.442, allocations: 0.6562 kB / 0.7854 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.359e-05/0.4421, allocations: 33.42 kB / 0.7854 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.4421, allocations: 7.375 kB / 0.7854 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.4421, allocations: 0 / 0.7854 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.4422, allocations: 0.6562 kB / 0.7854 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.298e-05/0.4422, allocations: 1.156 kB / 0.7854 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.4422, allocations: 0.6094 kB / 0.7854 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.259e-05/0.4422, allocations: 1.406 kB / 0.7854 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.4422, allocations: 0 / 0.7854 GB, free: 10.25 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.891e-05/0.4423, allocations: 195 kB / 0.7856 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-05/0.4424, allocations: 111.7 kB / 0.7857 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.4424, allocations: 110.4 kB / 0.7858 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.884e-05/0.4425, allocations: 182.1 kB / 0.786 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.287e-05/0.4426, allocations: 178 kB / 0.7862 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.367e-05/0.4427, allocations: 184.8 kB / 0.7863 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.4429, allocations: 411.1 kB / 0.7867 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.044e-05/0.443, allocations: 103 kB / 0.7868 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.574e-05/0.443, allocations: 105.5 kB / 0.7869 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.699e-05/0.4431, allocations: 178.2 kB / 0.7871 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.159e-05/0.4432, allocations: 185.8 kB / 0.7873 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.392e-05/0.4433, allocations: 182 kB / 0.7874 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.261e-05/0.4433, allocations: 182.3 kB / 0.7876 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.4435, allocations: 314.5 kB / 0.7879 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.24e-05/0.4436, allocations: 179.3 kB / 0.7881 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.588e-05/0.4437, allocations: 186.7 kB / 0.7883 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.4437, allocations: 102.9 kB / 0.7884 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.666e-05/0.4438, allocations: 182 kB / 0.7885 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.4439, allocations: 101.6 kB / 0.7886 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.747e-05/0.4439, allocations: 89.05 kB / 0.7887 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4439, allocations: 0 / 0.7887 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002467/0.4442, allocations: 20.44 kB / 0.7887 GB, free: 6.684 MB / 0.5606 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 (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.0006595/0.4449, allocations: 0.8696 MB / 0.7896 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.039e-05/0.4449, allocations: 2.656 kB / 0.7896 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4449, allocations: 0 / 0.7896 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.4449, allocations: 1.094 kB / 0.7896 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.4453, allocations: 460.4 kB / 0.79 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.4458, allocations: 246.2 kB / 0.7903 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.4461, allocations: 0.6762 MB / 0.7909 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.334e-05/0.4461, allocations: 1.469 kB / 0.7909 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.4462, allocations: 10.86 kB / 0.7909 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.4462, allocations: 0 / 0.7909 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.4682, allocations: 1.581 MB / 0.7925 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.672/8.14, allocations: 6.812 kB / 0.7925 GB, free: 4.051 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)