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.001371/0.001371, allocations: 92.22 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.001661/0.001661, allocations: 173 kB / 23.02 MB, free: 1.547 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.9223/0.9223, 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.001626/0.001626, allocations: 240.9 kB / 260.2 MB, free: 12.81 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.6689/0.6689, 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.783e-06/1.783e-06, allocations: 0 / 0.5552 GB, free: 456 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/2.021e-05, allocations: 2.312 kB / 0.5552 GB, free: 452 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00145/0.00147, allocations: 0.5869 MB / 0.5558 GB, free: 15.85 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.002827, allocations: 1.046 MB / 0.5568 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.002852, allocations: 0 / 0.5568 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.228e-05/0.002874, allocations: 0 / 0.5568 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006719/0.003546, allocations: 83.77 kB / 0.5569 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.826e-05/0.003584, allocations: 7.938 kB / 0.5569 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.546e-05/0.00364, allocations: 19.91 kB / 0.5569 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.649e-05/0.003676, allocations: 0 / 0.5569 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.092e-05/0.003707, allocations: 4 kB / 0.5569 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.003903, allocations: 31.97 kB / 0.5569 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.003914, allocations: 0 / 0.5569 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.004092, allocations: 79.84 kB / 0.557 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.004101, allocations: 0 / 0.557 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.607e-05/0.004117, allocations: 0 / 0.557 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.0043, allocations: 95.7 kB / 0.5571 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.004302, allocations: 0 / 0.5571 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.004303, allocations: 0 / 0.5571 GB, free: 14.47 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.004307, allocations: 0 / 0.5571 GB, free: 14.47 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.000307/0.004614, allocations: 356.5 kB / 0.5574 GB, free: 14.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.004653, allocations: 12.03 kB / 0.5574 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.004694, allocations: 8.938 kB / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.54e-05/0.004789, allocations: 116.6 kB / 0.5576 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.0048, allocations: 384 / 0.5576 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.004808, allocations: 384 / 0.5576 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.871e-05/0.004886, allocations: 34.19 kB / 0.5576 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.004893, allocations: 192 / 0.5576 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.004904, allocations: 8.125 kB / 0.5576 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.004911, allocations: 0 / 0.5576 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.287e-05/0.004924, allocations: 0 / 0.5576 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.005297, allocations: 478.2 kB / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.005398, allocations: 277.4 kB / 0.5583 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.005437, allocations: 130.8 kB / 0.5585 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.005468, allocations: 119.2 kB / 0.5586 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/0.005521, allocations: 156.5 kB / 0.5587 GB, free: 12.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.005522, allocations: 0 / 0.5587 GB, free: 12.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 6.561e-05/0.005588, allocations: 29.7 kB / 0.5587 GB, free: 12.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.005656, allocations: 174.6 kB / 0.5589 GB, free: 12.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.005767, allocations: 157.9 kB / 0.5591 GB, free: 12.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.005778, allocations: 25.7 kB / 0.5591 GB, free: 12.26 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.00583, allocations: 134.8 kB / 0.5592 GB, free: 12.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.005833, allocations: 7.938 kB / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.005866, allocations: 15.38 kB / 0.5592 GB, free: 12.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.006003, allocations: 0.4922 MB / 0.5597 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.006014, allocations: 0 / 0.5597 GB, free: 11.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-06/0.00602, allocations: 0 / 0.5597 GB, free: 11.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.228e-05/0.006052, allocations: 15.72 kB / 0.5597 GB, free: 11.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006054, allocations: 0 / 0.5597 GB, free: 11.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001033/0.006158, allocations: 33.64 kB / 0.5598 GB, free: 11.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.006172, allocations: 6.812 kB / 0.5598 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.006178, allocations: 4 kB / 0.5598 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.006192, allocations: 4.094 kB / 0.5598 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.839e-05/0.00621, allocations: 3.984 kB / 0.5598 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.006217, allocations: 3.938 kB / 0.5598 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.006234, allocations: 4 kB / 0.5598 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.006239, allocations: 0 / 0.5598 GB, free: 11.5 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 0.000105/0.006344, allocations: 275.8 kB / 0.5601 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/0.006412, allocations: 149 kB / 0.5602 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.697e-05/0.006469, allocations: 156 kB / 0.5603 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.351e-05/0.006543, allocations: 276 kB / 0.5606 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.035e-05/0.006613, allocations: 264.1 kB / 0.5609 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.405e-05/0.006687, allocations: 276 kB / 0.5611 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.006894, allocations: 491.9 kB / 0.5616 GB, free: 9.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.444e-05/0.006938, allocations: 152.9 kB / 0.5617 GB, free: 9.414 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.00698, allocations: 148.8 kB / 0.5619 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.107e-05/0.007051, allocations: 264.1 kB / 0.5621 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.786e-05/0.007149, allocations: 276 kB / 0.5624 GB, free: 8.719 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.19e-05/0.007221, allocations: 264.1 kB / 0.5626 GB, free: 8.453 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.298e-05/0.007294, allocations: 268 kB / 0.5629 GB, free: 8.184 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.007448, allocations: 444 kB / 0.5633 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.007496, allocations: 156.8 kB / 0.5635 GB, free: 7.562 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.996e-05/0.007576, allocations: 272 kB / 0.5637 GB, free: 7.289 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.353e-05/0.00766, allocations: 156.8 kB / 0.5639 GB, free: 7.129 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.62e-05/0.007736, allocations: 268.1 kB / 0.5641 GB, free: 6.859 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.007777, allocations: 145.2 kB / 0.5643 GB, free: 6.711 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.868e-05/0.007826, allocations: 123.2 kB / 0.5644 GB, free: 6.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.007826, allocations: 0 / 0.5644 GB, free: 6.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002849/0.008111, allocations: 27.86 kB / 0.5644 GB, free: 6.562 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.0003495/0.00846, allocations: 286.3 kB / 0.5647 GB, free: 6.285 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.338e-05/0.008534, allocations: 15.7 kB / 0.5647 GB, free: 6.266 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.008537, allocations: 4 kB / 0.5647 GB, free: 6.262 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.008539, allocations: 0 / 0.5647 GB, free: 6.262 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.008948, allocations: 0.7062 MB / 0.5654 GB, free: 5.551 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.009345, allocations: 260.4 kB / 0.5657 GB, free: 5.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.848e-05/0.009383, allocations: 51.36 kB / 0.5657 GB, free: 5.199 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.637e-05/0.00941, allocations: 11.81 kB / 0.5657 GB, free: 5.191 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.009434, allocations: 8.5 kB / 0.5657 GB, free: 5.184 MB / 490.7 MB Notification: Performance of SimCode: time 7.21e-07/0.009435, allocations: 0 / 0.5657 GB, free: 5.184 MB / 490.7 MB Notification: Performance of Templates: time 0.003246/0.01268, allocations: 0.8538 MB / 0.5666 GB, free: 4.379 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.471685567870736]