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_1borehole_5meters.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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, 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.001197/0.001197, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.291/1.291, allocations: 205.1 MB / 222 MB, free: 4.746 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.524/1.524, allocations: 251.6 MB / 0.5088 GB, free: 3.254 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.001225/0.001225, allocations: 63.91 kB / 0.6216 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4034, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002311/0.4057, allocations: 1.477 MB / 0.7253 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004332/0.4101, allocations: 3.27 MB / 0.7285 GB, free: 8.379 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.4101, allocations: 0 / 0.7285 GB, free: 8.379 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.586e-05/0.4103, allocations: 7.922 kB / 0.7285 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.4104, allocations: 31.84 kB / 0.7285 GB, free: 8.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.4123, allocations: 0.7758 MB / 0.7293 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.4124, allocations: 107.7 kB / 0.7294 GB, free: 7.457 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.4124, allocations: 4 kB / 0.7294 GB, free: 7.453 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.57e-05/0.4125, allocations: 39.89 kB / 0.7294 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.4127, allocations: 161 kB / 0.7296 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.4127, allocations: 12 kB / 0.7296 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.4145, allocations: 1.384 MB / 0.7309 GB, free: 5.859 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.4147, allocations: 275.8 kB / 0.7312 GB, free: 5.586 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.4149, allocations: 266.3 kB / 0.7315 GB, free: 5.324 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.4166, allocations: 1.486 MB / 0.7329 GB, free: 3.836 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4166, allocations: 0 / 0.7329 GB, free: 3.836 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4166, allocations: 0 / 0.7329 GB, free: 3.836 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.4166, allocations: 0 / 0.7329 GB, free: 3.836 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.007343/0.4239, allocations: 1.199 MB / 0.7341 GB, free: 2.586 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.424, allocations: 12.03 kB / 0.7341 GB, free: 2.574 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003938/0.4244, allocations: 87.69 kB / 0.7342 GB, free: 2.488 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.4248, allocations: 356.9 kB / 0.7345 GB, free: 2.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.4248, allocations: 8.359 kB / 0.7345 GB, free: 2.082 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.4249, allocations: 8.375 kB / 0.7345 GB, free: 2.074 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.4253, allocations: 395.4 kB / 0.7349 GB, free: 1.676 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.4254, allocations: 4 kB / 0.7349 GB, free: 1.672 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.4254, allocations: 0 / 0.7349 GB, free: 1.672 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4254, allocations: 0 / 0.7349 GB, free: 1.672 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004083/0.4258, allocations: 435.8 kB / 0.7353 GB, free: 1.246 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005388/0.4264, allocations: 0.6441 MB / 0.736 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004923/0.4269, allocations: 0.5634 MB / 0.7365 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.4271, allocations: 341.5 kB / 0.7368 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.4282, allocations: 1.025 MB / 0.7378 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004219/0.4287, allocations: 408.8 kB / 0.7382 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.4287, allocations: 0 / 0.7382 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001418/0.4301, allocations: 1.293 MB / 0.7395 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.4302, allocations: 81.11 kB / 0.7396 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.4313, allocations: 1.194 MB / 0.7407 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.4314, allocations: 37.83 kB / 0.7408 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.4316, allocations: 261.4 kB / 0.741 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.4316, allocations: 23.66 kB / 0.741 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/0.432, allocations: 351.5 kB / 0.7414 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4321, allocations: 313.9 kB / 0.7417 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/0.4333, allocations: 1.361 MB / 0.743 GB, free: 9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.4346, allocations: 1.493 MB / 0.7445 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006548/0.4412, allocations: 3.537 MB / 0.7479 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.4412, allocations: 4 kB / 0.7479 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003812/0.445, allocations: 3.957 MB / 0.7518 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.4451, allocations: 8.031 kB / 0.7518 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.4451, allocations: 7.984 kB / 0.7518 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4451, allocations: 0 / 0.7518 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.4453, allocations: 15.94 kB / 0.7518 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.4453, allocations: 0 / 0.7518 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/0.4457, allocations: 240.2 kB / 0.752 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.4458, allocations: 23.98 kB / 0.7521 GB, free: 15.58 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.0002894/0.4461, allocations: 233.7 kB / 0.7523 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.4461, allocations: 70.72 kB / 0.7524 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.4464, allocations: 78.83 kB / 0.7524 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4464, allocations: 0 / 0.7524 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.4464, allocations: 0 / 0.7524 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4464, allocations: 4 kB / 0.7524 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.4469, allocations: 496.8 kB / 0.7529 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4469, allocations: 3.938 kB / 0.7529 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.739e-05/0.4469, allocations: 11.97 kB / 0.7529 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.447, allocations: 3.984 kB / 0.7529 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.447, allocations: 4 kB / 0.7529 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.447, allocations: 0 / 0.7529 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.447, allocations: 0 / 0.7529 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008339/0.4478, allocations: 1.005 MB / 0.7539 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.734e-05/0.4479, allocations: 155.8 kB / 0.7541 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.588e-05/0.448, allocations: 4 kB / 0.7541 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.4481, allocations: 7.984 kB / 0.7541 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.4482, allocations: 0 / 0.7541 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.4482, allocations: 11.98 kB / 0.7541 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006303/0.4489, allocations: 0.6687 MB / 0.7547 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4489, allocations: 4 kB / 0.7547 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009942/0.4499, allocations: 395.8 kB / 0.7551 GB, free: 12.34 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.001145/0.451, allocations: 486.8 kB / 0.7556 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00205/0.4531, allocations: 2.495 MB / 0.758 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4531, allocations: 0 / 0.758 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.4534, allocations: 339.8 kB / 0.7583 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.4537, allocations: 49.11 kB / 0.7584 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.4557, allocations: 1.914 MB / 0.7603 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.4561, allocations: 0.9601 MB / 0.7612 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001684/0.4563, allocations: 32.55 kB / 0.7612 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.6e-05/0.4564, allocations: 23.42 kB / 0.7612 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.4564, allocations: 4 kB / 0.7613 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of Templates: time 0.01448/0.4709, allocations: 9.264 MB / 0.7703 GB, free: 12.75 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)