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.001766/0.001766, allocations: 109 kB / 20.48 MB, free: 1.473 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.001468/0.001468, allocations: 210.7 kB / 23.79 MB, free: 4.684 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.365/1.365, allocations: 230.6 MB / 257.6 MB, free: 7.984 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.8948/0.8948, allocations: 150 MB / 464 MB, free: 10.53 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.002063/0.002063, allocations: 73.58 kB / 0.6421 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1716, allocations: 89.17 MB / 0.7292 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001846/0.1734, allocations: 0.5732 MB / 0.7297 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1749, allocations: 1.023 MB / 0.7307 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.468e-05/0.1749, allocations: 0 / 0.7307 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.786e-05/0.1749, allocations: 4 kB / 0.7307 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000811/0.1757, allocations: 95.77 kB / 0.7308 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.381e-05/0.1757, allocations: 11.94 kB / 0.7308 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.854e-05/0.1758, allocations: 7.984 kB / 0.7308 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.024e-05/0.1759, allocations: 3.984 kB / 0.7308 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.869e-05/0.1759, allocations: 4 kB / 0.7308 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.1761, allocations: 36.19 kB / 0.7309 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.1761, allocations: 0 / 0.7309 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.1763, allocations: 83.91 kB / 0.731 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.1763, allocations: 0 / 0.731 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.1763, allocations: 8 kB / 0.731 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.1765, allocations: 71.78 kB / 0.731 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1765, allocations: 3.938 kB / 0.731 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.903e-06/0.1765, allocations: 3.938 kB / 0.731 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.1765, allocations: 0 / 0.731 GB, free: 15.32 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.0003362/0.1769, allocations: 258.3 kB / 0.7313 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1769, allocations: 8.031 kB / 0.7313 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.174e-05/0.1769, allocations: 192 / 0.7313 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.073e-05/0.1769, allocations: 30.75 kB / 0.7313 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.177, allocations: 12.89 kB / 0.7313 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.1771, allocations: 118.3 kB / 0.7315 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1771, allocations: 0 / 0.7315 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.1771, allocations: 4 kB / 0.7315 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.5e-05/0.1772, allocations: 25.7 kB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.1772, allocations: 0 / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.1772, allocations: 0 / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.1772, allocations: 0 / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.12e-05/0.1772, allocations: 7.938 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.1776, allocations: 362.6 kB / 0.7318 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.241e-05/0.1777, allocations: 169.1 kB / 0.732 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.1777, allocations: 84.08 kB / 0.7321 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.1778, allocations: 75.28 kB / 0.7322 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.827e-05/0.1778, allocations: 117.9 kB / 0.7323 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.1778, allocations: 0 / 0.7323 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.414e-05/0.1779, allocations: 33.64 kB / 0.7323 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.178, allocations: 126.7 kB / 0.7324 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1781, allocations: 101.8 kB / 0.7325 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.1781, allocations: 25.7 kB / 0.7325 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.1781, allocations: 84.12 kB / 0.7326 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.1781, allocations: 4 kB / 0.7326 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.1782, allocations: 13.72 kB / 0.7326 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1783, allocations: 314.8 kB / 0.7329 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.1783, allocations: 4 kB / 0.7329 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-06/0.1783, allocations: 0 / 0.7329 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.1783, allocations: 12.73 kB / 0.733 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1783, allocations: 0 / 0.733 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001051/0.1784, allocations: 41.89 kB / 0.733 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1785, allocations: 10.53 kB / 0.733 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1785, allocations: 0 / 0.733 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1785, allocations: 0 / 0.733 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.984e-05/0.1785, allocations: 7.984 kB / 0.733 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1785, allocations: 0 / 0.733 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.922e-05/0.1785, allocations: 3.938 kB / 0.733 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.1785, allocations: 0 / 0.733 GB, free: 13.11 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.652e-05/0.1786, allocations: 181.1 kB / 0.7332 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.25e-05/0.1787, allocations: 116.9 kB / 0.7333 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.1788, allocations: 108.1 kB / 0.7334 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.825e-05/0.1788, allocations: 176.3 kB / 0.7336 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.151e-05/0.1789, allocations: 184.2 kB / 0.7337 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.907e-05/0.179, allocations: 180.3 kB / 0.7339 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.1792, allocations: 384.2 kB / 0.7343 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.391e-05/0.1792, allocations: 105 kB / 0.7344 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.1793, allocations: 101 kB / 0.7345 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.286e-05/0.1794, allocations: 180.2 kB / 0.7346 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.392e-05/0.1794, allocations: 180.2 kB / 0.7348 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.547e-05/0.1795, allocations: 188.2 kB / 0.735 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-05/0.1796, allocations: 180.3 kB / 0.7352 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.1797, allocations: 307.7 kB / 0.7355 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.1798, allocations: 113 kB / 0.7356 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.514e-05/0.1799, allocations: 184.2 kB / 0.7358 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.951e-05/0.1799, allocations: 101 kB / 0.7358 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.18, allocations: 188.1 kB / 0.736 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.1801, allocations: 104.9 kB / 0.7361 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.009e-05/0.1801, allocations: 87.27 kB / 0.7362 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1801, allocations: 0 / 0.7362 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002654/0.1804, allocations: 23.88 kB / 0.7362 GB, free: 9.605 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.0007331/0.1811, allocations: 0.857 MB / 0.7371 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.979e-05/0.1812, allocations: 7.984 kB / 0.7371 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1812, allocations: 0 / 0.7371 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.1812, allocations: 4.062 kB / 0.7371 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.1816, allocations: 463.6 kB / 0.7375 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005907/0.1822, allocations: 243.7 kB / 0.7378 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.1825, allocations: 0.6768 MB / 0.7384 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.073e-05/0.1825, allocations: 4 kB / 0.7384 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.1825, allocations: 11.44 kB / 0.7384 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.1825, allocations: 0 / 0.7384 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.2049, allocations: 1.668 MB / 0.7401 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.13, allocations: 7.812 kB / 0.7401 GB, free: 5.793 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.68733601999702] Failed to read output from testmodel.py, exit status != 0: 11.305454979010392 11.330199566 11.149197991 Calling exit ...