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) 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/Modelica 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) 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009857/0.0009857, allocations: 99.12 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 183.1 kB / 16.92 MB, free: 6.754 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.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6844/0.6844, allocations: 115.4 MB / 407.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003409, allocations: 12 kB / 495.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1281, allocations: 77.5 MB / 0.5598 GB, free: 9.137 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.000622/0.1288, allocations: 292.8 kB / 0.5601 GB, free: 8.852 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1301, allocations: 1.007 MB / 0.5611 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.151e-05/0.1301, allocations: 0 / 0.5611 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.277e-05/0.1301, allocations: 0 / 0.5611 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006199/0.1307, allocations: 83.86 kB / 0.5612 GB, free: 7.746 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.441e-05/0.1308, allocations: 7.984 kB / 0.5612 GB, free: 7.738 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.32e-05/0.1308, allocations: 8 kB / 0.5612 GB, free: 7.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.1309, allocations: 0 / 0.5612 GB, free: 7.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.591e-05/0.1309, allocations: 11.88 kB / 0.5612 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.1311, allocations: 32.62 kB / 0.5612 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.175e-06/0.1311, allocations: 0 / 0.5612 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.1313, allocations: 87.89 kB / 0.5613 GB, free: 7.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.677e-06/0.1313, allocations: 4 kB / 0.5613 GB, free: 7.598 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.1313, allocations: 29.64 kB / 0.5613 GB, free: 7.562 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.1315, allocations: 67.91 kB / 0.5614 GB, free: 7.496 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1315, allocations: 4 kB / 0.5614 GB, free: 7.492 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1315, allocations: 0 / 0.5614 GB, free: 7.492 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.135e-06/0.1315, allocations: 0 / 0.5614 GB, free: 7.492 MB / 430.1 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.0002672/0.1318, allocations: 335.8 kB / 0.5617 GB, free: 7.117 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.1318, allocations: 12.03 kB / 0.5617 GB, free: 7.105 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.159e-05/0.1318, allocations: 0.9375 kB / 0.5618 GB, free: 7.105 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.1319, allocations: 168.4 kB / 0.5619 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.132, allocations: 384 / 0.5619 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.132, allocations: 4.375 kB / 0.5619 GB, free: 6.898 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.872e-05/0.132, allocations: 33.77 kB / 0.5619 GB, free: 6.859 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.02e-06/0.1321, allocations: 0 / 0.5619 GB, free: 6.859 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.1321, allocations: 4 kB / 0.562 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1321, allocations: 0 / 0.562 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.665e-05/0.1321, allocations: 4 kB / 0.562 GB, free: 6.852 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.1325, allocations: 468.5 kB / 0.5624 GB, free: 6.324 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.446e-05/0.1325, allocations: 177.1 kB / 0.5626 GB, free: 6.141 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.1326, allocations: 84.14 kB / 0.5627 GB, free: 6.055 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.1326, allocations: 83.2 kB / 0.5627 GB, free: 5.973 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.1327, allocations: 105.8 kB / 0.5628 GB, free: 5.859 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.1327, allocations: 0 / 0.5628 GB, free: 5.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.874e-05/0.1327, allocations: 25.7 kB / 0.5629 GB, free: 5.828 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.1328, allocations: 134.7 kB / 0.563 GB, free: 5.684 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.653e-05/0.1329, allocations: 97.84 kB / 0.5631 GB, free: 5.578 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1329, allocations: 33.64 kB / 0.5631 GB, free: 5.539 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.1329, allocations: 80.14 kB / 0.5632 GB, free: 5.457 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-06/0.1329, allocations: 0 / 0.5632 GB, free: 5.457 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.133, allocations: 17.66 kB / 0.5632 GB, free: 5.434 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.1331, allocations: 318.8 kB / 0.5635 GB, free: 5.113 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.144e-06/0.1331, allocations: 0 / 0.5635 GB, free: 5.113 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.099e-06/0.1331, allocations: 0 / 0.5635 GB, free: 5.113 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.13e-05/0.1331, allocations: 8.859 kB / 0.5635 GB, free: 5.102 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1331, allocations: 4.062 kB / 0.5635 GB, free: 5.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001/0.1332, allocations: 33.69 kB / 0.5636 GB, free: 5.059 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1333, allocations: 8 kB / 0.5636 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1333, allocations: 0 / 0.5636 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.1333, allocations: 0 / 0.5636 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.196e-05/0.1333, allocations: 0 / 0.5636 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1333, allocations: 3.938 kB / 0.5636 GB, free: 5.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.304e-05/0.1333, allocations: 0 / 0.5636 GB, free: 5.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.1333, allocations: 0 / 0.5636 GB, free: 5.047 MB / 430.1 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 8.105e-05/0.1334, allocations: 201.1 kB / 0.5638 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.1335, allocations: 101 kB / 0.5639 GB, free: 4.734 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.838e-05/0.1335, allocations: 108.1 kB / 0.564 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.854e-05/0.1336, allocations: 184.2 kB / 0.5641 GB, free: 4.438 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.719e-05/0.1336, allocations: 176.4 kB / 0.5643 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.086e-05/0.1337, allocations: 192.2 kB / 0.5645 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.1339, allocations: 409.1 kB / 0.5649 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.877e-05/0.134, allocations: 101 kB / 0.565 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.134, allocations: 104.9 kB / 0.5651 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-05/0.1341, allocations: 180.3 kB / 0.5652 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-05/0.1341, allocations: 188.2 kB / 0.5654 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.784e-05/0.1342, allocations: 184.2 kB / 0.5656 GB, free: 2.828 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.742e-05/0.1342, allocations: 184.2 kB / 0.5658 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.1344, allocations: 307.7 kB / 0.5661 GB, free: 2.316 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.119e-05/0.1344, allocations: 189.9 kB / 0.5662 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.665e-05/0.1345, allocations: 184.3 kB / 0.5664 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.1346, allocations: 101 kB / 0.5665 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.1347, allocations: 180.2 kB / 0.5667 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.1347, allocations: 113.2 kB / 0.5668 GB, free: 1.512 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.332e-05/0.1347, allocations: 79.27 kB / 0.5669 GB, free: 1.434 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1348, allocations: 0 / 0.5669 GB, free: 1.434 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.135, allocations: 20 kB / 0.5669 GB, free: 1.414 MB / 430.1 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.0003103/0.1353, allocations: 237.8 kB / 0.5671 GB, free: 1.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.264e-05/0.1354, allocations: 7.938 kB / 0.5671 GB, free: 1.172 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1354, allocations: 0 / 0.5671 GB, free: 1.172 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.1354, allocations: 0 / 0.5671 GB, free: 1.172 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.1357, allocations: 0.53 MB / 0.5676 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.136, allocations: 201.3 kB / 0.5678 GB, free: 428 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.1363, allocations: 0.6692 MB / 0.5685 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.494e-05/0.1363, allocations: 8 kB / 0.5685 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.883e-05/0.1363, allocations: 7.438 kB / 0.5685 GB, free: 15.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1363, allocations: 0 / 0.5685 GB, free: 15.71 MB / 446.1 MB Notification: Performance of Templates: time 0.002537/0.1389, allocations: 0.6555 MB / 0.5691 GB, free: 15.09 MB / 446.1 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)