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.001041/0.001041, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.008118/0.008118, allocations: 168.8 kB / 16.26 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.382/1.382, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.541/1.541, allocations: 252 MB / 0.5105 GB, free: 4.629 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.0005569/0.000557, allocations: 16 kB / 0.6249 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4643/0.4649, allocations: 106.3 MB / 0.7288 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.000797/0.4657, allocations: 311.7 kB / 0.7291 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.4672, allocations: 0.9866 MB / 0.73 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.809e-05/0.4672, allocations: 0 / 0.73 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.4672, allocations: 4 kB / 0.73 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007549/0.468, allocations: 79.78 kB / 0.7301 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.852e-05/0.4681, allocations: 11.98 kB / 0.7301 GB, free: 9.875 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.255e-05/0.4681, allocations: 4 kB / 0.7301 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.243e-05/0.4682, allocations: 0 / 0.7301 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.034e-05/0.4682, allocations: 4 kB / 0.7301 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.4685, allocations: 33.38 kB / 0.7302 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.4685, allocations: 3.938 kB / 0.7302 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.4687, allocations: 91.84 kB / 0.7302 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.4687, allocations: 3.984 kB / 0.7302 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.4688, allocations: 25.7 kB / 0.7303 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.469, allocations: 71.84 kB / 0.7303 GB, free: 9.637 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.469, allocations: 0 / 0.7303 GB, free: 9.637 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.338e-06/0.469, allocations: 4 kB / 0.7303 GB, free: 9.633 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.469, allocations: 0 / 0.7303 GB, free: 9.633 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.0003462/0.4693, allocations: 337.4 kB / 0.7307 GB, free: 9.258 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.4694, allocations: 8.031 kB / 0.7307 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.4694, allocations: 4.938 kB / 0.7307 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.4696, allocations: 160.4 kB / 0.7308 GB, free: 9.051 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.4696, allocations: 384 / 0.7308 GB, free: 9.051 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/0.4696, allocations: 384 / 0.7308 GB, free: 9.051 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.208e-05/0.4697, allocations: 37.81 kB / 0.7309 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.4697, allocations: 0 / 0.7309 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.4697, allocations: 0 / 0.7309 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4697, allocations: 0 / 0.7309 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.06e-05/0.4698, allocations: 11.94 kB / 0.7309 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.4702, allocations: 464.6 kB / 0.7313 GB, free: 8.473 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.238e-05/0.4702, allocations: 169.1 kB / 0.7315 GB, free: 8.297 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.019e-05/0.4703, allocations: 84.17 kB / 0.7316 GB, free: 8.211 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.4703, allocations: 79.28 kB / 0.7316 GB, free: 8.133 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.4704, allocations: 105.8 kB / 0.7317 GB, free: 8.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.4704, allocations: 0 / 0.7317 GB, free: 8.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.132e-05/0.4704, allocations: 33.62 kB / 0.7318 GB, free: 7.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.4705, allocations: 126.7 kB / 0.7319 GB, free: 7.844 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.258e-05/0.4706, allocations: 101.9 kB / 0.732 GB, free: 7.734 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.4706, allocations: 25.7 kB / 0.732 GB, free: 7.703 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.4707, allocations: 91.98 kB / 0.7321 GB, free: 7.609 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.4707, allocations: 0 / 0.7321 GB, free: 7.609 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.4707, allocations: 9.719 kB / 0.7321 GB, free: 7.594 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.4708, allocations: 322.8 kB / 0.7324 GB, free: 7.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.4708, allocations: 4 kB / 0.7324 GB, free: 7.266 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.69e-06/0.4708, allocations: 0 / 0.7324 GB, free: 7.266 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.837e-05/0.4709, allocations: 12.8 kB / 0.7324 GB, free: 7.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.4709, allocations: 0 / 0.7324 GB, free: 7.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001037/0.471, allocations: 33.77 kB / 0.7325 GB, free: 7.211 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.471, allocations: 4 kB / 0.7325 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.471, allocations: 0 / 0.7325 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.471, allocations: 7.938 kB / 0.7325 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.674e-05/0.4711, allocations: 0 / 0.7325 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.4711, allocations: 3.984 kB / 0.7325 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.388e-05/0.4711, allocations: 3.938 kB / 0.7325 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.4711, allocations: 4 kB / 0.7325 GB, free: 7.188 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 8.667e-05/0.4712, allocations: 193.1 kB / 0.7327 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.4713, allocations: 108.9 kB / 0.7328 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.223e-05/0.4713, allocations: 104.1 kB / 0.7329 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.173e-05/0.4714, allocations: 176.3 kB / 0.733 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-05/0.4715, allocations: 192.2 kB / 0.7332 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-05/0.4715, allocations: 176.3 kB / 0.7334 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.4718, allocations: 413.1 kB / 0.7338 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.663e-05/0.4718, allocations: 105 kB / 0.7339 GB, free: 5.641 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.4718, allocations: 101 kB / 0.734 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.398e-05/0.4719, allocations: 180.2 kB / 0.7342 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/0.472, allocations: 180.5 kB / 0.7343 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.856e-05/0.4721, allocations: 184.2 kB / 0.7345 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.536e-05/0.4721, allocations: 188.3 kB / 0.7347 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.4723, allocations: 307.7 kB / 0.735 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-05/0.4724, allocations: 182.1 kB / 0.7352 GB, free: 4.262 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.121e-05/0.4725, allocations: 184.2 kB / 0.7353 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.4726, allocations: 105 kB / 0.7354 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-05/0.4727, allocations: 180.2 kB / 0.7356 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.4727, allocations: 101 kB / 0.7357 GB, free: 3.676 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.347e-05/0.4728, allocations: 87.27 kB / 0.7358 GB, free: 3.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4728, allocations: 0 / 0.7358 GB, free: 3.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002695/0.473, allocations: 20 kB / 0.7358 GB, free: 3.57 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.0004432/0.4735, allocations: 234.1 kB / 0.736 GB, free: 3.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.543e-05/0.4736, allocations: 4 kB / 0.736 GB, free: 3.336 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4736, allocations: 0 / 0.736 GB, free: 3.336 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.4736, allocations: 3.938 kB / 0.736 GB, free: 3.332 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.474, allocations: 0.5303 MB / 0.7365 GB, free: 2.797 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.4744, allocations: 198 kB / 0.7367 GB, free: 2.574 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.4746, allocations: 0.677 MB / 0.7374 GB, free: 1.871 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.334e-05/0.4747, allocations: 3.938 kB / 0.7374 GB, free: 1.867 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.4747, allocations: 7.438 kB / 0.7374 GB, free: 1.859 MB / 0.545 GB Notification: Performance of SimCode: time 8.31e-07/0.4747, allocations: 4 kB / 0.7374 GB, free: 1.855 MB / 0.545 GB Notification: Performance of Templates: time 0.002839/0.4775, allocations: 0.643 MB / 0.738 GB, free: 1.258 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: