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.00151/0.00151, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001492/0.001492, allocations: 210.1 kB / 23.77 MB, free: 4.559 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.378/1.378, allocations: 230.6 MB / 257.6 MB, free: 7.793 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.9242/0.9242, allocations: 150 MB / 464 MB, free: 10.21 MB / 366.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="cs",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="cs",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.002182/0.002182, allocations: 66.14 kB / 0.642 GB, free: 9.871 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1612, allocations: 89.18 MB / 0.7291 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001872/0.163, allocations: 0.5627 MB / 0.7296 GB, free: 212 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.1644, allocations: 1.003 MB / 0.7306 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.716e-05/0.1644, allocations: 0 / 0.7306 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.1644, allocations: 7.938 kB / 0.7306 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006673/0.1651, allocations: 95.77 kB / 0.7307 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.262e-05/0.1651, allocations: 12 kB / 0.7307 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.399e-05/0.1652, allocations: 7.984 kB / 0.7307 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.1652, allocations: 0 / 0.7307 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.588e-05/0.1652, allocations: 4 kB / 0.7307 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.1654, allocations: 36.78 kB / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.1654, allocations: 0 / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.1656, allocations: 83.91 kB / 0.7309 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.927e-06/0.1656, allocations: 4 kB / 0.7309 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.602e-05/0.1656, allocations: 0 / 0.7309 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.1658, allocations: 79.78 kB / 0.7309 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1658, allocations: 0 / 0.7309 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1658, allocations: 0 / 0.7309 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.1658, allocations: 3.938 kB / 0.7309 GB, free: 14.86 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.0003221/0.1661, allocations: 254.3 kB / 0.7312 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1662, allocations: 8.031 kB / 0.7312 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.628e-05/0.1662, allocations: 192 / 0.7312 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.821e-05/0.1662, allocations: 34.75 kB / 0.7312 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.508e-05/0.1662, allocations: 8.891 kB / 0.7312 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.1663, allocations: 114.3 kB / 0.7313 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.1663, allocations: 0 / 0.7313 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-06/0.1664, allocations: 4 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.634e-05/0.1664, allocations: 29.64 kB / 0.7314 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1664, allocations: 0 / 0.7314 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-06/0.1664, allocations: 3.938 kB / 0.7314 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1664, allocations: 0 / 0.7314 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.588e-05/0.1665, allocations: 4 kB / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.1668, allocations: 362.6 kB / 0.7317 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.057e-05/0.1669, allocations: 169.1 kB / 0.7319 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/0.1669, allocations: 88.14 kB / 0.732 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.167, allocations: 75.28 kB / 0.7321 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/0.167, allocations: 113.9 kB / 0.7322 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.167, allocations: 0 / 0.7322 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.919e-05/0.1671, allocations: 29.7 kB / 0.7322 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.675e-05/0.1672, allocations: 126.7 kB / 0.7323 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.455e-05/0.1673, allocations: 105.7 kB / 0.7324 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1673, allocations: 25.7 kB / 0.7324 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.1673, allocations: 88.11 kB / 0.7325 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.1673, allocations: 4 kB / 0.7325 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.1673, allocations: 13.72 kB / 0.7325 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1675, allocations: 314.8 kB / 0.7328 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-06/0.1675, allocations: 4 kB / 0.7328 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-06/0.1675, allocations: 0 / 0.7328 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.354e-05/0.1675, allocations: 8.859 kB / 0.7328 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1675, allocations: 0 / 0.7328 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.846e-05/0.1676, allocations: 41.58 kB / 0.7329 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1676, allocations: 8 kB / 0.7329 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1676, allocations: 0 / 0.7329 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1676, allocations: 0 / 0.7329 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.419e-05/0.1676, allocations: 8.031 kB / 0.7329 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.1676, allocations: 0 / 0.7329 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.576e-05/0.1677, allocations: 3.938 kB / 0.7329 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.1677, allocations: 0 / 0.7329 GB, free: 12.66 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.884e-05/0.1678, allocations: 189.1 kB / 0.7331 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.1678, allocations: 101 kB / 0.7332 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.809e-05/0.1679, allocations: 116.1 kB / 0.7333 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.766e-05/0.168, allocations: 176.3 kB / 0.7335 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.957e-05/0.168, allocations: 180.5 kB / 0.7336 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.308e-05/0.1681, allocations: 192.2 kB / 0.7338 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.1683, allocations: 380.3 kB / 0.7342 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.265e-05/0.1684, allocations: 108.9 kB / 0.7343 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.1684, allocations: 101 kB / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.996e-05/0.1685, allocations: 180.3 kB / 0.7346 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.169e-05/0.1685, allocations: 184.2 kB / 0.7347 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-05/0.1686, allocations: 180.2 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.588e-05/0.1687, allocations: 180.2 kB / 0.7351 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.1688, allocations: 315.7 kB / 0.7354 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.1689, allocations: 108.9 kB / 0.7355 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.56e-05/0.1689, allocations: 176.3 kB / 0.7356 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.332e-05/0.169, allocations: 108.9 kB / 0.7357 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.1691, allocations: 184.2 kB / 0.7359 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.1691, allocations: 101 kB / 0.736 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.927e-05/0.1692, allocations: 87.27 kB / 0.7361 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1692, allocations: 0 / 0.7361 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002744/0.1695, allocations: 27.81 kB / 0.7361 GB, free: 9.152 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.000663/0.1701, allocations: 0.8577 MB / 0.737 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.286e-05/0.1702, allocations: 4 kB / 0.737 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1702, allocations: 3.938 kB / 0.737 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.08e-06/0.1702, allocations: 7.922 kB / 0.737 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.1706, allocations: 463.6 kB / 0.7374 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/0.1711, allocations: 241.7 kB / 0.7377 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.356e-05/0.1711, allocations: 55.34 kB / 0.7377 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.63e-05/0.1712, allocations: 8.062 kB / 0.7377 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.1712, allocations: 7.438 kB / 0.7377 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.1712, allocations: 0 / 0.7377 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.192, allocations: 1.706 MB / 0.7394 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.22, allocations: 4.938 kB / 0.7394 GB, free: 5.922 MB / 0.5606 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 14.782044953899458] Failed to read output from testmodel.py, exit status != 0: 11.390508772921748 11.405826099 11.236951502 Calling exit ...