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.000927/0.000927, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009932/0.0009932, allocations: 165 kB / 23.01 MB, free: 1.551 MB / 18.57 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 0.9577/0.9577, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.00163/0.00163, allocations: 242.1 kB / 260.2 MB, free: 12.82 MB / 250.7 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 0.7287/0.7287, allocations: 138.4 MB / 455.2 MB, free: 1.527 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.5552 GB, free: 460 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.681e-05, allocations: 2.312 kB / 0.5552 GB, free: 456 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001055/0.001071, allocations: 0.5909 MB / 0.5558 GB, free: 15.85 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009651/0.002036, allocations: 1.034 MB / 0.5568 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.002055, allocations: 3.938 kB / 0.5568 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.002075, allocations: 3.938 kB / 0.5568 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004777/0.002553, allocations: 83.77 kB / 0.5569 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.679e-05/0.00258, allocations: 11.94 kB / 0.5569 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.032e-05/0.00262, allocations: 7.938 kB / 0.5569 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.17e-05/0.002652, allocations: 0 / 0.5569 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.509e-05/0.002677, allocations: 7.984 kB / 0.5569 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.002831, allocations: 31.97 kB / 0.5569 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.002843, allocations: 4 kB / 0.5569 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.002976, allocations: 79.84 kB / 0.557 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.125e-06/0.002984, allocations: 0 / 0.557 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.753e-05/0.003002, allocations: 7.984 kB / 0.557 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.003131, allocations: 83.72 kB / 0.5571 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.003133, allocations: 0 / 0.5571 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003133, allocations: 0 / 0.5571 GB, free: 14.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.003137, allocations: 0 / 0.5571 GB, free: 14.48 MB / 490.7 MB 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.0002439/0.003381, allocations: 364.5 kB / 0.5574 GB, free: 14.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.003411, allocations: 8.031 kB / 0.5574 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.003445, allocations: 4.938 kB / 0.5574 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.574e-05/0.003521, allocations: 116.5 kB / 0.5576 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.003531, allocations: 384 / 0.5576 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.00354, allocations: 384 / 0.5576 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.185e-05/0.003601, allocations: 30.27 kB / 0.5576 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.00361, allocations: 192 / 0.5576 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.003619, allocations: 8.109 kB / 0.5576 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.003625, allocations: 3.938 kB / 0.5576 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.036e-05/0.003636, allocations: 0 / 0.5576 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.003927, allocations: 486.2 kB / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.135e-05/0.003998, allocations: 269.4 kB / 0.5583 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.004028, allocations: 126.9 kB / 0.5584 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.004053, allocations: 119.2 kB / 0.5585 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.004093, allocations: 164.5 kB / 0.5587 GB, free: 12.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.004094, allocations: 0 / 0.5587 GB, free: 12.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 4.594e-05/0.00414, allocations: 25.7 kB / 0.5587 GB, free: 12.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.004184, allocations: 170.6 kB / 0.5589 GB, free: 12.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.265e-05/0.004267, allocations: 165.9 kB / 0.5591 GB, free: 12.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.854e-06/0.004275, allocations: 25.7 kB / 0.5591 GB, free: 12.26 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.004311, allocations: 130.8 kB / 0.5592 GB, free: 12.13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.004314, allocations: 4 kB / 0.5592 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.004338, allocations: 27.31 kB / 0.5592 GB, free: 12.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.004438, allocations: 492.1 kB / 0.5597 GB, free: 11.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.687e-06/0.004447, allocations: 3.984 kB / 0.5597 GB, free: 11.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-06/0.004453, allocations: 3.938 kB / 0.5597 GB, free: 11.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.098e-05/0.004474, allocations: 11.72 kB / 0.5597 GB, free: 11.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.004476, allocations: 4 kB / 0.5597 GB, free: 11.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.292e-05/0.004559, allocations: 33.64 kB / 0.5598 GB, free: 11.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.004568, allocations: 8 kB / 0.5598 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.004572, allocations: 4.094 kB / 0.5598 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.004585, allocations: 0 / 0.5598 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.307e-05/0.004598, allocations: 0 / 0.5598 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.004602, allocations: 0 / 0.5598 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.779e-06/0.004612, allocations: 4 kB / 0.5598 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.004616, allocations: 4 kB / 0.5598 GB, free: 11.51 MB / 490.7 MB 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 7.45e-05/0.004691, allocations: 279.8 kB / 0.56 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.004734, allocations: 152.8 kB / 0.5602 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.004776, allocations: 152.2 kB / 0.5603 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-05/0.004829, allocations: 272 kB / 0.5606 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003109/0.00514, allocations: 272.1 kB / 0.5609 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.579e-05/0.005196, allocations: 268.1 kB / 0.5611 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.005351, allocations: 499.8 kB / 0.5616 GB, free: 9.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-05/0.005381, allocations: 144.9 kB / 0.5617 GB, free: 9.422 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.002e-05/0.005411, allocations: 152.8 kB / 0.5619 GB, free: 9.266 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.067e-05/0.005462, allocations: 268.1 kB / 0.5621 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.469e-05/0.005516, allocations: 276 kB / 0.5624 GB, free: 8.719 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.801e-05/0.005564, allocations: 264.1 kB / 0.5626 GB, free: 8.453 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.133e-05/0.005616, allocations: 268.1 kB / 0.5629 GB, free: 8.184 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.005722, allocations: 444 kB / 0.5633 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.005758, allocations: 152.8 kB / 0.5635 GB, free: 7.566 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/0.005821, allocations: 276 kB / 0.5637 GB, free: 7.289 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.966e-05/0.00587, allocations: 144.9 kB / 0.5639 GB, free: 7.141 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.005929, allocations: 272 kB / 0.5641 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.00596, allocations: 149.2 kB / 0.5643 GB, free: 6.715 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.289e-05/0.005993, allocations: 123.2 kB / 0.5644 GB, free: 6.594 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005993, allocations: 0 / 0.5644 GB, free: 6.594 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001787/0.006171, allocations: 19.94 kB / 0.5644 GB, free: 6.574 MB / 490.7 MB 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.0002754/0.006447, allocations: 285 kB / 0.5647 GB, free: 6.301 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.867e-05/0.006505, allocations: 19.64 kB / 0.5647 GB, free: 6.277 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006507, allocations: 0 / 0.5647 GB, free: 6.277 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.006508, allocations: 0 / 0.5647 GB, free: 6.277 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.006783, allocations: 0.714 MB / 0.5654 GB, free: 5.559 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.007069, allocations: 261.4 kB / 0.5656 GB, free: 5.273 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.976e-05/0.007099, allocations: 51.36 kB / 0.5657 GB, free: 5.203 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.808e-05/0.007117, allocations: 4.062 kB / 0.5657 GB, free: 5.199 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.566e-05/0.007133, allocations: 12.5 kB / 0.5657 GB, free: 5.188 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.007133, allocations: 0 / 0.5657 GB, free: 5.188 MB / 490.7 MB Notification: Performance of Templates: time 0.002058/0.009192, allocations: 0.7227 MB / 0.5664 GB, free: 4.516 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5840767808258533]