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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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=500,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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 114.2 kB / 17.33 MB, free: 5.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 197.8 kB / 18.33 MB, free: 4.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 244.8 MB, free: 13.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.867/0.867, allocations: 128.4 MB / 426.1 MB, free: 7.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 71.89 kB / 0.5912 GB, free: 21.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1542, allocations: 83.26 MB / 0.6725 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001781/0.156, allocations: 0.5665 MB / 0.6731 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.1573, allocations: 1.003 MB / 0.6741 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.733e-05/0.1574, allocations: 0 / 0.6741 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.1574, allocations: 3.938 kB / 0.6741 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006942/0.1581, allocations: 91.77 kB / 0.6741 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.831e-05/0.1581, allocations: 15.94 kB / 0.6742 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.07e-05/0.1581, allocations: 7.984 kB / 0.6742 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.1582, allocations: 4 kB / 0.6742 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.924e-05/0.1582, allocations: 7.938 kB / 0.6742 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.1584, allocations: 31.97 kB / 0.6742 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.1584, allocations: 0 / 0.6742 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.1586, allocations: 83.91 kB / 0.6743 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.985e-06/0.1586, allocations: 0 / 0.6743 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.1586, allocations: 3.938 kB / 0.6743 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.1588, allocations: 75.84 kB / 0.6744 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1588, allocations: 0 / 0.6744 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1588, allocations: 0 / 0.6744 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.1588, allocations: 0 / 0.6744 GB, free: 1.957 MB / 0.4981 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.0003746/0.1592, allocations: 339.3 kB / 0.6747 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.1592, allocations: 8.031 kB / 0.6747 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.1592, allocations: 0.9375 kB / 0.6747 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.1594, allocations: 176.3 kB / 0.6749 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-06/0.1594, allocations: 4.125 kB / 0.6749 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.1594, allocations: 4 kB / 0.6749 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.789e-05/0.1595, allocations: 29.64 kB / 0.6749 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1595, allocations: 0 / 0.6749 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.1595, allocations: 4 kB / 0.6749 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1595, allocations: 4 kB / 0.6749 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.506e-05/0.1595, allocations: 0 / 0.6749 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.16, allocations: 468.6 kB / 0.6754 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.518e-05/0.1601, allocations: 169.1 kB / 0.6755 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.678e-05/0.1601, allocations: 84.14 kB / 0.6756 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.1602, allocations: 75.28 kB / 0.6757 GB, free: 456 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.714e-05/0.1602, allocations: 113.8 kB / 0.6758 GB, free: 332 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.1602, allocations: 0 / 0.6758 GB, free: 332 kB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.067e-05/0.1603, allocations: 33.64 kB / 0.6758 GB, free: 292 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/0.1604, allocations: 126.7 kB / 0.6759 GB, free: 152 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.1605, allocations: 105.8 kB / 0.676 GB, free: 36 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.1605, allocations: 25.7 kB / 0.6761 GB, free: 4 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.1606, allocations: 80.14 kB / 0.6761 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.161e-06/0.1606, allocations: 4 kB / 0.6761 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.1606, allocations: 9.719 kB / 0.6762 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1608, allocations: 314.8 kB / 0.6765 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.1608, allocations: 4 kB / 0.6765 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-06/0.1608, allocations: 0 / 0.6765 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.192e-05/0.1608, allocations: 16.91 kB / 0.6765 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1608, allocations: 0 / 0.6765 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001112/0.1609, allocations: 37.64 kB / 0.6765 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1609, allocations: 4 kB / 0.6765 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1609, allocations: 0 / 0.6765 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.161, allocations: 3.938 kB / 0.6765 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.837e-05/0.161, allocations: 4 kB / 0.6765 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.161, allocations: 0 / 0.6765 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.457e-05/0.161, allocations: 192 / 0.6765 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.161, allocations: 3.938 kB / 0.6765 GB, free: 15.5 MB / 0.5137 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.000122/0.1611, allocations: 185.2 kB / 0.6767 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.246e-05/0.1612, allocations: 116.9 kB / 0.6768 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.812e-05/0.1613, allocations: 112 kB / 0.6769 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-05/0.1614, allocations: 176.3 kB / 0.6771 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.422e-05/0.1615, allocations: 180.3 kB / 0.6773 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-05/0.1615, allocations: 188.1 kB / 0.6774 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.1619, allocations: 405.2 kB / 0.6778 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.864e-05/0.1619, allocations: 108.9 kB / 0.6779 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.162, allocations: 105 kB / 0.678 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.029e-05/0.162, allocations: 180.2 kB / 0.6782 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.884e-05/0.1621, allocations: 180.5 kB / 0.6784 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.635e-05/0.1622, allocations: 184.3 kB / 0.6785 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.456e-05/0.1623, allocations: 184.2 kB / 0.6787 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.1625, allocations: 311.7 kB / 0.679 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.1626, allocations: 178.1 kB / 0.6792 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.596e-05/0.1627, allocations: 180.3 kB / 0.6794 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.11e-05/0.1628, allocations: 112.9 kB / 0.6795 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.1629, allocations: 180.2 kB / 0.6796 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/0.163, allocations: 104.9 kB / 0.6797 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.281e-05/0.163, allocations: 83.22 kB / 0.6798 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.163, allocations: 0 / 0.6798 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002862/0.1633, allocations: 19.94 kB / 0.6798 GB, free: 11.88 MB / 0.5137 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.0004541/0.1638, allocations: 241.1 kB / 0.6801 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.829e-05/0.1638, allocations: 4 kB / 0.6801 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1638, allocations: 0 / 0.6801 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.634e-06/0.1638, allocations: 64 / 0.6801 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.1643, allocations: 459.7 kB / 0.6805 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004338/0.1647, allocations: 208.1 kB / 0.6807 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.165, allocations: 0.669 MB / 0.6814 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.897e-05/0.165, allocations: 8 kB / 0.6814 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.1651, allocations: 7.438 kB / 0.6814 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.1651, allocations: 0 / 0.6814 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of Templates: time 0.003334/0.1684, allocations: 0.6751 MB / 0.682 GB, free: 9.617 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 660] (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) [Timeout 480]