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.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.001637/0.001637, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002034/0.002034, allocations: 217.1 kB / 22.26 MB, free: 5.125 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.988 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.8695/0.8695, allocations: 134 MB / 446.4 MB, free: 10.25 MB / 350.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.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(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: IDEAS 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.001993/0.001993, allocations: 62.41 kB / 0.6186 GB, free: 7.195 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1895, allocations: 85.91 MB / 0.7025 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001893/0.1914, allocations: 0.5565 MB / 0.703 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.1929, allocations: 1.027 MB / 0.704 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.982e-05/0.1929, allocations: 0 / 0.704 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.435e-05/0.1929, allocations: 0 / 0.704 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007028/0.1936, allocations: 91.78 kB / 0.7041 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.011e-05/0.1936, allocations: 15.98 kB / 0.7041 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.774e-05/0.1937, allocations: 7.938 kB / 0.7041 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.1937, allocations: 0 / 0.7041 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.432e-05/0.1938, allocations: 3.938 kB / 0.7042 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.194, allocations: 31.97 kB / 0.7042 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.194, allocations: 0 / 0.7042 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.1942, allocations: 79.91 kB / 0.7043 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.1942, allocations: 0 / 0.7043 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.563e-05/0.1942, allocations: 0 / 0.7043 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.1944, allocations: 80.06 kB / 0.7043 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1944, allocations: 4 kB / 0.7043 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1944, allocations: 0 / 0.7043 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.1944, allocations: 0 / 0.7043 GB, free: 15.46 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.0003424/0.1948, allocations: 260.8 kB / 0.7046 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1948, allocations: 8.031 kB / 0.7046 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.057e-05/0.1949, allocations: 38.75 kB / 0.7046 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.1949, allocations: 4.938 kB / 0.7046 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.195, allocations: 110.5 kB / 0.7047 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.195, allocations: 11.92 kB / 0.7048 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.195, allocations: 4 kB / 0.7048 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.281e-05/0.1951, allocations: 25.7 kB / 0.7048 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1951, allocations: 0 / 0.7048 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.1951, allocations: 0 / 0.7048 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1951, allocations: 0 / 0.7048 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.791e-05/0.1951, allocations: 4 kB / 0.7048 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.1955, allocations: 358.6 kB / 0.7051 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.1956, allocations: 177.1 kB / 0.7053 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.1957, allocations: 80.14 kB / 0.7054 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.1957, allocations: 79.27 kB / 0.7054 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.193e-05/0.1958, allocations: 105.8 kB / 0.7056 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1958, allocations: 0 / 0.7056 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.549e-05/0.1958, allocations: 37.64 kB / 0.7056 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/0.1959, allocations: 130.6 kB / 0.7057 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.661e-05/0.196, allocations: 105.8 kB / 0.7058 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.196, allocations: 25.7 kB / 0.7058 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/0.1961, allocations: 84.09 kB / 0.7059 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.428e-06/0.1961, allocations: 4 kB / 0.7059 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.1961, allocations: 13.72 kB / 0.7059 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1963, allocations: 318.8 kB / 0.7062 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.129e-05/0.1963, allocations: 4 kB / 0.7062 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-06/0.1963, allocations: 0 / 0.7062 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.825e-05/0.1963, allocations: 4.859 kB / 0.7062 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1963, allocations: 0 / 0.7062 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001241/0.1964, allocations: 41.62 kB / 0.7063 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1964, allocations: 4 kB / 0.7063 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1964, allocations: 0 / 0.7063 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1965, allocations: 96 / 0.7063 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.207e-05/0.1965, allocations: 8 kB / 0.7063 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1965, allocations: 0 / 0.7063 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.1965, allocations: 3.938 kB / 0.7063 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.1965, allocations: 0 / 0.7063 GB, free: 13.26 MB / 0.5294 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.0001049/0.1966, allocations: 185.1 kB / 0.7065 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.78e-05/0.1967, allocations: 105 kB / 0.7066 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.398e-05/0.1967, allocations: 112.1 kB / 0.7067 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.15e-05/0.1968, allocations: 180.3 kB / 0.7069 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.585e-05/0.1969, allocations: 188.2 kB / 0.707 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-05/0.197, allocations: 184.2 kB / 0.7072 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.1972, allocations: 368.3 kB / 0.7076 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.783e-05/0.1973, allocations: 108.9 kB / 0.7077 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.652e-05/0.1973, allocations: 105 kB / 0.7078 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.491e-05/0.1974, allocations: 180.2 kB / 0.7079 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.32e-05/0.1975, allocations: 184.4 kB / 0.7081 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.733e-05/0.1976, allocations: 184.3 kB / 0.7083 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-05/0.1977, allocations: 184.2 kB / 0.7085 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.1979, allocations: 311.7 kB / 0.7088 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-05/0.1979, allocations: 105 kB / 0.7089 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.795e-05/0.198, allocations: 180.3 kB / 0.709 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.1981, allocations: 104.9 kB / 0.7091 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.356e-05/0.1982, allocations: 180.2 kB / 0.7093 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/0.1983, allocations: 116.9 kB / 0.7094 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.381e-05/0.1983, allocations: 91.44 kB / 0.7095 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1983, allocations: 0 / 0.7095 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002861/0.1986, allocations: 19.94 kB / 0.7095 GB, free: 9.758 MB / 0.5294 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.0007744/0.1994, allocations: 0.8579 MB / 0.7104 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.966e-05/0.1995, allocations: 11.92 kB / 0.7104 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1995, allocations: 0 / 0.7104 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.1995, allocations: 0 / 0.7104 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.1999, allocations: 463.7 kB / 0.7108 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005482/0.2004, allocations: 225.8 kB / 0.711 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.2007, allocations: 0.6805 MB / 0.7117 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.187e-05/0.2007, allocations: 0 / 0.7117 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.2008, allocations: 19.38 kB / 0.7117 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.2008, allocations: 4 kB / 0.7117 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.2303, allocations: 1.604 MB / 0.7133 GB, free: 6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.74, allocations: 11.25 kB / 0.7133 GB, free: 5.992 MB / 0.5294 GB " [Timeout remaining time 648] (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: 15.388087559957057] Failed to read output from testmodel.py, exit status != 0: 11.84598271897994 11.862916856 11.664871413 Calling exit ...