Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 179.1 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4941/0.4941, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 221.3 MB / 348.3 MB, free: 452 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008438/0.0008437, allocations: 101.2 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.278e-05/3.28e-05, allocations: 4 kB / 0.4897 GB, free: 5.305 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3948, allocations: 72.29 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.5282, allocations: 103.2 MB / 0.6611 GB, free: 1.062 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.5285, allocations: 104.8 kB / 0.6612 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004999/0.5335, allocations: 2.137 MB / 0.6633 GB, free: 14.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.058e-05/0.5335, allocations: 4 kB / 0.6633 GB, free: 14.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.5335, allocations: 0 / 0.6633 GB, free: 14.83 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.0002616/0.5338, allocations: 318.6 kB / 0.6636 GB, free: 14.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.5339, allocations: 22.06 kB / 0.6636 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.5339, allocations: 3.953 kB / 0.6636 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.5341, allocations: 159.1 kB / 0.6637 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.5341, allocations: 0 / 0.6637 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.5341, allocations: 11.98 kB / 0.6638 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.965e-05/0.5342, allocations: 33.64 kB / 0.6638 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.5342, allocations: 4 kB / 0.6638 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.5342, allocations: 0 / 0.6638 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.5342, allocations: 0 / 0.6638 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.176e-05/0.5342, allocations: 7.953 kB / 0.6638 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.5347, allocations: 464.5 kB / 0.6642 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.467e-05/0.5348, allocations: 177.1 kB / 0.6644 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.5348, allocations: 80.14 kB / 0.6645 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.5348, allocations: 75.28 kB / 0.6646 GB, free: 13.33 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.5349, allocations: 113.8 kB / 0.6647 GB, free: 13.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.5349, allocations: 0 / 0.6647 GB, free: 13.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 6.913e-05/0.535, allocations: 33.66 kB / 0.6647 GB, free: 13.17 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.535, allocations: 130.7 kB / 0.6648 GB, free: 13.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.542e-05/0.5351, allocations: 92.98 kB / 0.6649 GB, free: 12.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.5352, allocations: 30.77 kB / 0.6649 GB, free: 12.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.5352, allocations: 84.14 kB / 0.665 GB, free: 12.81 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.5352, allocations: 0 / 0.665 GB, free: 12.81 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-06/0.5352, allocations: 0 / 0.665 GB, free: 12.81 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.5354, allocations: 314.8 kB / 0.6653 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.744e-06/0.5354, allocations: 0 / 0.6653 GB, free: 12.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-06/0.5354, allocations: 4 kB / 0.6653 GB, free: 12.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.646e-05/0.5354, allocations: 4 kB / 0.6653 GB, free: 12.49 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5354, allocations: 0 / 0.6653 GB, free: 12.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.401e-05/0.5355, allocations: 29.7 kB / 0.6654 GB, free: 12.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5355, allocations: 7.984 kB / 0.6654 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5355, allocations: 0 / 0.6654 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.5355, allocations: 4.938 kB / 0.6654 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.369e-05/0.5356, allocations: 0 / 0.6654 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.5356, allocations: 3.953 kB / 0.6654 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.35e-05/0.5356, allocations: 4.094 kB / 0.6654 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.5356, allocations: 0 / 0.6654 GB, free: 12.43 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.129e-05/0.5357, allocations: 184.2 kB / 0.6656 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.5358, allocations: 105 kB / 0.6657 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.5358, allocations: 104.1 kB / 0.6658 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.129e-05/0.5359, allocations: 184.9 kB / 0.6659 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.03e-05/0.536, allocations: 184.3 kB / 0.6661 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.877e-05/0.5361, allocations: 186.6 kB / 0.6663 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.5363, allocations: 405.2 kB / 0.6667 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.772e-05/0.5363, allocations: 105 kB / 0.6668 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.5364, allocations: 104.9 kB / 0.6669 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.974e-05/0.5365, allocations: 176.3 kB / 0.667 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.947e-05/0.5365, allocations: 184.2 kB / 0.6672 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-05/0.5366, allocations: 188.2 kB / 0.6674 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-05/0.5367, allocations: 176.3 kB / 0.6676 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.5368, allocations: 303.7 kB / 0.6679 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.264e-05/0.5369, allocations: 198 kB / 0.668 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.749e-05/0.537, allocations: 180.3 kB / 0.6682 GB, free: 9.332 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.999e-05/0.5371, allocations: 101 kB / 0.6683 GB, free: 9.227 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.5371, allocations: 180.2 kB / 0.6685 GB, free: 9.043 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.5372, allocations: 101.9 kB / 0.6686 GB, free: 8.938 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.361e-05/0.5372, allocations: 91.44 kB / 0.6687 GB, free: 8.848 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5372, allocations: 4 kB / 0.6687 GB, free: 8.844 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002473/0.5375, allocations: 20 kB / 0.6687 GB, free: 8.824 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003628/0.5379, allocations: 244.4 kB / 0.6689 GB, free: 8.586 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 4.835e-05/0.5379, allocations: 4 kB / 0.6689 GB, free: 8.582 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5379, allocations: 4.062 kB / 0.6689 GB, free: 8.578 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.5379, allocations: 0 / 0.6689 GB, free: 8.578 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.5382, allocations: 0.5224 MB / 0.6694 GB, free: 8.051 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.5412, allocations: 1.131 MB / 0.6705 GB, free: 6.898 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.5415, allocations: 0.6692 MB / 0.6712 GB, free: 6.203 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.764e-05/0.5415, allocations: 11.89 kB / 0.6712 GB, free: 6.191 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.5415, allocations: 7.438 kB / 0.6712 GB, free: 6.184 MB / 490.7 MB Notification: Performance of SimCode: time 4e-07/0.5415, allocations: 4 kB / 0.6712 GB, free: 6.18 MB / 490.7 MB Notification: Performance of Templates: time 0.002571/0.5441, allocations: 0.6584 MB / 0.6719 GB, free: 5.562 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)