Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001245/0.001245, allocations: 104.7 kB / 15.98 MB, free: 6.355 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.001321/0.001321, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.457/1.457, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 292.3 MB / 0.5492 GB, free: 13.61 MB / 462.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.002084/0.002084, allocations: 64.69 kB / 0.6717 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2819, allocations: 114.6 MB / 0.7836 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00317/0.2851, allocations: 1.797 MB / 0.7853 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006246/0.2914, allocations: 4.243 MB / 0.7895 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.2915, allocations: 4 kB / 0.7895 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.2929, allocations: 354.6 kB / 0.7898 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.293, allocations: 59.67 kB / 0.7899 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.2961, allocations: 0.8729 MB / 0.7907 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.2964, allocations: 155.3 kB / 0.7909 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.76e-05/0.2965, allocations: 13.55 kB / 0.7909 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.911e-05/0.2966, allocations: 51.73 kB / 0.7909 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.2969, allocations: 172.8 kB / 0.7911 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.297, allocations: 12 kB / 0.7911 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.2991, allocations: 1.427 MB / 0.7925 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.2993, allocations: 275.8 kB / 0.7928 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.2996, allocations: 302.1 kB / 0.793 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.301, allocations: 1.06 MB / 0.7941 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3011, allocations: 0 / 0.7941 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3011, allocations: 0 / 0.7941 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.3011, allocations: 0 / 0.7941 GB, free: 3.039 MB / 0.6075 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.0089/0.31, allocations: 1.277 MB / 0.7953 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.3101, allocations: 8.031 kB / 0.7953 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004488/0.3105, allocations: 99.58 kB / 0.7954 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005141/0.311, allocations: 398.1 kB / 0.7958 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.3111, allocations: 8.375 kB / 0.7958 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.3111, allocations: 8.359 kB / 0.7958 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.3116, allocations: 391.4 kB / 0.7962 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.3116, allocations: 0 / 0.7962 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3116, allocations: 0 / 0.7962 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3116, allocations: 8 kB / 0.7962 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.3121, allocations: 431.7 kB / 0.7966 GB, free: 336 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000693/0.3128, allocations: 0.6614 MB / 0.7973 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/0.3133, allocations: 0.5594 MB / 0.7978 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.3136, allocations: 345.7 kB / 0.7981 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.3147, allocations: 1.028 MB / 0.7991 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004154/0.3152, allocations: 412.8 kB / 0.7995 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.3152, allocations: 0 / 0.7995 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001386/0.3166, allocations: 1.293 MB / 0.8008 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.3166, allocations: 85.09 kB / 0.8009 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.3179, allocations: 1.285 MB / 0.8021 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.465e-05/0.3179, allocations: 33.7 kB / 0.8022 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.3182, allocations: 281.4 kB / 0.8024 GB, free: 10 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.3182, allocations: 23.73 kB / 0.8025 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003157/0.3185, allocations: 347.5 kB / 0.8028 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3187, allocations: 318 kB / 0.8031 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.3198, allocations: 1.357 MB / 0.8044 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.3211, allocations: 1.497 MB / 0.8059 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00674/0.3278, allocations: 3.537 MB / 0.8093 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.3278, allocations: 3.938 kB / 0.8093 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004385/0.3322, allocations: 3.973 MB / 0.8132 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.3323, allocations: 8 kB / 0.8132 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.3323, allocations: 4.016 kB / 0.8132 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.3323, allocations: 3.984 kB / 0.8132 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.3325, allocations: 12 kB / 0.8132 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.3325, allocations: 7.984 kB / 0.8133 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/0.333, allocations: 228.4 kB / 0.8135 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.903e-05/0.3331, allocations: 23.98 kB / 0.8135 GB, free: 14.53 MB / 0.6387 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.0003597/0.3335, allocations: 249.7 kB / 0.8137 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.878e-05/0.3336, allocations: 78.56 kB / 0.8138 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.3339, allocations: 79.72 kB / 0.8139 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.334, allocations: 0 / 0.8139 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/0.334, allocations: 4 kB / 0.8139 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.334, allocations: 3.984 kB / 0.8139 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004876/0.3345, allocations: 0.5177 MB / 0.8144 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3345, allocations: 4.031 kB / 0.8144 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-05/0.3346, allocations: 15.92 kB / 0.8144 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.3346, allocations: 0 / 0.8144 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.3346, allocations: 4 kB / 0.8144 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3346, allocations: 3.938 kB / 0.8144 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3346, allocations: 0 / 0.8144 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009307/0.3356, allocations: 1.009 MB / 0.8154 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.3357, allocations: 159.7 kB / 0.8156 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.687e-05/0.3358, allocations: 4 kB / 0.8156 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.3359, allocations: 7.984 kB / 0.8156 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.336, allocations: 7.984 kB / 0.8156 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.336, allocations: 15.97 kB / 0.8156 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007396/0.3368, allocations: 0.7179 MB / 0.8163 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3368, allocations: 4 kB / 0.8163 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001132/0.3379, allocations: 399.9 kB / 0.8167 GB, free: 11.15 MB / 0.6387 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.001191/0.3391, allocations: 475.5 kB / 0.8171 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00231/0.3414, allocations: 2.511 MB / 0.8196 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3415, allocations: 0 / 0.8196 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003482/0.3418, allocations: 335.8 kB / 0.8199 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.3423, allocations: 60.58 kB / 0.82 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.3447, allocations: 2.097 MB / 0.822 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.3452, allocations: 0.9801 MB / 0.823 GB, free: 4.625 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.3454, allocations: 31.41 kB / 0.823 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of SimCode: time 5.31e-07/0.3454, allocations: 0 / 0.823 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of Templates: time 0.01867/0.3641, allocations: 11.19 MB / 0.8339 GB, free: 9.406 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)