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_SmallScaleValidation.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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001292/0.001292, allocations: 172.7 kB / 15.95 MB, free: 208 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.438/1.438, 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.549/1.549, allocations: 252 MB / 0.5102 GB, free: 4.793 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.0004892/0.0004896, allocations: 16 kB / 0.6243 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4214, allocations: 106.3 MB / 0.7282 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001919/0.4234, allocations: 1.423 MB / 0.7296 GB, free: 10 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005877/0.4293, allocations: 3.935 MB / 0.7334 GB, free: 6.059 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.4295, allocations: 3.938 kB / 0.7334 GB, free: 6.055 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.4309, allocations: 314.7 kB / 0.7337 GB, free: 5.746 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.4311, allocations: 55.73 kB / 0.7338 GB, free: 5.691 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.4336, allocations: 0.7413 MB / 0.7345 GB, free: 4.945 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.4339, allocations: 163.4 kB / 0.7346 GB, free: 4.785 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.857e-05/0.4339, allocations: 9.562 kB / 0.7346 GB, free: 4.773 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.418e-05/0.434, allocations: 59.77 kB / 0.7347 GB, free: 4.715 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.4342, allocations: 187.6 kB / 0.7349 GB, free: 4.531 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.4343, allocations: 16 kB / 0.7349 GB, free: 4.516 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.4362, allocations: 1.299 MB / 0.7362 GB, free: 3.215 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002013/0.4364, allocations: 271.2 kB / 0.7364 GB, free: 2.949 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.4365, allocations: 121.2 kB / 0.7365 GB, free: 2.824 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.4378, allocations: 1.025 MB / 0.7375 GB, free: 1.797 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4378, allocations: 8 kB / 0.7375 GB, free: 1.789 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4378, allocations: 0 / 0.7375 GB, free: 1.789 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.4378, allocations: 0 / 0.7375 GB, free: 1.789 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.007099/0.4449, allocations: 1.218 MB / 0.7387 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.445, allocations: 12.03 kB / 0.7388 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000344/0.4453, allocations: 90.66 kB / 0.7388 GB, free: 428 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.4458, allocations: 416.7 kB / 0.7392 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.4458, allocations: 0 / 0.7392 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.4459, allocations: 4 kB / 0.7392 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004438/0.4463, allocations: 383.2 kB / 0.7396 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.4463, allocations: 0 / 0.7396 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.4464, allocations: 11.98 kB / 0.7396 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4464, allocations: 0 / 0.7396 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.4468, allocations: 435.7 kB / 0.74 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006789/0.4475, allocations: 0.6574 MB / 0.7407 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.4481, allocations: 0.5594 MB / 0.7412 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.4484, allocations: 341.7 kB / 0.7415 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/0.4494, allocations: 1.032 MB / 0.7426 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003851/0.4498, allocations: 412.9 kB / 0.7429 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 2.766e-06/0.4498, allocations: 3.984 kB / 0.7429 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001307/0.4512, allocations: 1.293 MB / 0.7442 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.4512, allocations: 81.11 kB / 0.7443 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.4525, allocations: 1.273 MB / 0.7455 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.4525, allocations: 29.7 kB / 0.7456 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.4527, allocations: 281.4 kB / 0.7458 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.4528, allocations: 23.78 kB / 0.7459 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.4528, allocations: 7.938 kB / 0.7459 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.453, allocations: 423.8 kB / 0.7463 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.4542, allocations: 1.365 MB / 0.7476 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.4555, allocations: 1.497 MB / 0.7491 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.4572, allocations: 1.895 MB / 0.7509 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.4573, allocations: 0 / 0.7509 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004215/0.4615, allocations: 3.953 MB / 0.7548 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.4615, allocations: 4 kB / 0.7548 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.4615, allocations: 4.031 kB / 0.7548 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.4616, allocations: 4 kB / 0.7548 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.4617, allocations: 19.92 kB / 0.7548 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.4617, allocations: 0 / 0.7548 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.4622, allocations: 228.4 kB / 0.755 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/0.4623, allocations: 23.98 kB / 0.755 GB, free: 15.32 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.0003417/0.4626, allocations: 249.6 kB / 0.7553 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.4627, allocations: 82.59 kB / 0.7554 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.463, allocations: 79.66 kB / 0.7554 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.463, allocations: 0 / 0.7554 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.463, allocations: 8 kB / 0.7554 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.463, allocations: 0 / 0.7554 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005322/0.4636, allocations: 0.5138 MB / 0.7559 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4636, allocations: 0 / 0.7559 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.118e-05/0.4637, allocations: 16.02 kB / 0.756 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4637, allocations: 0 / 0.756 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.4637, allocations: 0 / 0.756 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4637, allocations: 4 kB / 0.756 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4637, allocations: 0 / 0.756 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009329/0.4646, allocations: 1.009 MB / 0.7569 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.4648, allocations: 159.8 kB / 0.7571 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.17e-05/0.4648, allocations: 4 kB / 0.7571 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.465, allocations: 3.984 kB / 0.7571 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.465, allocations: 8 kB / 0.7571 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.205e-05/0.4651, allocations: 15.97 kB / 0.7571 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007714/0.4658, allocations: 0.7023 MB / 0.7578 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4658, allocations: 0 / 0.7578 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001256/0.4671, allocations: 407.8 kB / 0.7582 GB, free: 11.96 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.001128/0.4682, allocations: 483.6 kB / 0.7587 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002243/0.4705, allocations: 2.492 MB / 0.7611 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4705, allocations: 0 / 0.7611 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.4709, allocations: 344.1 kB / 0.7614 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.4713, allocations: 60.7 kB / 0.7615 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.4735, allocations: 1.988 MB / 0.7634 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.474, allocations: 0.9801 MB / 0.7644 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001936/0.4742, allocations: 37.42 kB / 0.7644 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.4744, allocations: 31.41 kB / 0.7645 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.4744, allocations: 4 kB / 0.7645 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of Templates: time 0.01624/0.4906, allocations: 9.536 MB / 0.7738 GB, free: 12.01 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) Environment - environmentSimulation: