Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_10_Buildings.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.00166/0.00166, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001616/0.001616, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.499/1.499, allocations: 222.9 MB / 240.6 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.763/2.763, allocations: 437.1 MB / 0.7107 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.89 kB / 0.8695 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7352/0.7372, allocations: 151.6 MB / 1.018 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00198/0.7392, allocations: 0.6443 MB / 1.018 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.7407, allocations: 0.9992 MB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.605e-05/0.7407, allocations: 0 / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.7408, allocations: 0 / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000747/0.7415, allocations: 87.84 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.01e-05/0.7416, allocations: 4 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.555e-05/0.7416, allocations: 7.984 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.7417, allocations: 4 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.113e-05/0.7417, allocations: 4 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.7419, allocations: 47.88 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.742, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.7422, allocations: 79.86 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.7422, allocations: 11.98 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.689e-05/0.7422, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.7423, allocations: 47.95 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7423, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7423, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.7424, allocations: 3.984 kB / 1.019 GB, free: 0.7617 MB / 0.7637 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.0003947/0.7428, allocations: 333.5 kB / 1.02 GB, free: 400 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.7428, allocations: 15.98 kB / 1.02 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.7428, allocations: 12.81 kB / 1.02 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.743, allocations: 160.4 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.743, allocations: 384 / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.743, allocations: 4.375 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.636e-05/0.7431, allocations: 29.83 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.7431, allocations: 0 / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.7432, allocations: 7.922 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.7432, allocations: 0 / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.02e-05/0.7432, allocations: 8 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.7437, allocations: 460.6 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.7438, allocations: 173.2 kB / 1.021 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.7439, allocations: 80.14 kB / 1.021 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.7439, allocations: 83.22 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.84e-05/0.744, allocations: 109.8 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.744, allocations: 0 / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.74e-05/0.7441, allocations: 29.69 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.7442, allocations: 134.7 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.7443, allocations: 97.86 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.7443, allocations: 25.7 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.7444, allocations: 91.98 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.7444, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.7444, allocations: 13.72 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.7446, allocations: 322.8 kB / 1.022 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.467e-06/0.7446, allocations: 0 / 1.022 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-06/0.7446, allocations: 7.938 kB / 1.022 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.36e-05/0.7446, allocations: 4.859 kB / 1.022 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7446, allocations: 64 / 1.022 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001032/0.7447, allocations: 37.7 kB / 1.022 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.7448, allocations: 4 kB / 1.022 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.7448, allocations: 0 / 1.022 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.7448, allocations: 0 / 1.022 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.459e-05/0.7448, allocations: 0 / 1.022 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.7448, allocations: 3.984 kB / 1.022 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.546e-05/0.7448, allocations: 4 kB / 1.022 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.7448, allocations: 0 / 1.022 GB, free: 14.31 MB / 0.7794 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.0001231/0.745, allocations: 189.6 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.834e-05/0.745, allocations: 112.9 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.626e-05/0.7451, allocations: 108.1 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.195e-05/0.7452, allocations: 184.2 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-05/0.7453, allocations: 180.2 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.39e-05/0.7454, allocations: 176.3 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.7457, allocations: 417.1 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-05/0.7458, allocations: 104.9 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.59e-05/0.7458, allocations: 104.9 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.012e-05/0.7459, allocations: 180.4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.598e-05/0.746, allocations: 180.3 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.843e-05/0.7461, allocations: 188.2 kB / 1.024 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.519e-05/0.7462, allocations: 180.2 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.7464, allocations: 303.7 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.7465, allocations: 190 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.7466, allocations: 180.2 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-05/0.7467, allocations: 105 kB / 1.025 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.258e-05/0.7468, allocations: 180.2 kB / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.969e-05/0.7469, allocations: 109 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.7469, allocations: 83.28 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7469, allocations: 0 / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002696/0.7472, allocations: 19.98 kB / 1.025 GB, free: 10.68 MB / 0.7794 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.0004316/0.7477, allocations: 230.3 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.408e-05/0.7477, allocations: 7.938 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7477, allocations: 0 / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.7477, allocations: 0 / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.7482, allocations: 471.4 kB / 1.026 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/0.7486, allocations: 229 kB / 1.026 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.7489, allocations: 0.6729 MB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.749, allocations: 11.38 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.749, allocations: 0 / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of Templates: time 0.002572/0.7516, allocations: 0.8773 MB / 1.027 GB, free: 8.156 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)