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.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.001286/0.001286, allocations: 118.2 kB / 17.13 MB, free: 5.781 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.001299/0.001299, allocations: 194.1 kB / 20.08 MB, free: 2.871 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.465/1.465, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002591/0.002591, allocations: 284.2 kB / 303.6 MB, free: 3.762 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.071/1.071, allocations: 180.9 MB / 0.5268 GB, free: 2.648 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: 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: Performance of FrontEnd - loaded program: time 0.002816/0.002816, allocations: 95.84 kB / 0.726 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.54/0.5428, allocations: 94.16 MB / 0.8179 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001617/0.5444, allocations: 0.5745 MB / 0.8185 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.5454, allocations: 0.9986 MB / 0.8195 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.776e-05/0.5455, allocations: 0 / 0.8195 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.5455, allocations: 0 / 0.8195 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006643/0.5461, allocations: 99.78 kB / 0.8196 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.119e-05/0.5462, allocations: 15.58 kB / 0.8196 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.284e-05/0.5462, allocations: 10.91 kB / 0.8196 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.5463, allocations: 2.156 kB / 0.8196 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.69e-05/0.5463, allocations: 2 kB / 0.8196 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.5465, allocations: 36.48 kB / 0.8196 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.936e-06/0.5465, allocations: 0 / 0.8196 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.5466, allocations: 79.62 kB / 0.8197 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.5467, allocations: 1.312 kB / 0.8197 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.678e-05/0.5467, allocations: 5.594 kB / 0.8197 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.5468, allocations: 73.45 kB / 0.8198 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5468, allocations: 3.938 kB / 0.8198 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5468, allocations: 4 kB / 0.8198 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.5468, allocations: 0 / 0.8198 GB, free: 6.219 MB / 0.5762 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.0002423/0.5471, allocations: 335.3 kB / 0.8201 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.5471, allocations: 9.25 kB / 0.8201 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/0.5471, allocations: 5.875 kB / 0.8201 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.603e-05/0.5472, allocations: 161.9 kB / 0.8203 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.5472, allocations: 1.531 kB / 0.8203 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.5472, allocations: 384 / 0.8203 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.032e-05/0.5473, allocations: 43.69 kB / 0.8203 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.5473, allocations: 0 / 0.8203 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-06/0.5473, allocations: 3.938 kB / 0.8203 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.5473, allocations: 0 / 0.8203 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.727e-05/0.5473, allocations: 10.41 kB / 0.8203 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/0.5476, allocations: 465.5 kB / 0.8208 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.253e-05/0.5477, allocations: 182 kB / 0.8209 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.385e-05/0.5477, allocations: 80.14 kB / 0.821 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.5477, allocations: 76.12 kB / 0.8211 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.5477, allocations: 106.9 kB / 0.8212 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.5477, allocations: 0 / 0.8212 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 5.819e-05/0.5478, allocations: 30.42 kB / 0.8212 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.5478, allocations: 131.4 kB / 0.8213 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.267e-05/0.5479, allocations: 102.3 kB / 0.8214 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.639e-06/0.5479, allocations: 27.14 kB / 0.8215 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.856e-05/0.5479, allocations: 84.09 kB / 0.8215 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.5479, allocations: 0 / 0.8215 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.5479, allocations: 12.12 kB / 0.8216 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.027e-05/0.5479, allocations: 320.3 kB / 0.8219 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.388e-06/0.548, allocations: 1.219 kB / 0.8219 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-06/0.548, allocations: 4.906 kB / 0.8219 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.166e-05/0.548, allocations: 10.5 kB / 0.8219 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.548, allocations: 0 / 0.8219 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.907e-05/0.5481, allocations: 35.48 kB / 0.8219 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.5481, allocations: 5.969 kB / 0.8219 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.5481, allocations: 0 / 0.8219 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.5481, allocations: 0.875 kB / 0.8219 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.484e-05/0.5481, allocations: 0 / 0.8219 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.5481, allocations: 0.75 kB / 0.8219 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.56e-05/0.5481, allocations: 12.12 kB / 0.8219 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.5481, allocations: 0 / 0.8219 GB, free: 3.852 MB / 0.5762 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 4.651e-05/0.5482, allocations: 186.9 kB / 0.8221 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.5482, allocations: 110.1 kB / 0.8222 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.5483, allocations: 105.1 kB / 0.8223 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/0.5483, allocations: 178 kB / 0.8225 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.628e-05/0.5483, allocations: 188.6 kB / 0.8227 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.18e-05/0.5483, allocations: 177.2 kB / 0.8228 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.5484, allocations: 411.1 kB / 0.8232 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.5485, allocations: 102 kB / 0.8233 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.345e-05/0.5485, allocations: 102 kB / 0.8234 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.247e-05/0.5485, allocations: 189.2 kB / 0.8236 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/0.5486, allocations: 176.3 kB / 0.8238 GB, free: 17.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.784e-05/0.5487, allocations: 187 kB / 0.824 GB, free: 17.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.889e-05/0.5488, allocations: 180.9 kB / 0.8241 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.549, allocations: 310.4 kB / 0.8244 GB, free: 17.17 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.5491, allocations: 192.7 kB / 0.8246 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.968e-05/0.5492, allocations: 181.9 kB / 0.8248 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.243e-05/0.5493, allocations: 102.8 kB / 0.8249 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.451e-05/0.5494, allocations: 180.7 kB / 0.825 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/0.5494, allocations: 109.9 kB / 0.8252 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.78e-05/0.5495, allocations: 84.12 kB / 0.8252 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5495, allocations: 4 kB / 0.8252 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002581/0.5497, allocations: 19.25 kB / 0.8253 GB, free: 16.29 MB / 0.5919 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.0003823/0.5501, allocations: 230.2 kB / 0.8255 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.347e-05/0.5502, allocations: 2.469 kB / 0.8255 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5502, allocations: 4.062 kB / 0.8255 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.345e-06/0.5502, allocations: 4.547 kB / 0.8255 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.5506, allocations: 465 kB / 0.8259 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.551, allocations: 227.6 kB / 0.8261 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.5513, allocations: 0.6774 MB / 0.8268 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.5513, allocations: 9.906 kB / 0.8268 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.5513, allocations: 0 / 0.8268 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of Templates: time 0.002483/0.5538, allocations: 0.8604 MB / 0.8277 GB, free: 14.64 MB / 0.5919 GB " [Timeout remaining time 659] 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: 9.306300000986084] Failed to read output from testmodel.py, exit status != 0: 0.561232821084559 0.5728808830000001 0.023044850000000002 Calling exit ...