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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 214.3 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002406/0.002406, allocations: 278.3 kB / 312.7 MB, free: 2.602 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.157/1.157, allocations: 180.6 MB / 0.5369 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002838/0.002838, allocations: 108.8 kB / 0.7396 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1606, allocations: 95.39 MB / 0.8327 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00192/0.1625, allocations: 0.5715 MB / 0.8333 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.164, allocations: 1.013 MB / 0.8343 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.585e-05/0.164, allocations: 0 / 0.8343 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.425e-05/0.164, allocations: 3.938 kB / 0.8343 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007617/0.1648, allocations: 95.78 kB / 0.8343 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.486e-05/0.1648, allocations: 11.98 kB / 0.8344 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.381e-05/0.1649, allocations: 8 kB / 0.8344 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.1649, allocations: 0 / 0.8344 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.923e-05/0.1649, allocations: 11.88 kB / 0.8344 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.1652, allocations: 32.19 kB / 0.8344 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.1652, allocations: 0 / 0.8344 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.1654, allocations: 83.89 kB / 0.8345 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.032e-05/0.1654, allocations: 0 / 0.8345 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.676e-05/0.1654, allocations: 0 / 0.8345 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.1656, allocations: 79.73 kB / 0.8346 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1656, allocations: 0 / 0.8346 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1656, allocations: 4 kB / 0.8346 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.1656, allocations: 0 / 0.8346 GB, free: 6.395 MB / 0.5762 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.0003299/0.166, allocations: 254.3 kB / 0.8348 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.166, allocations: 13.34 kB / 0.8348 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.1661, allocations: 34.73 kB / 0.8349 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.093e-05/0.1661, allocations: 0.9375 kB / 0.8349 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1662, allocations: 110.5 kB / 0.835 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1662, allocations: 384 / 0.835 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.921e-06/0.1662, allocations: 384 / 0.835 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.31e-05/0.1663, allocations: 45.52 kB / 0.835 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.1663, allocations: 4 kB / 0.835 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.1663, allocations: 0 / 0.835 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1663, allocations: 0 / 0.835 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.584e-05/0.1663, allocations: 0 / 0.835 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.1667, allocations: 362.5 kB / 0.8354 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.165e-05/0.1668, allocations: 173.1 kB / 0.8355 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/0.1668, allocations: 80.14 kB / 0.8356 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.1668, allocations: 75.28 kB / 0.8357 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/0.1669, allocations: 113.8 kB / 0.8358 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1669, allocations: 3.938 kB / 0.8358 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.75e-05/0.167, allocations: 29.66 kB / 0.8358 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.167, allocations: 130.7 kB / 0.8359 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.1671, allocations: 105.8 kB / 0.836 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1672, allocations: 25.7 kB / 0.8361 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.1672, allocations: 84.14 kB / 0.8361 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.1672, allocations: 0 / 0.8361 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.1672, allocations: 13.72 kB / 0.8362 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1674, allocations: 314.8 kB / 0.8365 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-06/0.1674, allocations: 0 / 0.8365 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.157e-06/0.1674, allocations: 4 kB / 0.8365 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.78e-05/0.1674, allocations: 12.91 kB / 0.8365 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1674, allocations: 0 / 0.8365 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.914e-05/0.1675, allocations: 37.7 kB / 0.8365 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1675, allocations: 4 kB / 0.8365 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1675, allocations: 0 / 0.8365 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1675, allocations: 0 / 0.8365 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.455e-05/0.1675, allocations: 3.938 kB / 0.8365 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.1675, allocations: 0 / 0.8365 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.919e-05/0.1676, allocations: 8 kB / 0.8365 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.1676, allocations: 0 / 0.8365 GB, free: 4.195 MB / 0.5762 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 0.0001006/0.1677, allocations: 189.1 kB / 0.8367 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.1677, allocations: 109 kB / 0.8368 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.075e-05/0.1678, allocations: 111.9 kB / 0.8369 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.315e-05/0.1679, allocations: 184.3 kB / 0.8371 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.231e-05/0.1679, allocations: 180.3 kB / 0.8373 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-05/0.168, allocations: 180.2 kB / 0.8374 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.1683, allocations: 380.2 kB / 0.8378 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.253e-05/0.1683, allocations: 104.9 kB / 0.8379 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.1683, allocations: 101 kB / 0.838 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.316e-05/0.1684, allocations: 184.2 kB / 0.8382 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-05/0.1685, allocations: 180.4 kB / 0.8383 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-05/0.1686, allocations: 188.2 kB / 0.8385 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.661e-05/0.1687, allocations: 184.2 kB / 0.8387 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.1688, allocations: 311.7 kB / 0.839 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.49e-05/0.1689, allocations: 104.9 kB / 0.8391 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.169, allocations: 184.2 kB / 0.8393 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.985e-05/0.1691, allocations: 108.9 kB / 0.8394 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-05/0.1692, allocations: 184.2 kB / 0.8395 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/0.1692, allocations: 105 kB / 0.8396 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.814e-05/0.1693, allocations: 83.45 kB / 0.8397 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1693, allocations: 0 / 0.8397 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002643/0.1695, allocations: 27.81 kB / 0.8398 GB, free: 0.6797 MB / 0.5762 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.0007248/0.1703, allocations: 0.8725 MB / 0.8406 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.504e-05/0.1703, allocations: 0 / 0.8406 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.1703, allocations: 4 kB / 0.8406 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.537e-06/0.1703, allocations: 3.938 kB / 0.8406 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.1707, allocations: 455.8 kB / 0.841 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.1713, allocations: 237.8 kB / 0.8413 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.062e-05/0.1713, allocations: 55.36 kB / 0.8413 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.377e-05/0.1713, allocations: 0 / 0.8413 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.1714, allocations: 11.44 kB / 0.8413 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.1714, allocations: 0 / 0.8413 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.1998, allocations: 2.066 MB / 0.8434 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.19, allocations: 7.984 kB / 0.8434 GB, free: 13.09 MB / 0.5919 GB " [Timeout remaining time 649] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.262616758234799] Failed to read output from testmodel.py, exit status != 0: 11.29787151236087 11.322442998 11.152426907 Calling exit ...