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.GFunction_100boreholes.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.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, 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.001087/0.001087, allocations: 191.5 kB / 16.13 MB, free: 6.66 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.314/1.314, allocations: 205.1 MB / 222 MB, free: 4.734 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.458/1.458, allocations: 251.6 MB / 0.5088 GB, free: 3.34 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.002077/0.002077, allocations: 67.91 kB / 0.6216 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4017, allocations: 104.7 MB / 0.7238 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.00258/0.4043, allocations: 1.477 MB / 0.7253 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004575/0.4089, allocations: 3.274 MB / 0.7285 GB, free: 8.531 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.815e-05/0.409, allocations: 3.938 kB / 0.7285 GB, free: 8.527 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.4091, allocations: 7.922 kB / 0.7285 GB, free: 8.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.4093, allocations: 27.84 kB / 0.7285 GB, free: 8.492 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.4112, allocations: 0.7732 MB / 0.7293 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.4113, allocations: 111.6 kB / 0.7294 GB, free: 7.609 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.4114, allocations: 4 kB / 0.7294 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.768e-05/0.4115, allocations: 39.89 kB / 0.7294 GB, free: 7.566 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000273/0.4117, allocations: 220.9 kB / 0.7296 GB, free: 7.352 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.251e-05/0.4118, allocations: 12 kB / 0.7296 GB, free: 7.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.4137, allocations: 1.4 MB / 0.731 GB, free: 5.938 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006415/0.4143, allocations: 0.6797 MB / 0.7317 GB, free: 5.254 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000344/0.4147, allocations: 441 kB / 0.7321 GB, free: 4.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.4165, allocations: 1.77 MB / 0.7338 GB, free: 3.047 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4165, allocations: 4 kB / 0.7338 GB, free: 3.043 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.81e-07/0.4165, allocations: 4 kB / 0.7338 GB, free: 3.039 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.4165, allocations: 0 / 0.7338 GB, free: 3.039 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.008007/0.4245, allocations: 1.694 MB / 0.7355 GB, free: 1.285 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.253e-05/0.4246, allocations: 12.03 kB / 0.7355 GB, free: 1.273 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004148/0.425, allocations: 138.9 kB / 0.7356 GB, free: 1.137 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.4255, allocations: 0.5172 MB / 0.7361 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.4255, allocations: 12.36 kB / 0.7362 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.4256, allocations: 4.375 kB / 0.7362 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000404/0.426, allocations: 395.4 kB / 0.7365 GB, free: 140 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.426, allocations: 0 / 0.7365 GB, free: 140 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.426, allocations: 0 / 0.7365 GB, free: 140 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.426, allocations: 4 kB / 0.7365 GB, free: 136 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.4264, allocations: 431.7 kB / 0.7369 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006751/0.4271, allocations: 0.8112 MB / 0.7377 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/0.4276, allocations: 0.5711 MB / 0.7383 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.428, allocations: 337.7 kB / 0.7386 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.4291, allocations: 1.028 MB / 0.7396 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003993/0.4295, allocations: 408.8 kB / 0.74 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.4295, allocations: 0 / 0.74 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001324/0.4308, allocations: 1.343 MB / 0.7413 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.4309, allocations: 85.09 kB / 0.7414 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/0.4327, allocations: 1.842 MB / 0.7432 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/0.4328, allocations: 33.69 kB / 0.7432 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/0.4331, allocations: 473.3 kB / 0.7437 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.4332, allocations: 19.8 kB / 0.7437 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003104/0.4335, allocations: 351.5 kB / 0.744 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.514e-05/0.4336, allocations: 305.2 kB / 0.7443 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.4348, allocations: 1.506 MB / 0.7458 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.4362, allocations: 1.646 MB / 0.7474 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007035/0.4433, allocations: 3.697 MB / 0.751 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.4433, allocations: 7.938 kB / 0.751 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004275/0.4476, allocations: 4.319 MB / 0.7552 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.4476, allocations: 4 kB / 0.7553 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.4476, allocations: 4 kB / 0.7553 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.4477, allocations: 0 / 0.7553 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.4478, allocations: 15.98 kB / 0.7553 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.4478, allocations: 8.062 kB / 0.7553 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000536/0.4484, allocations: 232.3 kB / 0.7555 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/0.4484, allocations: 23.98 kB / 0.7555 GB, free: 12.12 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0004492/0.4489, allocations: 365.5 kB / 0.7559 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.449, allocations: 130 kB / 0.756 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.4493, allocations: 137.1 kB / 0.7561 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.4494, allocations: 12.02 kB / 0.7561 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4494, allocations: 0 / 0.7561 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4494, allocations: 0 / 0.7561 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005943/0.45, allocations: 0.6756 MB / 0.7568 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.45, allocations: 3.938 kB / 0.7568 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.437e-05/0.4501, allocations: 15.92 kB / 0.7568 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4501, allocations: 0 / 0.7568 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.4501, allocations: 0 / 0.7568 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.4501, allocations: 4 kB / 0.7568 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4501, allocations: 0 / 0.7568 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009375/0.4511, allocations: 1.059 MB / 0.7579 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.4512, allocations: 199.1 kB / 0.758 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.114e-05/0.4513, allocations: 0 / 0.758 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.4515, allocations: 7.984 kB / 0.7581 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.4516, allocations: 8 kB / 0.7581 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-05/0.4516, allocations: 15.97 kB / 0.7581 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001127/0.4527, allocations: 1.104 MB / 0.7592 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4528, allocations: 0 / 0.7592 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001001/0.4538, allocations: 427.8 kB / 0.7596 GB, free: 7.832 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001136/0.4549, allocations: 498.7 kB / 0.76 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002301/0.4572, allocations: 2.64 MB / 0.7626 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4572, allocations: 0 / 0.7626 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003239/0.4576, allocations: 343.7 kB / 0.7629 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.458, allocations: 62.53 kB / 0.763 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.4612, allocations: 2.842 MB / 0.7658 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007193/0.462, allocations: 1.153 MB / 0.7669 GB, free: 228 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001808/0.4621, allocations: 40.48 kB / 0.7669 GB, free: 188 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.4623, allocations: 23.42 kB / 0.767 GB, free: 164 kB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.4623, allocations: 0 / 0.767 GB, free: 164 kB / 0.5762 GB Notification: Performance of Templates: time 0.01723/0.4795, allocations: 9.836 MB / 0.7766 GB, free: 6.363 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)