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.001794/0.001794, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00209/0.00209, allocations: 221 kB / 23.03 MB, free: 4.945 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.8666/0.8666, allocations: 134 MB / 447.2 MB, free: 9.945 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="cs",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="cs",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.001872/0.001872, allocations: 61.28 kB / 0.6193 GB, free: 6.914 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1895, allocations: 85.91 MB / 0.7032 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002135/0.1917, allocations: 0.5604 MB / 0.7037 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.1933, allocations: 0.9996 MB / 0.7047 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.004e-05/0.1933, allocations: 0 / 0.7047 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.1934, allocations: 0 / 0.7047 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007825/0.1941, allocations: 91.77 kB / 0.7048 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.578e-05/0.1942, allocations: 19.94 kB / 0.7048 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.782e-05/0.1942, allocations: 4 kB / 0.7048 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.1943, allocations: 3.984 kB / 0.7048 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.971e-05/0.1943, allocations: 7.984 kB / 0.7048 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.1945, allocations: 35.91 kB / 0.7049 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.1945, allocations: 0 / 0.7049 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.1947, allocations: 71.92 kB / 0.7049 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.1947, allocations: 0 / 0.7049 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.732e-05/0.1947, allocations: 3.984 kB / 0.7049 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.1949, allocations: 68.09 kB / 0.705 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1949, allocations: 8 kB / 0.705 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1949, allocations: 0 / 0.705 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.1949, allocations: 0 / 0.705 GB, free: 15.21 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.0003224/0.1952, allocations: 262.1 kB / 0.7053 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1952, allocations: 12.03 kB / 0.7053 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.61e-05/0.1953, allocations: 192 / 0.7053 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.002e-05/0.1953, allocations: 38.67 kB / 0.7053 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.191e-05/0.1953, allocations: 0.9375 kB / 0.7053 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.1954, allocations: 114.3 kB / 0.7054 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.1954, allocations: 0 / 0.7054 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-06/0.1954, allocations: 0 / 0.7054 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.905e-05/0.1955, allocations: 33.7 kB / 0.7055 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.1955, allocations: 0 / 0.7055 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.1955, allocations: 0 / 0.7055 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1955, allocations: 0 / 0.7055 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.933e-05/0.1955, allocations: 7.922 kB / 0.7055 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.1959, allocations: 362.5 kB / 0.7058 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.529e-05/0.196, allocations: 173.2 kB / 0.706 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.749e-05/0.1961, allocations: 80.14 kB / 0.706 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.1961, allocations: 75.28 kB / 0.7061 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.686e-05/0.1961, allocations: 113.8 kB / 0.7062 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1961, allocations: 4 kB / 0.7062 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 6.709e-05/0.1962, allocations: 25.7 kB / 0.7063 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.1963, allocations: 126.7 kB / 0.7064 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.595e-05/0.1964, allocations: 105.8 kB / 0.7065 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.1964, allocations: 29.7 kB / 0.7065 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.1964, allocations: 88.08 kB / 0.7066 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.1965, allocations: 0 / 0.7066 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.1965, allocations: 13.72 kB / 0.7066 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1966, allocations: 314.8 kB / 0.7069 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/0.1966, allocations: 0 / 0.7069 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-06/0.1966, allocations: 4 kB / 0.7069 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.633e-05/0.1967, allocations: 12.8 kB / 0.7069 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1967, allocations: 0 / 0.7069 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001015/0.1968, allocations: 37.69 kB / 0.707 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1968, allocations: 4 kB / 0.707 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1968, allocations: 0 / 0.707 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1968, allocations: 3.938 kB / 0.707 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.379e-05/0.1968, allocations: 0 / 0.707 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-06/0.1968, allocations: 0 / 0.707 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.452e-05/0.1968, allocations: 3.938 kB / 0.707 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.1968, allocations: 8.094 kB / 0.707 GB, free: 13 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.0001157/0.1969, allocations: 185.1 kB / 0.7072 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-05/0.197, allocations: 108.9 kB / 0.7073 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.047e-05/0.1971, allocations: 108.1 kB / 0.7074 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.817e-05/0.1972, allocations: 176.3 kB / 0.7075 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-05/0.1972, allocations: 188.2 kB / 0.7077 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.165e-05/0.1973, allocations: 180.2 kB / 0.7079 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/0.1976, allocations: 388.2 kB / 0.7082 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.604e-05/0.1976, allocations: 101 kB / 0.7083 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.1977, allocations: 104.9 kB / 0.7084 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.666e-05/0.1978, allocations: 188.2 kB / 0.7086 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.559e-05/0.1978, allocations: 180.5 kB / 0.7088 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.498e-05/0.1979, allocations: 184.2 kB / 0.709 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.954e-05/0.198, allocations: 184.3 kB / 0.7091 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.1982, allocations: 311.7 kB / 0.7094 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.1982, allocations: 101 kB / 0.7095 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.099e-05/0.1983, allocations: 184.2 kB / 0.7097 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.511e-05/0.1984, allocations: 101 kB / 0.7098 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-05/0.1985, allocations: 184.1 kB / 0.71 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.489e-05/0.1985, allocations: 113 kB / 0.7101 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.545e-05/0.1986, allocations: 87.28 kB / 0.7102 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1986, allocations: 0 / 0.7102 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002654/0.1988, allocations: 15.94 kB / 0.7102 GB, free: 9.508 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.000707/0.1996, allocations: 0.865 MB / 0.711 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.186e-05/0.1996, allocations: 4 kB / 0.711 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.1996, allocations: 0 / 0.711 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.1996, allocations: 4.062 kB / 0.711 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.2, allocations: 463.6 kB / 0.7115 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005469/0.2006, allocations: 233.7 kB / 0.7117 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.204e-05/0.2006, allocations: 63.2 kB / 0.7118 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.2006, allocations: 4 kB / 0.7118 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.2007, allocations: 11.38 kB / 0.7118 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.2007, allocations: 0 / 0.7118 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.2242, allocations: 1.674 MB / 0.7134 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11, allocations: 5.781 kB / 0.7134 GB, free: 6.301 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.683558051008731] Failed to read output from testmodel.py, exit status != 0: 11.156752478913404 11.172149115 10.974345977 Calling exit ...