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.004578/0.004578, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.0009868/0.0009868, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002217/0.002217, allocations: 294.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9223/0.9223, allocations: 169.2 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 91.86 kB / 0.681 GB, free: 7.422 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4263, allocations: 86.98 MB / 0.766 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001768/0.4281, allocations: 0.5607 MB / 0.7665 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.4294, allocations: 0.9993 MB / 0.7675 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/0.4294, allocations: 0 / 0.7675 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.4294, allocations: 3.938 kB / 0.7675 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007414/0.4302, allocations: 91.78 kB / 0.7676 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.262e-05/0.4303, allocations: 19.91 kB / 0.7676 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.89e-05/0.4303, allocations: 8 kB / 0.7676 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/0.4304, allocations: 3.938 kB / 0.7676 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.835e-05/0.4304, allocations: 4 kB / 0.7676 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.4306, allocations: 35.62 kB / 0.7676 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.4307, allocations: 0 / 0.7676 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003164/0.431, allocations: 87.84 kB / 0.7677 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.806e-06/0.431, allocations: 0 / 0.7677 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.431, allocations: 7.938 kB / 0.7677 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.4312, allocations: 65.73 kB / 0.7678 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4312, allocations: 0 / 0.7678 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4312, allocations: 0 / 0.7678 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.4312, allocations: 0 / 0.7678 GB, free: 1.969 MB / 0.5294 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.0003072/0.4316, allocations: 342.9 kB / 0.7681 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.4316, allocations: 12.03 kB / 0.7681 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/0.4316, allocations: 30.75 kB / 0.7682 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.4317, allocations: 0.9375 kB / 0.7682 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.4318, allocations: 164.4 kB / 0.7683 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.4318, allocations: 384 / 0.7683 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-06/0.4318, allocations: 4.312 kB / 0.7683 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.307e-05/0.4319, allocations: 41.62 kB / 0.7684 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.4319, allocations: 3.938 kB / 0.7684 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.4319, allocations: 0 / 0.7684 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.4319, allocations: 4 kB / 0.7684 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.678e-05/0.4319, allocations: 0 / 0.7684 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.4323, allocations: 468.6 kB / 0.7688 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.306e-05/0.4324, allocations: 167 kB / 0.769 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.766e-05/0.4324, allocations: 80.14 kB / 0.7691 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.4324, allocations: 83.22 kB / 0.7691 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.4325, allocations: 113.8 kB / 0.7692 GB, free: 304 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.4325, allocations: 0 / 0.7692 GB, free: 304 kB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 6.668e-05/0.4326, allocations: 29.7 kB / 0.7693 GB, free: 268 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.4326, allocations: 126.7 kB / 0.7694 GB, free: 128 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.306e-05/0.4327, allocations: 93.86 kB / 0.7695 GB, free: 24 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.4327, allocations: 29.7 kB / 0.7695 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.4328, allocations: 96.08 kB / 0.7696 GB, free: 15.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-06/0.4328, allocations: 0 / 0.7696 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.4328, allocations: 9.719 kB / 0.7696 GB, free: 15.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.4329, allocations: 318.8 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-06/0.4329, allocations: 0 / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.796e-06/0.4329, allocations: 3.938 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.548e-05/0.433, allocations: 8.859 kB / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.433, allocations: 4.062 kB / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.976e-05/0.4331, allocations: 37.69 kB / 0.77 GB, free: 15.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.4331, allocations: 7.938 kB / 0.77 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4331, allocations: 4 kB / 0.77 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.4331, allocations: 0 / 0.77 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.578e-05/0.4332, allocations: 0 / 0.77 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.4332, allocations: 0 / 0.77 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.275e-05/0.4332, allocations: 0 / 0.77 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-06/0.4332, allocations: 4 kB / 0.77 GB, free: 15.48 MB / 0.545 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 8.416e-05/0.4333, allocations: 199.4 kB / 0.7702 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.4333, allocations: 101 kB / 0.7703 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/0.4334, allocations: 108.1 kB / 0.7704 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-05/0.4334, allocations: 184.2 kB / 0.7705 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.409e-05/0.4335, allocations: 184.2 kB / 0.7707 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.994e-05/0.4336, allocations: 180.3 kB / 0.7709 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.4338, allocations: 409.1 kB / 0.7713 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.85e-05/0.4338, allocations: 101 kB / 0.7714 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/0.4338, allocations: 108.9 kB / 0.7715 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.671e-05/0.4339, allocations: 176.3 kB / 0.7717 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.479e-05/0.4339, allocations: 188.4 kB / 0.7718 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.712e-05/0.434, allocations: 180.3 kB / 0.772 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-05/0.434, allocations: 180.3 kB / 0.7722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.4342, allocations: 315.9 kB / 0.7725 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.4342, allocations: 186 kB / 0.7727 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.059e-05/0.4343, allocations: 184.3 kB / 0.7728 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-05/0.4344, allocations: 101 kB / 0.7729 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.4344, allocations: 184.2 kB / 0.7731 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.4345, allocations: 101 kB / 0.7732 GB, free: 11.96 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.848e-05/0.4345, allocations: 83.27 kB / 0.7733 GB, free: 11.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4345, allocations: 0 / 0.7733 GB, free: 11.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000242/0.4347, allocations: 19.94 kB / 0.7733 GB, free: 11.86 MB / 0.545 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.0005549/0.4353, allocations: 0.8696 MB / 0.7741 GB, free: 10.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.381e-05/0.4354, allocations: 15.98 kB / 0.7742 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.4354, allocations: 0 / 0.7742 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.4354, allocations: 0 / 0.7742 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.4357, allocations: 455.7 kB / 0.7746 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.4363, allocations: 233.8 kB / 0.7748 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.4365, allocations: 0.6768 MB / 0.7755 GB, free: 9.531 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.463e-05/0.4365, allocations: 4 kB / 0.7755 GB, free: 9.527 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.4366, allocations: 9.672 kB / 0.7755 GB, free: 9.52 MB / 0.545 GB Notification: Performance of SimCode: time 2.124e-06/0.4366, allocations: 0 / 0.7755 GB, free: 9.52 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.4555, allocations: 1.593 MB / 0.777 GB, free: 8.152 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.384/7.84, allocations: 11.11 kB / 0.7771 GB, free: 8.148 MB / 0.545 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)