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.001702/0.001702, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.002101/0.002101, allocations: 219 kB / 23 MB, free: 5.004 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 / 256.8 MB, free: 8.004 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.9953/0.9953, allocations: 150 MB / 463.2 MB, free: 10.54 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="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.002215/0.002215, allocations: 62.78 kB / 0.6413 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.187, allocations: 89.17 MB / 0.7284 GB, free: 1.328 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002009/0.189, allocations: 0.5666 MB / 0.729 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.1905, allocations: 1.023 MB / 0.73 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.1905, allocations: 8 kB / 0.73 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.1905, allocations: 0 / 0.73 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008171/0.1913, allocations: 87.78 kB / 0.73 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.701e-05/0.1914, allocations: 19.92 kB / 0.7301 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.651e-05/0.1914, allocations: 4 kB / 0.7301 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.947e-05/0.1915, allocations: 0 / 0.7301 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.21e-05/0.1915, allocations: 0 / 0.7301 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.1918, allocations: 44.12 kB / 0.7301 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.1918, allocations: 0 / 0.7301 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.192, allocations: 87.84 kB / 0.7302 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.192, allocations: 11.97 kB / 0.7302 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.192, allocations: 0 / 0.7302 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.1922, allocations: 75.8 kB / 0.7303 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1922, allocations: 0 / 0.7303 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1922, allocations: 0 / 0.7303 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.1922, allocations: 3.938 kB / 0.7303 GB, free: 15.39 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.0003473/0.1925, allocations: 254.3 kB / 0.7305 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1926, allocations: 12.03 kB / 0.7305 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.1926, allocations: 34.73 kB / 0.7306 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.1927, allocations: 4.891 kB / 0.7306 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.1928, allocations: 114.5 kB / 0.7307 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.1928, allocations: 3.938 kB / 0.7307 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.1928, allocations: 0 / 0.7307 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.451e-05/0.1929, allocations: 33.64 kB / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.1929, allocations: 0 / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.1929, allocations: 0 / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1929, allocations: 0 / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.867e-05/0.1929, allocations: 0 / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.1933, allocations: 370.5 kB / 0.7311 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.32e-05/0.1934, allocations: 165.1 kB / 0.7312 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/0.1935, allocations: 88.11 kB / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.1935, allocations: 75.28 kB / 0.7314 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.848e-05/0.1936, allocations: 113.9 kB / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.1936, allocations: 0 / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.143e-05/0.1937, allocations: 25.7 kB / 0.7315 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/0.1937, allocations: 130.7 kB / 0.7316 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.1938, allocations: 101.8 kB / 0.7317 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1939, allocations: 25.7 kB / 0.7318 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.078e-05/0.1939, allocations: 80.14 kB / 0.7318 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.93e-06/0.1939, allocations: 4 kB / 0.7318 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.1939, allocations: 17.72 kB / 0.7319 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1941, allocations: 314.8 kB / 0.7322 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-06/0.1941, allocations: 0 / 0.7322 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.1941, allocations: 3.938 kB / 0.7322 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.363e-05/0.1941, allocations: 12.84 kB / 0.7322 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1941, allocations: 0 / 0.7322 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001238/0.1942, allocations: 37.66 kB / 0.7322 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1943, allocations: 16.03 kB / 0.7322 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1943, allocations: 0 / 0.7322 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1943, allocations: 3.938 kB / 0.7322 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.083e-05/0.1943, allocations: 0 / 0.7322 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1943, allocations: 0 / 0.7322 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.1943, allocations: 3.938 kB / 0.7322 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.1943, allocations: 4 kB / 0.7322 GB, free: 13.19 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 0.0001328/0.1945, allocations: 191 kB / 0.7324 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.398e-05/0.1945, allocations: 101 kB / 0.7325 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.187e-05/0.1946, allocations: 112.1 kB / 0.7326 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.318e-05/0.1947, allocations: 180.2 kB / 0.7328 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.546e-05/0.1947, allocations: 180.3 kB / 0.733 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.182e-05/0.1948, allocations: 188.1 kB / 0.7332 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.1951, allocations: 368.4 kB / 0.7335 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.595e-05/0.1951, allocations: 109 kB / 0.7336 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.886e-05/0.1952, allocations: 112.9 kB / 0.7337 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.34e-05/0.1952, allocations: 180.3 kB / 0.7339 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.896e-05/0.1953, allocations: 184.2 kB / 0.7341 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.438e-05/0.1954, allocations: 176.3 kB / 0.7342 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.622e-05/0.1955, allocations: 176.3 kB / 0.7344 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.1956, allocations: 319.7 kB / 0.7347 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.1957, allocations: 108.9 kB / 0.7348 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.679e-05/0.1958, allocations: 176.3 kB / 0.735 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.1959, allocations: 101 kB / 0.7351 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/0.1959, allocations: 196.2 kB / 0.7353 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.963e-05/0.196, allocations: 105.1 kB / 0.7354 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.949e-05/0.196, allocations: 83.27 kB / 0.7354 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.196, allocations: 0 / 0.7354 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002653/0.1963, allocations: 23.88 kB / 0.7355 GB, free: 9.691 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.0007365/0.1971, allocations: 0.862 MB / 0.7363 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.231e-05/0.1971, allocations: 8 kB / 0.7363 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1971, allocations: 0 / 0.7363 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.1971, allocations: 3.938 kB / 0.7363 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.1975, allocations: 459.7 kB / 0.7368 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/0.1981, allocations: 249.6 kB / 0.737 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.1984, allocations: 0.669 MB / 0.7376 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.8e-05/0.1984, allocations: 8 kB / 0.7377 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.1984, allocations: 7.438 kB / 0.7377 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.1984, allocations: 0 / 0.7377 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/0.2283, allocations: 1.637 MB / 0.7393 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.34, allocations: 5.875 kB / 0.7393 GB, free: 5.898 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: 15.190132540883496] Failed to read output from testmodel.py, exit status != 0: 11.43951276410371 11.455382647 11.259929497 Calling exit ...