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.001439/0.001439, 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.001903/0.001903, allocations: 191.5 kB / 16.14 MB, free: 6.703 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.382/1.382, allocations: 205.1 MB / 222 MB, free: 5 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.743/1.743, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001278/0.001278, allocations: 64.69 kB / 0.6708 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2134, allocations: 114.5 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003032/0.2164, allocations: 1.808 MB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006878/0.2233, allocations: 4.434 MB / 0.7888 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.2236, allocations: 3.938 kB / 0.7888 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.225, allocations: 354.6 kB / 0.7891 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.2251, allocations: 63.72 kB / 0.7892 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.2275, allocations: 0.7638 MB / 0.7899 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.2278, allocations: 183.4 kB / 0.7901 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.2278, allocations: 17.53 kB / 0.7901 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.972e-05/0.2279, allocations: 55.78 kB / 0.7902 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.2282, allocations: 176.8 kB / 0.7904 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.489e-05/0.2282, allocations: 16 kB / 0.7904 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.2302, allocations: 1.396 MB / 0.7917 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.2304, allocations: 275.8 kB / 0.792 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.2307, allocations: 306.1 kB / 0.7923 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.2326, allocations: 1.535 MB / 0.7938 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2326, allocations: 3.938 kB / 0.7938 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2326, allocations: 0 / 0.7938 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.2326, allocations: 0 / 0.7938 GB, free: 2.566 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.00779/0.2404, allocations: 1.284 MB / 0.7951 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.2405, allocations: 8.031 kB / 0.7951 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004021/0.2409, allocations: 103.5 kB / 0.7952 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000488/0.2414, allocations: 402 kB / 0.7955 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.2414, allocations: 8.375 kB / 0.7956 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.023e-05/0.2414, allocations: 4.375 kB / 0.7956 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.2419, allocations: 391.5 kB / 0.7959 GB, free: 280 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.2419, allocations: 0 / 0.7959 GB, free: 280 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.2419, allocations: 0 / 0.7959 GB, free: 280 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.2419, allocations: 0 / 0.7959 GB, free: 280 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/0.2424, allocations: 443.7 kB / 0.7964 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007261/0.2431, allocations: 0.6536 MB / 0.797 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006031/0.2437, allocations: 0.5633 MB / 0.7975 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003772/0.2441, allocations: 341.7 kB / 0.7979 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/0.2453, allocations: 1.021 MB / 0.7989 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004352/0.2458, allocations: 412.8 kB / 0.7993 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.2458, allocations: 0 / 0.7993 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001313/0.2471, allocations: 1.293 MB / 0.8005 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.2472, allocations: 81.11 kB / 0.8006 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.2484, allocations: 1.289 MB / 0.8019 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.2485, allocations: 37.64 kB / 0.8019 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.2487, allocations: 277.4 kB / 0.8022 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.2487, allocations: 19.8 kB / 0.8022 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000303/0.249, allocations: 347.5 kB / 0.8025 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2491, allocations: 318 kB / 0.8028 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.2502, allocations: 1.365 MB / 0.8041 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.2515, allocations: 1.489 MB / 0.8056 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006829/0.2583, allocations: 3.538 MB / 0.8091 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.2583, allocations: 4 kB / 0.8091 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004037/0.2624, allocations: 3.98 MB / 0.8129 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.2624, allocations: 7.938 kB / 0.813 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.2624, allocations: 4 kB / 0.813 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.2625, allocations: 0 / 0.813 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.2626, allocations: 15.98 kB / 0.813 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.2626, allocations: 3.938 kB / 0.813 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/0.2631, allocations: 232.4 kB / 0.8132 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.18e-05/0.2631, allocations: 23.98 kB / 0.8132 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.0003153/0.2635, allocations: 253.6 kB / 0.8135 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.315e-05/0.2635, allocations: 74.62 kB / 0.8135 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.2638, allocations: 83.59 kB / 0.8136 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2638, allocations: 0 / 0.8136 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2638, allocations: 4 kB / 0.8136 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.2639, allocations: 0 / 0.8136 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.2643, allocations: 0.5137 MB / 0.8141 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2643, allocations: 32 / 0.8141 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.309e-05/0.2644, allocations: 19.92 kB / 0.8141 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2644, allocations: 0 / 0.8141 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.2644, allocations: 8 kB / 0.8141 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.2644, allocations: 0 / 0.8141 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2644, allocations: 0 / 0.8141 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008291/0.2653, allocations: 1.006 MB / 0.8151 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.2654, allocations: 163.7 kB / 0.8153 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.618e-05/0.2654, allocations: 8 kB / 0.8153 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.2656, allocations: 3.984 kB / 0.8153 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.2656, allocations: 7.984 kB / 0.8153 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.2657, allocations: 15.97 kB / 0.8153 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006889/0.2664, allocations: 0.7179 MB / 0.816 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2664, allocations: 4 kB / 0.816 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009423/0.2673, allocations: 407.8 kB / 0.8164 GB, free: 10.67 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.001153/0.2685, allocations: 474.8 kB / 0.8169 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002043/0.2705, allocations: 2.503 MB / 0.8193 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2706, allocations: 0 / 0.8193 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.2709, allocations: 343.7 kB / 0.8196 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.2713, allocations: 48.66 kB / 0.8197 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.2734, allocations: 2.062 MB / 0.8217 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/0.2739, allocations: 0.9801 MB / 0.8227 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001856/0.2741, allocations: 49.28 kB / 0.8227 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.2742, allocations: 31.42 kB / 0.8227 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of SimCode: time 2.41e-07/0.2743, allocations: 0 / 0.8227 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of Templates: time 0.01692/0.2912, allocations: 9.872 MB / 0.8324 GB, free: 10.3 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)