Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001374/0.001374, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001526/0.001526, allocations: 219.9 kB / 23.01 MB, free: 4.609 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002703/0.002703, allocations: 290.8 kB / 313.5 MB, free: 2.84 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.229/1.229, allocations: 180.6 MB / 0.5377 GB, free: 13.04 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002945/0.002945, allocations: 110.7 kB / 0.7409 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1981, allocations: 95.38 MB / 0.834 GB, free: 8.164 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002055/0.2002, allocations: 0.5794 MB / 0.8346 GB, free: 7.582 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.2017, allocations: 1.024 MB / 0.8356 GB, free: 6.543 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.2017, allocations: 0 / 0.8356 GB, free: 6.543 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.2017, allocations: 0 / 0.8356 GB, free: 6.543 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0007526/0.2025, allocations: 107.7 kB / 0.8357 GB, free: 6.438 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 3.537e-05/0.2025, allocations: 11.94 kB / 0.8357 GB, free: 6.426 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 5.286e-05/0.2026, allocations: 3.984 kB / 0.8357 GB, free: 6.422 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 5.5e-05/0.2026, allocations: 11.98 kB / 0.8357 GB, free: 6.41 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.2027, allocations: 0 / 0.8357 GB, free: 6.41 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.2029, allocations: 35.97 kB / 0.8357 GB, free: 6.375 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.2029, allocations: 0 / 0.8357 GB, free: 6.375 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.2031, allocations: 83.91 kB / 0.8358 GB, free: 6.293 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 9.227e-06/0.2031, allocations: 0 / 0.8358 GB, free: 6.293 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.2031, allocations: 3.938 kB / 0.8358 GB, free: 6.289 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.2033, allocations: 79.78 kB / 0.8359 GB, free: 6.211 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2033, allocations: 0 / 0.8359 GB, free: 6.211 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2033, allocations: 0 / 0.8359 GB, free: 6.211 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.2033, allocations: 4 kB / 0.8359 GB, free: 6.207 MB / 0.5763 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.0004044/0.2038, allocations: 257 kB / 0.8362 GB, free: 5.93 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.2038, allocations: 12.62 kB / 0.8362 GB, free: 5.918 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.2038, allocations: 4.875 kB / 0.8362 GB, free: 5.914 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.204, allocations: 110.5 kB / 0.8363 GB, free: 5.781 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.204, allocations: 8.359 kB / 0.8363 GB, free: 5.773 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.204, allocations: 384 / 0.8363 GB, free: 5.773 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.2041, allocations: 33.83 kB / 0.8363 GB, free: 5.734 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2041, allocations: 4 kB / 0.8363 GB, free: 5.73 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.2041, allocations: 0 / 0.8363 GB, free: 5.73 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.2041, allocations: 0 / 0.8363 GB, free: 5.73 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.901e-05/0.2041, allocations: 4 kB / 0.8363 GB, free: 5.727 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.2046, allocations: 362.5 kB / 0.8367 GB, free: 5.328 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.2047, allocations: 169.1 kB / 0.8368 GB, free: 5.152 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.392e-05/0.2047, allocations: 84.14 kB / 0.8369 GB, free: 5.066 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.2048, allocations: 79.27 kB / 0.837 GB, free: 4.988 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.193e-05/0.2048, allocations: 109.8 kB / 0.8371 GB, free: 4.871 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.2048, allocations: 4 kB / 0.8371 GB, free: 4.867 MB / 0.5763 GB Notification: Performance of matching and sorting (n=0): time 8.045e-05/0.2049, allocations: 29.64 kB / 0.8371 GB, free: 4.832 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.205, allocations: 126.7 kB / 0.8372 GB, free: 4.695 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.2051, allocations: 101.9 kB / 0.8373 GB, free: 4.586 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.2051, allocations: 29.69 kB / 0.8374 GB, free: 4.551 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.2052, allocations: 84.14 kB / 0.8375 GB, free: 4.465 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.2052, allocations: 0 / 0.8375 GB, free: 4.465 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.2052, allocations: 9.719 kB / 0.8375 GB, free: 4.449 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.2053, allocations: 314.8 kB / 0.8378 GB, free: 4.133 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-06/0.2053, allocations: 4 kB / 0.8378 GB, free: 4.129 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.2054, allocations: 0 / 0.8378 GB, free: 4.129 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.194e-05/0.2054, allocations: 16.92 kB / 0.8378 GB, free: 4.109 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2054, allocations: 3.938 kB / 0.8378 GB, free: 4.105 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000112/0.2055, allocations: 37.62 kB / 0.8378 GB, free: 4.062 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2055, allocations: 4 kB / 0.8378 GB, free: 4.059 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.2055, allocations: 4 kB / 0.8378 GB, free: 4.055 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.2055, allocations: 0 / 0.8378 GB, free: 4.055 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.599e-05/0.2055, allocations: 0 / 0.8378 GB, free: 4.055 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2056, allocations: 0 / 0.8378 GB, free: 4.055 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.364e-05/0.2056, allocations: 0 / 0.8378 GB, free: 4.055 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.2056, allocations: 4.031 kB / 0.8378 GB, free: 4.051 MB / 0.5763 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.0001177/0.2057, allocations: 189.7 kB / 0.838 GB, free: 3.855 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.349e-05/0.2058, allocations: 101 kB / 0.8381 GB, free: 3.75 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.599e-05/0.2058, allocations: 123.8 kB / 0.8382 GB, free: 3.617 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.539e-05/0.2059, allocations: 180.3 kB / 0.8384 GB, free: 3.434 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.991e-05/0.206, allocations: 184.2 kB / 0.8386 GB, free: 3.246 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.347e-05/0.2061, allocations: 180.3 kB / 0.8387 GB, free: 3.062 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.2064, allocations: 380.2 kB / 0.8391 GB, free: 2.641 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.602e-05/0.2064, allocations: 104.9 kB / 0.8392 GB, free: 2.531 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.269e-05/0.2065, allocations: 105 kB / 0.8393 GB, free: 2.422 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.2066, allocations: 180.2 kB / 0.8395 GB, free: 2.238 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.2067, allocations: 188.4 kB / 0.8397 GB, free: 2.047 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.561e-05/0.2068, allocations: 180.3 kB / 0.8398 GB, free: 1.863 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000115/0.2069, allocations: 180.2 kB / 0.84 GB, free: 1.68 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.2071, allocations: 311.7 kB / 0.8403 GB, free: 1.352 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.2071, allocations: 109 kB / 0.8404 GB, free: 1.238 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.622e-05/0.2072, allocations: 184.3 kB / 0.8406 GB, free: 1.051 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.227e-05/0.2073, allocations: 104.9 kB / 0.8407 GB, free: 0.9414 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.942e-05/0.2074, allocations: 176.3 kB / 0.8408 GB, free: 0.7617 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.297e-05/0.2075, allocations: 108.9 kB / 0.841 GB, free: 0.6484 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 5.646e-05/0.2075, allocations: 87.44 kB / 0.841 GB, free: 0.5625 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.2075, allocations: 0 / 0.841 GB, free: 0.5625 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002956/0.2078, allocations: 31.88 kB / 0.8411 GB, free: 0.5312 MB / 0.5763 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.000472/0.2083, allocations: 226 kB / 0.8413 GB, free: 316 kB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 8.236e-05/0.2084, allocations: 4 kB / 0.8413 GB, free: 312 kB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2084, allocations: 0 / 0.8413 GB, free: 312 kB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.2084, allocations: 4.062 kB / 0.8413 GB, free: 308 kB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.2088, allocations: 459.6 kB / 0.8417 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004642/0.2093, allocations: 229.9 kB / 0.8419 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.2096, allocations: 0.6729 MB / 0.8426 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.2096, allocations: 11.44 kB / 0.8426 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.2096, allocations: 0 / 0.8426 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of Templates: time 0.003125/0.2128, allocations: 0.8699 MB / 0.8435 GB, free: 14.02 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.894784211181104] Failed to read output from testmodel.py, exit status != 0: 0.22027249401435256 0.234820469 0.028561482000000003 Calling exit ...