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.001325/0.001325, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001462/0.001462, allocations: 193.3 kB / 16.25 MB, free: 6.617 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.384/1.384, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.664/1.664, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001403/0.001403, allocations: 77.58 kB / 0.671 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2675, allocations: 114.5 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.004555/0.2721, allocations: 1.8 MB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006637/0.2788, allocations: 4.25 MB / 0.7888 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.279, allocations: 0 / 0.7888 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.2805, allocations: 350.6 kB / 0.7891 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.2808, allocations: 59.72 kB / 0.7892 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003019/0.2838, allocations: 0.8777 MB / 0.7901 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.2841, allocations: 147.3 kB / 0.7902 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.932e-05/0.2842, allocations: 9.562 kB / 0.7902 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.2843, allocations: 55.72 kB / 0.7903 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.2846, allocations: 172.8 kB / 0.7904 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.081e-05/0.2847, allocations: 20 kB / 0.7904 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.287, allocations: 1.416 MB / 0.7918 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.2873, allocations: 275.7 kB / 0.7921 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.2876, allocations: 310.1 kB / 0.7924 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002391/0.29, allocations: 1.543 MB / 0.7939 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.29, allocations: 4 kB / 0.7939 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.924e-06/0.29, allocations: 0 / 0.7939 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.29, allocations: 3.938 kB / 0.7939 GB, free: 2.57 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.009181/0.2992, allocations: 1.281 MB / 0.7951 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.2992, allocations: 12.02 kB / 0.7952 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004057/0.2997, allocations: 91.59 kB / 0.7952 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.3002, allocations: 402.1 kB / 0.7956 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.3002, allocations: 8.359 kB / 0.7956 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.3002, allocations: 4.375 kB / 0.7956 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004216/0.3007, allocations: 403.4 kB / 0.796 GB, free: 284 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.3007, allocations: 0 / 0.796 GB, free: 284 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.3007, allocations: 4 kB / 0.796 GB, free: 280 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.3007, allocations: 3.984 kB / 0.796 GB, free: 276 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004283/0.3011, allocations: 431.8 kB / 0.7964 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006224/0.3018, allocations: 0.6536 MB / 0.7971 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005434/0.3023, allocations: 0.5672 MB / 0.7976 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.3027, allocations: 341.7 kB / 0.798 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/0.3038, allocations: 1.025 MB / 0.799 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004047/0.3043, allocations: 408.8 kB / 0.7993 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.3043, allocations: 0 / 0.7993 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001332/0.3056, allocations: 1.3 MB / 0.8006 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.3057, allocations: 81.09 kB / 0.8007 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.3069, allocations: 1.281 MB / 0.8019 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/0.307, allocations: 33.7 kB / 0.802 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.3072, allocations: 281.4 kB / 0.8022 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.3072, allocations: 23.73 kB / 0.8023 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003172/0.3076, allocations: 347.7 kB / 0.8026 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3077, allocations: 326 kB / 0.8029 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.3089, allocations: 1.354 MB / 0.8042 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.3101, allocations: 1.497 MB / 0.8057 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00703/0.3172, allocations: 3.537 MB / 0.8092 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.3172, allocations: 0 / 0.8092 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004291/0.3215, allocations: 3.98 MB / 0.813 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.3215, allocations: 11.98 kB / 0.8131 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.3216, allocations: 4 kB / 0.8131 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.3216, allocations: 0 / 0.8131 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.3217, allocations: 12 kB / 0.8131 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.3218, allocations: 16.02 kB / 0.8131 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.3222, allocations: 220.4 kB / 0.8133 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.067e-05/0.3223, allocations: 23.98 kB / 0.8133 GB, free: 14.05 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.0003583/0.3227, allocations: 245.6 kB / 0.8135 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.3228, allocations: 74.62 kB / 0.8136 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/0.3231, allocations: 87.66 kB / 0.8137 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3231, allocations: 7.938 kB / 0.8137 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.3231, allocations: 0 / 0.8137 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3231, allocations: 0 / 0.8137 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.3236, allocations: 0.5177 MB / 0.8142 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3236, allocations: 0 / 0.8142 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-05/0.3237, allocations: 11.92 kB / 0.8142 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3237, allocations: 0 / 0.8142 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.3237, allocations: 4 kB / 0.8142 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3237, allocations: 0 / 0.8142 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3237, allocations: 4.031 kB / 0.8142 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009717/0.3247, allocations: 1.01 MB / 0.8152 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.3248, allocations: 163.7 kB / 0.8154 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-05/0.3249, allocations: 0 / 0.8154 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.3251, allocations: 7.984 kB / 0.8154 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.3251, allocations: 11.98 kB / 0.8154 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.3252, allocations: 7.984 kB / 0.8154 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008011/0.326, allocations: 0.7179 MB / 0.8161 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.326, allocations: 0 / 0.8161 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001181/0.3272, allocations: 403.9 kB / 0.8165 GB, free: 10.69 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.001196/0.3284, allocations: 490.8 kB / 0.817 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002187/0.3306, allocations: 2.499 MB / 0.8194 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3306, allocations: 0 / 0.8194 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003177/0.3309, allocations: 335.8 kB / 0.8197 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.3314, allocations: 67.34 kB / 0.8198 GB, free: 7.297 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.3338, allocations: 2.056 MB / 0.8218 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000645/0.3344, allocations: 0.9879 MB / 0.8228 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000216/0.3346, allocations: 37.38 kB / 0.8228 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.3348, allocations: 27.41 kB / 0.8228 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of SimCode: time 7.21e-07/0.3348, allocations: 4 kB / 0.8228 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of Templates: time 0.01867/0.3534, allocations: 10.15 MB / 0.8327 GB, free: 10.03 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)