Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.000974/0.0009741, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001023/0.001023, allocations: 193.8 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.5/1.5, allocations: 251.7 MB / 0.5088 GB, free: 3.289 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 67.91 kB / 0.6216 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.471/0.4724, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002392/0.4748, allocations: 0.6317 MB / 0.7245 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.4763, allocations: 1.006 MB / 0.7254 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.532e-05/0.4763, allocations: 0 / 0.7254 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.4764, allocations: 0 / 0.7254 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007566/0.4771, allocations: 71.84 kB / 0.7255 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.771e-05/0.4772, allocations: 8 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.542e-05/0.4772, allocations: 8 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.4773, allocations: 0 / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.817e-05/0.4773, allocations: 7.984 kB / 0.7255 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.4776, allocations: 35.91 kB / 0.7256 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.4776, allocations: 0 / 0.7256 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.4778, allocations: 87.84 kB / 0.7257 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.4778, allocations: 0 / 0.7257 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.4778, allocations: 4 kB / 0.7257 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.478, allocations: 67.91 kB / 0.7257 GB, free: 11.19 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.478, allocations: 4 kB / 0.7257 GB, free: 11.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.767e-06/0.4781, allocations: 0 / 0.7257 GB, free: 11.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.4781, allocations: 7.938 kB / 0.7257 GB, free: 11.18 MB / 0.545 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.0004144/0.4785, allocations: 329.5 kB / 0.7261 GB, free: 10.81 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.4785, allocations: 8.031 kB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.4786, allocations: 4.938 kB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.4787, allocations: 168.4 kB / 0.7262 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.4787, allocations: 384 / 0.7262 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.4787, allocations: 384 / 0.7262 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.071e-05/0.4788, allocations: 41.77 kB / 0.7263 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.4788, allocations: 4 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.4788, allocations: 0 / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4789, allocations: 3.938 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.4789, allocations: 0 / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.4793, allocations: 464.6 kB / 0.7267 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.372e-05/0.4794, allocations: 165.1 kB / 0.7269 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.4795, allocations: 92.06 kB / 0.727 GB, free: 9.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.4795, allocations: 79.31 kB / 0.727 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.4795, allocations: 109.8 kB / 0.7271 GB, free: 9.555 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.4795, allocations: 0 / 0.7271 GB, free: 9.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.86e-05/0.4796, allocations: 25.7 kB / 0.7272 GB, free: 9.523 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.4797, allocations: 126.7 kB / 0.7273 GB, free: 9.387 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.702e-05/0.4798, allocations: 109.8 kB / 0.7274 GB, free: 9.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.4798, allocations: 25.7 kB / 0.7274 GB, free: 9.238 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.4799, allocations: 91.98 kB / 0.7275 GB, free: 9.145 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-06/0.4799, allocations: 3.984 kB / 0.7275 GB, free: 9.141 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.4799, allocations: 13.72 kB / 0.7275 GB, free: 9.121 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.458e-05/0.48, allocations: 314.8 kB / 0.7278 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.071e-05/0.48, allocations: 3.938 kB / 0.7278 GB, free: 8.801 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-06/0.48, allocations: 0 / 0.7278 GB, free: 8.801 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.861e-05/0.4801, allocations: 12.92 kB / 0.7278 GB, free: 8.785 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4801, allocations: 0 / 0.7278 GB, free: 8.785 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001079/0.4802, allocations: 37.69 kB / 0.7279 GB, free: 8.742 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.4802, allocations: 8 kB / 0.7279 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4802, allocations: 3.938 kB / 0.7279 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.4802, allocations: 0 / 0.7279 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.938e-05/0.4803, allocations: 0 / 0.7279 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4803, allocations: 0 / 0.7279 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.578e-05/0.4803, allocations: 0 / 0.7279 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.4803, allocations: 8.031 kB / 0.7279 GB, free: 8.723 MB / 0.545 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 9.072e-05/0.4804, allocations: 189 kB / 0.7281 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.4805, allocations: 101 kB / 0.7282 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.79e-05/0.4805, allocations: 108.1 kB / 0.7283 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.755e-05/0.4806, allocations: 188.2 kB / 0.7285 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.505e-05/0.4806, allocations: 184.3 kB / 0.7286 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.948e-05/0.4807, allocations: 180.2 kB / 0.7288 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.4809, allocations: 409.2 kB / 0.7292 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-05/0.4809, allocations: 101 kB / 0.7293 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.628e-05/0.481, allocations: 104.9 kB / 0.7294 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.908e-05/0.481, allocations: 176.3 kB / 0.7296 GB, free: 6.895 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/0.4811, allocations: 192.4 kB / 0.7297 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-05/0.4811, allocations: 176.3 kB / 0.7299 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.407e-05/0.4812, allocations: 180.3 kB / 0.7301 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.4813, allocations: 311.7 kB / 0.7304 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.4814, allocations: 194 kB / 0.7306 GB, free: 5.793 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.619e-05/0.4815, allocations: 180.3 kB / 0.7307 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.4815, allocations: 105 kB / 0.7308 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.4816, allocations: 180.2 kB / 0.731 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.4816, allocations: 109 kB / 0.7311 GB, free: 5.203 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.81e-05/0.4817, allocations: 75.28 kB / 0.7312 GB, free: 5.129 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4817, allocations: 0 / 0.7312 GB, free: 5.129 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002563/0.482, allocations: 24 kB / 0.7312 GB, free: 5.105 MB / 0.545 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.0003711/0.4823, allocations: 233.5 kB / 0.7314 GB, free: 4.875 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.749e-05/0.4824, allocations: 7.938 kB / 0.7314 GB, free: 4.867 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4824, allocations: 0 / 0.7314 GB, free: 4.867 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.246e-06/0.4824, allocations: 64 / 0.7314 GB, free: 4.867 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.4828, allocations: 0.5301 MB / 0.732 GB, free: 4.332 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.4832, allocations: 201.9 kB / 0.7321 GB, free: 4.105 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.4836, allocations: 0.6731 MB / 0.7328 GB, free: 3.406 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.584e-05/0.4836, allocations: 7.906 kB / 0.7328 GB, free: 3.398 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/0.4837, allocations: 11.44 kB / 0.7328 GB, free: 3.387 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.4837, allocations: 0 / 0.7328 GB, free: 3.387 MB / 0.545 GB Notification: Performance of Templates: time 0.00301/0.4867, allocations: 0.6497 MB / 0.7335 GB, free: 2.785 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)