Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.001071/0.001071, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001057/0.001057, allocations: 195.6 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.776/2.776, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 64.08 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2818, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00271/0.2845, allocations: 1.819 MB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007431/0.292, allocations: 5.671 MB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.912e-05/0.2921, allocations: 0 / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.2933, allocations: 358.6 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.2934, allocations: 55.73 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.003067/0.2965, allocations: 1.177 MB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.2967, allocations: 203.3 kB / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.278e-05/0.2968, allocations: 13.55 kB / 1.077 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.165e-05/0.2969, allocations: 55.78 kB / 1.077 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.2971, allocations: 180.7 kB / 1.077 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.114e-05/0.2972, allocations: 19.98 kB / 1.077 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003155/0.3003, allocations: 2.188 MB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.3006, allocations: 275.8 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003001/0.3009, allocations: 306.1 kB / 1.08 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003464/0.3044, allocations: 2.229 MB / 1.082 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3044, allocations: 0 / 1.082 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3044, allocations: 4 kB / 1.082 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.3044, allocations: 0 / 1.082 GB, free: 12.29 MB / 0.8419 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.008152/0.3126, allocations: 1.37 MB / 1.083 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3126, allocations: 8.031 kB / 1.083 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004133/0.3131, allocations: 95.59 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.3135, allocations: 410.2 kB / 1.084 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.3135, allocations: 4.375 kB / 1.084 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.3136, allocations: 12.38 kB / 1.084 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/0.314, allocations: 391.5 kB / 1.084 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3141, allocations: 0 / 1.084 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3141, allocations: 3.938 kB / 1.084 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3141, allocations: 0 / 1.084 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.3145, allocations: 435.8 kB / 1.084 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006056/0.3151, allocations: 0.6653 MB / 1.085 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005312/0.3157, allocations: 0.5633 MB / 1.086 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.316, allocations: 337.7 kB / 1.086 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/0.317, allocations: 1.028 MB / 1.087 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000412/0.3175, allocations: 408.8 kB / 1.087 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.3175, allocations: 4 kB / 1.087 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.001315/0.3188, allocations: 1.289 MB / 1.089 GB, free: 4.875 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.3189, allocations: 89.03 kB / 1.089 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.32, allocations: 1.297 MB / 1.09 GB, free: 3.461 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.3201, allocations: 25.7 kB / 1.09 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.3203, allocations: 293.5 kB / 1.09 GB, free: 3.137 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.3203, allocations: 15.81 kB / 1.09 GB, free: 3.121 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003083/0.3206, allocations: 351.6 kB / 1.091 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.507e-05/0.3207, allocations: 318 kB / 1.091 GB, free: 2.457 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.3219, allocations: 1.373 MB / 1.092 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.3232, allocations: 1.501 MB / 1.094 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006999/0.3302, allocations: 3.56 MB / 1.097 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.3302, allocations: 0 / 1.097 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004165/0.3344, allocations: 4.02 MB / 1.101 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.3344, allocations: 8 kB / 1.101 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.3344, allocations: 320 / 1.101 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3345, allocations: 4.031 kB / 1.101 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.3346, allocations: 19.92 kB / 1.101 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3346, allocations: 4 kB / 1.101 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004498/0.3351, allocations: 232.3 kB / 1.101 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/0.3351, allocations: 31.95 kB / 1.101 GB, free: 7.566 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],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 (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003083/0.3354, allocations: 246.3 kB / 1.102 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.3355, allocations: 78.56 kB / 1.102 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.3358, allocations: 83.75 kB / 1.102 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3358, allocations: 4 kB / 1.102 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.3358, allocations: 0 / 1.102 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.3358, allocations: 0 / 1.102 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004251/0.3363, allocations: 0.5141 MB / 1.102 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3363, allocations: 0 / 1.102 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.628e-05/0.3364, allocations: 11.92 kB / 1.102 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3364, allocations: 4.031 kB / 1.102 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3364, allocations: 4 kB / 1.102 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3364, allocations: 3.938 kB / 1.102 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3364, allocations: 3.984 kB / 1.102 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008811/0.3373, allocations: 1.006 MB / 1.103 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.3374, allocations: 167.6 kB / 1.103 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.994e-05/0.3375, allocations: 7.984 kB / 1.103 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.3376, allocations: 4 kB / 1.103 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.3377, allocations: 7.984 kB / 1.103 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.3377, allocations: 11.98 kB / 1.103 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007325/0.3385, allocations: 0.7222 MB / 1.104 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3385, allocations: 0 / 1.104 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001395/0.3399, allocations: 0.5935 MB / 1.105 GB, free: 3.996 MB / 0.8575 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.001771/0.3416, allocations: 0.6918 MB / 1.105 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002175/0.3438, allocations: 2.548 MB / 1.108 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3438, allocations: 0 / 1.108 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.3442, allocations: 343.7 kB / 1.108 GB, free: 424 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.3446, allocations: 60.77 kB / 1.108 GB, free: 364 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.3467, allocations: 2.056 MB / 1.11 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.3472, allocations: 0.9959 MB / 1.111 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001918/0.3474, allocations: 37.42 kB / 1.111 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.3475, allocations: 31.42 kB / 1.111 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.3476, allocations: 0 / 1.111 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of Templates: time 0.02196/0.3695, allocations: 13.87 MB / 1.125 GB, free: 15.35 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)