Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001312/0.001312, allocations: 119.2 kB / 17.13 MB, free: 5.941 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.001591/0.001591, allocations: 212.3 kB / 20.09 MB, free: 2.992 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.474/1.474, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9508/0.9508, allocations: 150 MB / 459.5 MB, free: 5.316 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.003009/0.003009, allocations: 72.3 kB / 0.6362 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1565, allocations: 89.12 MB / 0.7232 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001805/0.1583, allocations: 0.5569 MB / 0.7238 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1597, allocations: 1.017 MB / 0.7248 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.931e-05/0.1597, allocations: 4 kB / 0.7248 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.1597, allocations: 3.938 kB / 0.7248 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007041/0.1604, allocations: 91.77 kB / 0.7249 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.703e-05/0.1604, allocations: 12 kB / 0.7249 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.8e-05/0.1605, allocations: 7.984 kB / 0.7249 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.704e-05/0.1605, allocations: 0 / 0.7249 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.799e-05/0.1605, allocations: 11.88 kB / 0.7249 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.1607, allocations: 40.19 kB / 0.7249 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.155e-06/0.1608, allocations: 0 / 0.7249 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.1609, allocations: 83.91 kB / 0.725 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.185e-06/0.1609, allocations: 4 kB / 0.725 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.161, allocations: 4 kB / 0.725 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.1611, allocations: 79.72 kB / 0.7251 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1611, allocations: 0 / 0.7251 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1611, allocations: 0 / 0.7251 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.1611, allocations: 4 kB / 0.7251 GB, free: 2.137 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.0003304/0.1615, allocations: 331.3 kB / 0.7254 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1615, allocations: 8.031 kB / 0.7254 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.1615, allocations: 30.75 kB / 0.7254 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.042e-05/0.1616, allocations: 4.938 kB / 0.7254 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.1617, allocations: 172.4 kB / 0.7256 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1617, allocations: 3.938 kB / 0.7256 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.1617, allocations: 3.938 kB / 0.7256 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.169e-05/0.1618, allocations: 33.69 kB / 0.7256 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1618, allocations: 0 / 0.7256 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.1618, allocations: 0 / 0.7256 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1618, allocations: 0 / 0.7256 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.55e-05/0.1618, allocations: 0 / 0.7256 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.1622, allocations: 472.6 kB / 0.7261 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.121e-05/0.1623, allocations: 169.1 kB / 0.7263 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.1624, allocations: 84.14 kB / 0.7263 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.1624, allocations: 75.28 kB / 0.7264 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/0.1624, allocations: 113.8 kB / 0.7265 GB, free: 480 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.1624, allocations: 0 / 0.7265 GB, free: 480 kB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 6.869e-05/0.1625, allocations: 25.7 kB / 0.7265 GB, free: 448 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.1626, allocations: 126.7 kB / 0.7267 GB, free: 308 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.938e-05/0.1627, allocations: 109.8 kB / 0.7268 GB, free: 188 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.1627, allocations: 25.7 kB / 0.7268 GB, free: 156 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.1627, allocations: 84.08 kB / 0.7269 GB, free: 68 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.1627, allocations: 0 / 0.7269 GB, free: 68 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.1628, allocations: 17.72 kB / 0.7269 GB, free: 44 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1629, allocations: 314.8 kB / 0.7272 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.098e-05/0.1629, allocations: 4 kB / 0.7272 GB, free: 15.72 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.468e-06/0.1629, allocations: 3.984 kB / 0.7272 GB, free: 15.72 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.465e-05/0.163, allocations: 8.859 kB / 0.7272 GB, free: 15.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.163, allocations: 0 / 0.7272 GB, free: 15.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.751e-05/0.163, allocations: 33.66 kB / 0.7272 GB, free: 15.67 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1631, allocations: 12.09 kB / 0.7273 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1631, allocations: 3.938 kB / 0.7273 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1631, allocations: 3.938 kB / 0.7273 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.501e-05/0.1631, allocations: 0 / 0.7273 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1631, allocations: 3.984 kB / 0.7273 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.508e-05/0.1631, allocations: 3.938 kB / 0.7273 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.1631, allocations: 0 / 0.7273 GB, free: 15.64 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 9.655e-05/0.1632, allocations: 189.1 kB / 0.7274 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.95e-05/0.1633, allocations: 109 kB / 0.7276 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.919e-05/0.1633, allocations: 108 kB / 0.7277 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.112e-05/0.1634, allocations: 180.3 kB / 0.7278 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.186e-05/0.1635, allocations: 176.3 kB / 0.728 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.372e-05/0.1635, allocations: 188.1 kB / 0.7282 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.1638, allocations: 401.2 kB / 0.7286 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.452e-05/0.1638, allocations: 108.9 kB / 0.7287 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/0.1639, allocations: 105 kB / 0.7288 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.303e-05/0.164, allocations: 176.3 kB / 0.7289 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.822e-05/0.164, allocations: 188.4 kB / 0.7291 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.974e-05/0.1641, allocations: 184.3 kB / 0.7293 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.992e-05/0.1642, allocations: 188.2 kB / 0.7295 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.1643, allocations: 303.8 kB / 0.7298 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/0.1644, allocations: 182 kB / 0.7299 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.293e-05/0.1645, allocations: 184.3 kB / 0.7301 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-05/0.1646, allocations: 108.9 kB / 0.7302 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/0.1647, allocations: 180.3 kB / 0.7304 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.375e-05/0.1647, allocations: 104.9 kB / 0.7305 GB, free: 12.13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.278e-05/0.1647, allocations: 79.47 kB / 0.7306 GB, free: 12.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1647, allocations: 7.875 kB / 0.7306 GB, free: 12.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002605/0.165, allocations: 31.86 kB / 0.7306 GB, free: 12.01 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.0006856/0.1657, allocations: 0.857 MB / 0.7314 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.067e-05/0.1657, allocations: 4 kB / 0.7314 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1657, allocations: 0 / 0.7314 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.713e-06/0.1658, allocations: 8 kB / 0.7314 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.1661, allocations: 459.5 kB / 0.7319 GB, free: 10.67 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.1666, allocations: 249.5 kB / 0.7321 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.1669, allocations: 0.6729 MB / 0.7328 GB, free: 9.691 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.674e-05/0.1669, allocations: 4 kB / 0.7328 GB, free: 9.688 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.167, allocations: 15.44 kB / 0.7328 GB, free: 9.672 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.167, allocations: 0 / 0.7328 GB, free: 9.672 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.1966, allocations: 1.572 MB / 0.7343 GB, free: 8.305 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.285, allocations: 9.766 kB / 0.7343 GB, free: 8.297 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.114347318187356] Failed to read output from testmodel.py, exit status != 0: 8.35462470492348 8.377550213 8.211992655 Calling exit ...