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.0008841/0.0008841, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001188/0.001188, allocations: 181 kB / 23.36 MB, free: 1.133 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.9334/0.9334, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.001639/0.001639, allocations: 245.6 kB / 260.5 MB, free: 12.69 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.6768/0.6768, allocations: 138.4 MB / 402.2 MB, free: 0.582 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.793e-06/1.793e-06, allocations: 0 / 462.4 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.914e-05, allocations: 3.734 kB / 462.4 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002227/0.002256, allocations: 0.5926 MB / 463 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.00382, allocations: 1.041 MB / 464 MB, free: 15.84 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.115e-05/0.003842, allocations: 1.125 kB / 464 MB, free: 15.84 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.003857, allocations: 0 / 464 MB, free: 15.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007291/0.004586, allocations: 85.81 kB / 464.1 MB, free: 15.81 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.887e-05/0.004635, allocations: 18.59 kB / 464.1 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.95e-05/0.004684, allocations: 4.766 kB / 464.1 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.00473, allocations: 8.891 kB / 464.1 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.004764, allocations: 3.594 kB / 464.1 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.004971, allocations: 30.67 kB / 464.2 MB, free: 15.79 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.004982, allocations: 0 / 464.2 MB, free: 15.79 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.005187, allocations: 81.77 kB / 464.3 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.005197, allocations: 1.25 kB / 464.3 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.353e-05/0.005211, allocations: 1.766 kB / 464.3 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.005404, allocations: 87.59 kB / 464.3 MB, free: 15.74 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.005408, allocations: 0.5 kB / 464.3 MB, free: 15.74 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005409, allocations: 0.75 kB / 464.3 MB, free: 15.74 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.005414, allocations: 1.25 kB / 464.3 MB, free: 15.74 MB / 426.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.0002839/0.005698, allocations: 238.7 kB / 464.6 MB, free: 15.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.005736, allocations: 9.938 kB / 464.6 MB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.005763, allocations: 1.812 kB / 464.6 MB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.005868, allocations: 108.8 kB / 464.7 MB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.005879, allocations: 1.594 kB / 464.7 MB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.005889, allocations: 384 / 464.7 MB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.684e-05/0.005955, allocations: 32.27 kB / 464.7 MB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.005963, allocations: 2.594 kB / 464.7 MB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.00597, allocations: 4.125 kB / 464.7 MB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.005975, allocations: 0 / 464.7 MB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.049e-05/0.005986, allocations: 5.562 kB / 464.7 MB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.006276, allocations: 296.4 kB / 465 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.796e-05/0.006354, allocations: 173.1 kB / 465.2 MB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.006381, allocations: 84.08 kB / 465.3 MB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.006408, allocations: 77.95 kB / 465.4 MB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.006453, allocations: 107 kB / 465.5 MB, free: 14.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.006454, allocations: 1.844 kB / 465.5 MB, free: 14.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 6.534e-05/0.006519, allocations: 35.81 kB / 465.5 MB, free: 14.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.006578, allocations: 126.7 kB / 465.6 MB, free: 14.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.946e-05/0.006668, allocations: 103 kB / 465.7 MB, free: 14.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.006681, allocations: 29.7 kB / 465.8 MB, free: 14.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.006719, allocations: 88.34 kB / 465.8 MB, free: 14.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.006721, allocations: 1.094 kB / 465.8 MB, free: 14.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.006759, allocations: 13.25 kB / 465.9 MB, free: 14.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.434e-05/0.006853, allocations: 318.1 kB / 466.2 MB, free: 13.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.006863, allocations: 2.016 kB / 466.2 MB, free: 13.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-06/0.006869, allocations: 1 kB / 466.2 MB, free: 13.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.558e-05/0.006895, allocations: 10.11 kB / 466.2 MB, free: 13.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.006897, allocations: 0 / 466.2 MB, free: 13.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.108e-05/0.006978, allocations: 31.64 kB / 466.2 MB, free: 13.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.006992, allocations: 6.656 kB / 466.2 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.006998, allocations: 3.938 kB / 466.2 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.007011, allocations: 2.75 kB / 466.2 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.585e-05/0.007027, allocations: 0.5625 kB / 466.2 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.007031, allocations: 3.938 kB / 466.2 MB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.754e-05/0.007049, allocations: 3.625 kB / 466.2 MB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.007054, allocations: 0.9844 kB / 466.2 MB, free: 13.81 MB / 426.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.689e-05/0.007131, allocations: 187 kB / 466.4 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.007187, allocations: 102.7 kB / 466.5 MB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.768e-05/0.007234, allocations: 110.3 kB / 466.6 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-05/0.007288, allocations: 186.1 kB / 466.8 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.648e-05/0.007345, allocations: 181.5 kB / 467 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.429e-05/0.007399, allocations: 182.8 kB / 467.2 MB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.007578, allocations: 317.6 kB / 467.5 MB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.34e-05/0.007611, allocations: 103 kB / 467.6 MB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.007648, allocations: 108.7 kB / 467.7 MB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.201e-05/0.0077, allocations: 178.5 kB / 467.8 MB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.688e-05/0.007757, allocations: 183.5 kB / 468 MB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.692e-05/0.007814, allocations: 183 kB / 468.2 MB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.413e-05/0.007868, allocations: 188.2 kB / 468.4 MB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.007999, allocations: 302.5 kB / 468.7 MB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.008043, allocations: 109.2 kB / 468.8 MB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.782e-05/0.00811, allocations: 179.5 kB / 469 MB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/0.00819, allocations: 108 kB / 469.1 MB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.008255, allocations: 186 kB / 469.3 MB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.008293, allocations: 109.5 kB / 469.4 MB, free: 10.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.291e-05/0.008316, allocations: 10.92 kB / 469.4 MB, free: 10.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008316, allocations: 0 / 469.4 MB, free: 10.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002908/0.008607, allocations: 20.16 kB / 469.4 MB, free: 10.56 MB / 426.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.0004251/0.009032, allocations: 229.2 kB / 469.6 MB, free: 10.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.42e-05/0.009086, allocations: 9.297 kB / 469.6 MB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.009091, allocations: 1.312 kB / 469.6 MB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.745e-06/0.009094, allocations: 2.562 kB / 469.6 MB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.00937, allocations: 463.4 kB / 470.1 MB, free: 9.938 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.009758, allocations: 204.6 kB / 470.3 MB, free: 9.742 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.22e-05/0.009801, allocations: 54.03 kB / 470.3 MB, free: 9.672 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.12e-05/0.009832, allocations: 3.688 kB / 470.3 MB, free: 9.672 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.009874, allocations: 53.36 kB / 470.4 MB, free: 9.625 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/0.009874, allocations: 2.531 kB / 470.4 MB, free: 9.625 MB / 426.7 MB Notification: Performance of Templates: time 0.003583/0.01346, allocations: 0.867 MB / 471.3 MB, free: 9.52 MB / 426.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.4042973360046744]