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.0009842/0.0009841, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001059/0.001059, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.587/1.587, allocations: 251.9 MB / 0.51 GB, free: 4.734 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.0006361/0.0006363, allocations: 15.98 kB / 0.6242 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5273/0.5279, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001452/0.5294, allocations: 1.114 MB / 0.7291 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003939/0.5334, allocations: 2.816 MB / 0.7318 GB, free: 7.469 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.5335, allocations: 4 kB / 0.7319 GB, free: 7.465 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.5336, allocations: 19.91 kB / 0.7319 GB, free: 7.445 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.5338, allocations: 23.84 kB / 0.7319 GB, free: 7.422 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.5357, allocations: 0.7216 MB / 0.7326 GB, free: 6.695 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.892e-05/0.5358, allocations: 55.86 kB / 0.7327 GB, free: 6.641 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.5358, allocations: 0 / 0.7327 GB, free: 6.641 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.809e-05/0.5359, allocations: 43.89 kB / 0.7327 GB, free: 6.598 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.5361, allocations: 139.7 kB / 0.7328 GB, free: 6.461 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.5361, allocations: 12 kB / 0.7328 GB, free: 6.449 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.5379, allocations: 1.256 MB / 0.7341 GB, free: 5.191 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005615/0.5385, allocations: 0.6042 MB / 0.7347 GB, free: 4.586 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.5386, allocations: 173 kB / 0.7348 GB, free: 4.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.54, allocations: 1.187 MB / 0.736 GB, free: 3.223 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.614e-06/0.54, allocations: 3.938 kB / 0.736 GB, free: 3.219 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.54, allocations: 0 / 0.736 GB, free: 3.219 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.54, allocations: 4 kB / 0.736 GB, free: 3.215 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.009883/0.5499, allocations: 1.605 MB / 0.7376 GB, free: 1.551 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.55, allocations: 8.031 kB / 0.7376 GB, free: 1.543 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003797/0.5504, allocations: 138 kB / 0.7377 GB, free: 1.406 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005968/0.551, allocations: 0.4933 MB / 0.7382 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.551, allocations: 7.984 kB / 0.7382 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.551, allocations: 8 kB / 0.7382 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.5515, allocations: 379.2 kB / 0.7386 GB, free: 456 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.5515, allocations: 4 kB / 0.7386 GB, free: 452 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.5515, allocations: 7.984 kB / 0.7386 GB, free: 444 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.5515, allocations: 0 / 0.7386 GB, free: 444 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004351/0.552, allocations: 439.7 kB / 0.739 GB, free: 4 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008069/0.5528, allocations: 0.8034 MB / 0.7398 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000551/0.5534, allocations: 0.5671 MB / 0.7403 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/0.5544, allocations: 1.036 MB / 0.7413 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004017/0.5548, allocations: 400.9 kB / 0.7417 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.432e-06/0.5548, allocations: 4 kB / 0.7417 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001412/0.5563, allocations: 1.347 MB / 0.743 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.5563, allocations: 81.11 kB / 0.7431 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.5581, allocations: 1.842 MB / 0.7449 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.5582, allocations: 25.7 kB / 0.7449 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003604/0.5586, allocations: 481.2 kB / 0.7454 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.5586, allocations: 19.92 kB / 0.7454 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.5586, allocations: 4 kB / 0.7454 GB, free: 9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.5588, allocations: 411 kB / 0.7458 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.5602, allocations: 1.518 MB / 0.7473 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.5618, allocations: 1.638 MB / 0.7489 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/0.5637, allocations: 2.047 MB / 0.7509 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.5637, allocations: 0 / 0.7509 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004783/0.5685, allocations: 4.307 MB / 0.7551 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.5685, allocations: 6.188 kB / 0.7551 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/0.5685, allocations: 4 kB / 0.7551 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.5686, allocations: 0 / 0.7551 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.5687, allocations: 19.98 kB / 0.7551 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.5687, allocations: 0 / 0.7551 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006627/0.5694, allocations: 236.3 kB / 0.7553 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.127e-05/0.5695, allocations: 23.98 kB / 0.7554 GB, free: 14.73 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004683/0.5699, allocations: 373.4 kB / 0.7557 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.013e-05/0.57, allocations: 118 kB / 0.7558 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/0.5704, allocations: 145.1 kB / 0.756 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5704, allocations: 4.031 kB / 0.756 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5704, allocations: 0 / 0.756 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.5704, allocations: 3.984 kB / 0.756 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.571, allocations: 0.6793 MB / 0.7567 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.571, allocations: 0 / 0.7567 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/0.5711, allocations: 12 kB / 0.7567 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.5711, allocations: 3.938 kB / 0.7567 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.5711, allocations: 3.984 kB / 0.7567 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.5711, allocations: 7.938 kB / 0.7567 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5711, allocations: 0 / 0.7567 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.5722, allocations: 1.07 MB / 0.7577 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.5724, allocations: 199.1 kB / 0.7579 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.255e-05/0.5725, allocations: 4 kB / 0.7579 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.5727, allocations: 11.98 kB / 0.7579 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.5728, allocations: 7.984 kB / 0.7579 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.224e-05/0.5728, allocations: 11.98 kB / 0.7579 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001438/0.5743, allocations: 1.097 MB / 0.759 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5743, allocations: 0 / 0.759 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001718/0.576, allocations: 443.7 kB / 0.7594 GB, free: 10.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001542/0.5776, allocations: 478.7 kB / 0.7599 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002517/0.5801, allocations: 2.648 MB / 0.7625 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5801, allocations: 0 / 0.7625 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.5805, allocations: 343.9 kB / 0.7628 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.581, allocations: 47.91 kB / 0.7629 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.5846, allocations: 2.706 MB / 0.7655 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008258/0.5854, allocations: 1.184 MB / 0.7667 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002328/0.5856, allocations: 28.56 kB / 0.7667 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.5858, allocations: 31.41 kB / 0.7667 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/0.5858, allocations: 0 / 0.7667 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of Templates: time 0.01827/0.604, allocations: 9.531 MB / 0.776 GB, free: 9.371 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: