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.001068/0.001068, allocations: 104.4 kB / 16.27 MB, free: 5.988 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.001065/0.001066, allocations: 194.8 kB / 17.2 MB, free: 5.617 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.296/1.296, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7499/0.7499, allocations: 126.1 MB / 417.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 68.03 kB / 0.495 GB, free: 3.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3368, allocations: 78.71 MB / 0.5719 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001689/0.3386, allocations: 0.5635 MB / 0.5724 GB, free: 31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.3396, allocations: 0.9886 MB / 0.5734 GB, free: 30.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.635e-05/0.3396, allocations: 1.156 kB / 0.5734 GB, free: 30.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.3397, allocations: 0 / 0.5734 GB, free: 30.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006077/0.3403, allocations: 99.19 kB / 0.5735 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.018e-05/0.3403, allocations: 13.91 kB / 0.5735 GB, free: 30.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.513e-05/0.3404, allocations: 3.875 kB / 0.5735 GB, free: 30.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.533e-05/0.3404, allocations: 2.875 kB / 0.5735 GB, free: 30.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.592e-05/0.3404, allocations: 11.42 kB / 0.5735 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.3406, allocations: 36.08 kB / 0.5735 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.308e-06/0.3406, allocations: 0 / 0.5735 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.3408, allocations: 73.22 kB / 0.5736 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.3408, allocations: 5.109 kB / 0.5736 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.3408, allocations: 1.156 kB / 0.5736 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.341, allocations: 78.17 kB / 0.5737 GB, free: 30.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.341, allocations: 1.828 kB / 0.5737 GB, free: 30.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.341, allocations: 0 / 0.5737 GB, free: 30.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.341, allocations: 0 / 0.5737 GB, free: 30.15 MB / 446.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.0002098/0.3412, allocations: 335.8 kB / 0.574 GB, free: 29.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.3413, allocations: 10.44 kB / 0.574 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.294e-05/0.3413, allocations: 3.469 kB / 0.574 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.631e-05/0.3414, allocations: 171.2 kB / 0.5742 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.3414, allocations: 1.344 kB / 0.5742 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.3414, allocations: 4.844 kB / 0.5742 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.898e-05/0.3415, allocations: 28.81 kB / 0.5742 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.3415, allocations: 1.453 kB / 0.5742 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.3415, allocations: 2.094 kB / 0.5742 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3415, allocations: 0 / 0.5742 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.539e-05/0.3415, allocations: 5.875 kB / 0.5742 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000263/0.3418, allocations: 466.2 kB / 0.5747 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.675e-05/0.3418, allocations: 176.3 kB / 0.5748 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.44e-05/0.3419, allocations: 84.17 kB / 0.5749 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.3419, allocations: 77 kB / 0.575 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.3419, allocations: 111.2 kB / 0.5751 GB, free: 28.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3419, allocations: 3.75 kB / 0.5751 GB, free: 28.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.37e-05/0.342, allocations: 31.78 kB / 0.5751 GB, free: 28.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.342, allocations: 127.3 kB / 0.5753 GB, free: 28.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.386e-05/0.3421, allocations: 100.7 kB / 0.5754 GB, free: 28.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.799e-06/0.3421, allocations: 26.77 kB / 0.5754 GB, free: 28.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.671e-05/0.3421, allocations: 85.95 kB / 0.5755 GB, free: 28.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.3421, allocations: 0.5938 kB / 0.5755 GB, free: 28.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/0.3421, allocations: 13.89 kB / 0.5755 GB, free: 28.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.789e-05/0.3422, allocations: 320.6 kB / 0.5758 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.3422, allocations: 2.344 kB / 0.5758 GB, free: 27.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-06/0.3422, allocations: 2.562 kB / 0.5758 GB, free: 27.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.989e-05/0.3422, allocations: 7.844 kB / 0.5758 GB, free: 27.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3422, allocations: 1.25 kB / 0.5758 GB, free: 27.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.844e-05/0.3423, allocations: 36.31 kB / 0.5758 GB, free: 27.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.3423, allocations: 5.531 kB / 0.5758 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3424, allocations: 5.922 kB / 0.5758 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.3424, allocations: 1.031 kB / 0.5758 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.281e-05/0.3424, allocations: 0 / 0.5758 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3424, allocations: 3.438 kB / 0.5758 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.317e-05/0.3424, allocations: 0 / 0.5758 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-06/0.3424, allocations: 1.219 kB / 0.5758 GB, free: 27.81 MB / 446.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 4.575e-05/0.3425, allocations: 187.5 kB / 0.576 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.3425, allocations: 112.2 kB / 0.5761 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.125e-05/0.3425, allocations: 112.7 kB / 0.5762 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.3426, allocations: 178 kB / 0.5764 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.578e-05/0.3426, allocations: 187 kB / 0.5766 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/0.3426, allocations: 178.7 kB / 0.5768 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.3427, allocations: 408.6 kB / 0.5771 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/0.3428, allocations: 106.7 kB / 0.5772 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.198e-05/0.3428, allocations: 101.8 kB / 0.5773 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-05/0.3428, allocations: 183.4 kB / 0.5775 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.3428, allocations: 178.5 kB / 0.5777 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.007e-05/0.3429, allocations: 183.1 kB / 0.5779 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.3e-05/0.3429, allocations: 187.1 kB / 0.578 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.018e-05/0.343, allocations: 311.3 kB / 0.5783 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.343, allocations: 188.8 kB / 0.5785 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.343, allocations: 182.9 kB / 0.5787 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.475e-05/0.3431, allocations: 111.8 kB / 0.5788 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.3431, allocations: 178.7 kB / 0.579 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.3431, allocations: 107.4 kB / 0.5791 GB, free: 24.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.531e-05/0.3432, allocations: 83.95 kB / 0.5792 GB, free: 24.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3432, allocations: 1.25 kB / 0.5792 GB, free: 24.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.3434, allocations: 25.38 kB / 0.5792 GB, free: 24.25 MB / 446.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.0002758/0.3437, allocations: 225.6 kB / 0.5794 GB, free: 24.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.564e-05/0.3438, allocations: 4.844 kB / 0.5794 GB, free: 24.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3438, allocations: 0 / 0.5794 GB, free: 24.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.3438, allocations: 0 / 0.5794 GB, free: 24.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.344, allocations: 460 kB / 0.5798 GB, free: 23.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.3443, allocations: 204.6 kB / 0.58 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.224e-05/0.3444, allocations: 0.6727 MB / 0.5807 GB, free: 22.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.135e-05/0.3445, allocations: 1.625 kB / 0.5807 GB, free: 22.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.574e-05/0.3445, allocations: 9.453 kB / 0.5807 GB, free: 22.73 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3445, allocations: 0 / 0.5807 GB, free: 22.73 MB / 446.1 MB Notification: Performance of Templates: time 0.002661/0.3471, allocations: 0.68 MB / 0.5814 GB, free: 22.7 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)