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.00183/0.00183, allocations: 77.88 kB / 19.02 MB, free: 2.859 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.001543/0.001543, allocations: 158.5 kB / 22.26 MB, free: 5.117 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.413/1.413, allocations: 177.2 MB / 202.6 MB, free: 9.266 MB / 190.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.00243/0.00243, allocations: 233.7 kB / 259.3 MB, free: 0.5898 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.081/1.081, allocations: 138.5 MB / 454.2 MB, free: 2.016 MB / 366.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.003097/0.003097, allocations: 99.86 kB / 0.6467 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3574, allocations: 95.36 MB / 0.7398 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001693/0.3591, allocations: 0.5724 MB / 0.7403 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.3605, allocations: 1.018 MB / 0.7413 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.582e-05/0.3605, allocations: 0 / 0.7413 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.425e-05/0.3605, allocations: 0 / 0.7413 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006829/0.3612, allocations: 99.77 kB / 0.7414 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.728e-05/0.3613, allocations: 11.94 kB / 0.7414 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.038e-05/0.3613, allocations: 7.938 kB / 0.7414 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.3613, allocations: 0 / 0.7414 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.874e-05/0.3614, allocations: 11.97 kB / 0.7415 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.3616, allocations: 27.97 kB / 0.7415 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.584e-06/0.3616, allocations: 4 kB / 0.7415 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.3617, allocations: 75.92 kB / 0.7416 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.3617, allocations: 3.984 kB / 0.7416 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.526e-05/0.3618, allocations: 3.938 kB / 0.7416 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.3619, allocations: 71.7 kB / 0.7416 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3619, allocations: 3.938 kB / 0.7416 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3619, allocations: 0 / 0.7416 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.3619, allocations: 0 / 0.7416 GB, free: 13.12 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.0003157/0.3622, allocations: 259.8 kB / 0.7419 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.3623, allocations: 8.625 kB / 0.7419 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.3623, allocations: 0.9375 kB / 0.7419 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.3624, allocations: 114.5 kB / 0.742 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.3624, allocations: 4.375 kB / 0.742 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.3624, allocations: 384 / 0.742 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.858e-05/0.3625, allocations: 37.81 kB / 0.742 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.3625, allocations: 0 / 0.742 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.3625, allocations: 0 / 0.742 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.3625, allocations: 3.938 kB / 0.7421 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.57e-05/0.3625, allocations: 0 / 0.7421 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.3629, allocations: 339.1 kB / 0.7424 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.363, allocations: 177 kB / 0.7425 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.923e-05/0.363, allocations: 84.14 kB / 0.7426 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.3631, allocations: 75.28 kB / 0.7427 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.235e-05/0.3631, allocations: 113.8 kB / 0.7428 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.3631, allocations: 0 / 0.7428 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.062e-05/0.3632, allocations: 33.59 kB / 0.7428 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.3633, allocations: 126.7 kB / 0.743 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3634, allocations: 105.8 kB / 0.7431 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.3634, allocations: 25.7 kB / 0.7431 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.3634, allocations: 80.14 kB / 0.7432 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.3634, allocations: 0 / 0.7432 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.3635, allocations: 17.72 kB / 0.7432 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3636, allocations: 314.8 kB / 0.7435 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-06/0.3636, allocations: 0 / 0.7435 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.335e-06/0.3636, allocations: 4 kB / 0.7435 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.343e-05/0.3636, allocations: 8.859 kB / 0.7435 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.3636, allocations: 3.938 kB / 0.7435 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.968e-05/0.3637, allocations: 37.64 kB / 0.7435 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.3637, allocations: 4 kB / 0.7435 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.3638, allocations: 0 / 0.7435 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.3638, allocations: 4.094 kB / 0.7435 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.348e-05/0.3638, allocations: 0 / 0.7435 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.3638, allocations: 0 / 0.7435 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.222e-05/0.3638, allocations: 11.94 kB / 0.7435 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/0.3638, allocations: 3.984 kB / 0.7436 GB, free: 10.98 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 0.0001058/0.3639, allocations: 185.1 kB / 0.7437 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.578e-05/0.364, allocations: 108.9 kB / 0.7438 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.77e-05/0.364, allocations: 111.9 kB / 0.7439 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.771e-05/0.3641, allocations: 176.3 kB / 0.7441 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.752e-05/0.3642, allocations: 188.2 kB / 0.7443 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.3e-05/0.3643, allocations: 180.3 kB / 0.7445 GB, free: 10 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.3645, allocations: 360.8 kB / 0.7448 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.132e-05/0.3646, allocations: 105 kB / 0.7449 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.3646, allocations: 105 kB / 0.745 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.54e-05/0.3647, allocations: 184.2 kB / 0.7452 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/0.3648, allocations: 176.3 kB / 0.7453 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.991e-05/0.3649, allocations: 184.1 kB / 0.7455 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.242e-05/0.3649, allocations: 184.2 kB / 0.7457 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.3651, allocations: 315.9 kB / 0.746 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.3652, allocations: 109 kB / 0.7461 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.216e-05/0.3653, allocations: 184.2 kB / 0.7463 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.297e-05/0.3653, allocations: 109 kB / 0.7464 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/0.3654, allocations: 184.2 kB / 0.7466 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.3655, allocations: 105.1 kB / 0.7467 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.119e-05/0.3655, allocations: 83.27 kB / 0.7467 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.3655, allocations: 0 / 0.7467 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000255/0.3658, allocations: 23.92 kB / 0.7468 GB, free: 7.504 MB / 0.5762 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.0003538/0.3661, allocations: 228.8 kB / 0.747 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 5.392e-05/0.3662, allocations: 0 / 0.747 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3662, allocations: 0 / 0.747 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.3662, allocations: 0 / 0.747 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.3666, allocations: 470 kB / 0.7474 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.3669, allocations: 196.2 kB / 0.7476 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.667e-05/0.367, allocations: 51.36 kB / 0.7477 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.522e-05/0.367, allocations: 8.062 kB / 0.7477 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.367, allocations: 8.5 kB / 0.7477 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.367, allocations: 0 / 0.7477 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of Templates: time 0.003017/0.3701, allocations: 0.6908 MB / 0.7484 GB, free: 5.871 MB / 0.5762 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 sys.exit(0), Time elapsed: 5.736491227522492] Failed to read output from testmodel.py, exit status != 0: 0.3780582807958126 0.392268717 0.027357974 Calling exit ...