Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 108.8 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8703/0.8703, allocations: 134 MB / 436.6 MB, free: 1.25 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 68.55 kB / 0.6052 GB, free: 15.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1725, allocations: 84.68 MB / 0.6878 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001895/0.1744, allocations: 0.5643 MB / 0.6884 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.1758, allocations: 0.9996 MB / 0.6894 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.897e-05/0.1758, allocations: 0 / 0.6894 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.1758, allocations: 0 / 0.6894 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006579/0.1765, allocations: 83.78 kB / 0.6895 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 3.699e-05/0.1765, allocations: 15.92 kB / 0.6895 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.623e-05/0.1766, allocations: 8 kB / 0.6895 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.1766, allocations: 0 / 0.6895 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.794e-05/0.1766, allocations: 4 kB / 0.6895 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.1768, allocations: 31.91 kB / 0.6895 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.427e-06/0.1768, allocations: 4 kB / 0.6895 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.177, allocations: 75.91 kB / 0.6896 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.177, allocations: 4 kB / 0.6896 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.177, allocations: 4 kB / 0.6896 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.1772, allocations: 76 kB / 0.6897 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1772, allocations: 0 / 0.6897 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1772, allocations: 0 / 0.6897 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.1772, allocations: 0 / 0.6897 GB, free: 9.191 MB / 0.5137 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.0003659/0.1776, allocations: 335.3 kB / 0.69 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1776, allocations: 16.03 kB / 0.69 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.017e-05/0.1777, allocations: 38.69 kB / 0.69 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.238e-05/0.1777, allocations: 0.9375 kB / 0.69 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.1778, allocations: 164.3 kB / 0.6902 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1778, allocations: 7.938 kB / 0.6902 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.281e-06/0.1778, allocations: 0 / 0.6902 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.913e-05/0.1779, allocations: 29.69 kB / 0.6902 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1779, allocations: 0 / 0.6902 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.1779, allocations: 0 / 0.6902 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.178, allocations: 0 / 0.6902 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.734e-05/0.178, allocations: 8 kB / 0.6902 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000612/0.1786, allocations: 464.5 kB / 0.6907 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.349e-05/0.1787, allocations: 173.2 kB / 0.6908 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.793e-05/0.1787, allocations: 80.14 kB / 0.6909 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.1787, allocations: 79.28 kB / 0.691 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.482e-05/0.1788, allocations: 105.8 kB / 0.6911 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.1788, allocations: 0 / 0.6911 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.696e-05/0.1789, allocations: 37.62 kB / 0.6911 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/0.179, allocations: 126.7 kB / 0.6913 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.91e-05/0.1791, allocations: 101.8 kB / 0.6914 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.1791, allocations: 25.7 kB / 0.6914 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.1791, allocations: 88.12 kB / 0.6915 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.1791, allocations: 0 / 0.6915 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.1791, allocations: 17.7 kB / 0.6915 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1793, allocations: 322.7 kB / 0.6918 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.1793, allocations: 0 / 0.6918 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-06/0.1793, allocations: 4 kB / 0.6918 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.682e-05/0.1793, allocations: 4.859 kB / 0.6918 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.1793, allocations: 64 / 0.6918 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001057/0.1794, allocations: 41.64 kB / 0.6918 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1794, allocations: 4 kB / 0.6918 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-06/0.1794, allocations: 0 / 0.6918 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1795, allocations: 7.984 kB / 0.6918 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.598e-05/0.1795, allocations: 0 / 0.6918 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1795, allocations: 4 kB / 0.6919 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.008e-05/0.1795, allocations: 7.891 kB / 0.6919 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.1795, allocations: 0 / 0.6919 GB, free: 6.688 MB / 0.5137 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.0001054/0.1796, allocations: 193.1 kB / 0.692 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.502e-05/0.1797, allocations: 105 kB / 0.6921 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.583e-05/0.1797, allocations: 108 kB / 0.6922 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.867e-05/0.1798, allocations: 180.2 kB / 0.6924 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-05/0.1799, allocations: 180.2 kB / 0.6926 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-05/0.18, allocations: 184.2 kB / 0.6928 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.1802, allocations: 405.2 kB / 0.6932 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.934e-05/0.1803, allocations: 104.9 kB / 0.6933 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.1803, allocations: 105 kB / 0.6934 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.733e-05/0.1804, allocations: 180.2 kB / 0.6935 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.528e-05/0.1805, allocations: 176.5 kB / 0.6937 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.891e-05/0.1806, allocations: 192.3 kB / 0.6939 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-05/0.1806, allocations: 188.2 kB / 0.6941 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.1809, allocations: 303.7 kB / 0.6943 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-05/0.181, allocations: 186.1 kB / 0.6945 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.693e-05/0.1811, allocations: 176.3 kB / 0.6947 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.915e-05/0.1812, allocations: 108.9 kB / 0.6948 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.1813, allocations: 180.3 kB / 0.695 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/0.1813, allocations: 108.9 kB / 0.6951 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.105e-05/0.1814, allocations: 87.27 kB / 0.6952 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1814, allocations: 0 / 0.6952 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003002/0.1817, allocations: 15.94 kB / 0.6952 GB, free: 3.066 MB / 0.5137 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.0007105/0.1824, allocations: 0.8597 MB / 0.696 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.456e-05/0.1824, allocations: 7.938 kB / 0.696 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1824, allocations: 4.062 kB / 0.696 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.1824, allocations: 3.938 kB / 0.696 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.1828, allocations: 455.6 kB / 0.6965 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005467/0.1834, allocations: 237.7 kB / 0.6967 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.1839, allocations: 0.6729 MB / 0.6973 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.621e-05/0.1839, allocations: 11.92 kB / 0.6974 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.1839, allocations: 7.438 kB / 0.6974 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.1839, allocations: 0 / 0.6974 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/0.2093, allocations: 1.543 MB / 0.6989 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.653/8.863, allocations: 18.22 kB / 0.6989 GB, free: 15.38 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.541618605144322] Failed to read output from testmodel.py, exit status != 0: 8.94671442778781 8.97104866 8.789469592 Calling exit ...