Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.233/2.233, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 195.4 kB / 499.1 MB, free: 4.645 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 0.7948 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009967/0.0009966, allocations: 99.69 kB / 0.9329 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 56.05 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2166, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002606/0.2193, allocations: 1.791 MB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.004417/0.2237, allocations: 4.398 MB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.394e-05/0.2238, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009428/0.2248, allocations: 358.4 kB / 1.225 GB, free: 110.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.122e-05/0.2249, allocations: 55.72 kB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.2264, allocations: 0.7569 MB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.2266, allocations: 195.3 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.2267, allocations: 9.547 kB / 1.226 GB, free: 109.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.132e-05/0.2267, allocations: 59.72 kB / 1.226 GB, free: 109.6 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.2269, allocations: 176.8 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.644e-05/0.2269, allocations: 12 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.2283, allocations: 1.396 MB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.2285, allocations: 275.8 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.2287, allocations: 310.1 kB / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.23, allocations: 1.535 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2301, allocations: 0 / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2301, allocations: 0 / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.2301, allocations: 0 / 1.229 GB, free: 105.9 MB / 0.823 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.009781/0.2399, allocations: 1.281 MB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2399, allocations: 19.98 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000328/0.2402, allocations: 99.48 kB / 1.231 GB, free: 104.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.2406, allocations: 398.1 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.2406, allocations: 384 / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.2407, allocations: 8.375 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.241, allocations: 399.4 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.241, allocations: 0 / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.241, allocations: 8 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2411, allocations: 3.938 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.2414, allocations: 431.7 kB / 1.232 GB, free: 103.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.2418, allocations: 0.6575 MB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.2421, allocations: 0.5633 MB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.2423, allocations: 337.7 kB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007676/0.2431, allocations: 1.032 MB / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002921/0.2434, allocations: 416.8 kB / 1.235 GB, free: 99.85 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.2434, allocations: 0 / 1.235 GB, free: 99.85 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0009066/0.2443, allocations: 1.289 MB / 1.236 GB, free: 98.55 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.2444, allocations: 89.14 kB / 1.236 GB, free: 98.45 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008118/0.2452, allocations: 1.285 MB / 1.237 GB, free: 97.15 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.2452, allocations: 29.7 kB / 1.237 GB, free: 97.12 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.2454, allocations: 281.4 kB / 1.238 GB, free: 96.84 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.2454, allocations: 27.72 kB / 1.238 GB, free: 96.81 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.2456, allocations: 343.6 kB / 1.238 GB, free: 96.47 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.746e-05/0.2457, allocations: 326 kB / 1.238 GB, free: 96.14 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008138/0.2465, allocations: 1.365 MB / 1.24 GB, free: 94.78 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009107/0.2474, allocations: 1.489 MB / 1.241 GB, free: 93.28 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005744/0.2532, allocations: 3.541 MB / 1.244 GB, free: 89.65 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2532, allocations: 0 / 1.244 GB, free: 89.65 MB / 0.823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.002935/0.2561, allocations: 3.976 MB / 1.248 GB, free: 85.64 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2562, allocations: 4.938 kB / 1.248 GB, free: 85.63 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.2562, allocations: 0 / 1.248 GB, free: 85.63 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.2562, allocations: 4 kB / 1.248 GB, free: 85.63 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.2564, allocations: 19.92 kB / 1.248 GB, free: 85.61 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2564, allocations: 0 / 1.248 GB, free: 85.61 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/0.2568, allocations: 228.4 kB / 1.249 GB, free: 85.38 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/0.2569, allocations: 28.02 kB / 1.249 GB, free: 85.36 MB / 0.823 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.000223/0.2571, allocations: 242.3 kB / 1.249 GB, free: 85.11 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.2571, allocations: 74.62 kB / 1.249 GB, free: 85.04 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.2574, allocations: 83.66 kB / 1.249 GB, free: 84.94 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2574, allocations: 0 / 1.249 GB, free: 84.94 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2574, allocations: 32 / 1.249 GB, free: 84.94 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2574, allocations: 4 kB / 1.249 GB, free: 84.94 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.2578, allocations: 0.5177 MB / 1.249 GB, free: 84.38 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2578, allocations: 0 / 1.249 GB, free: 84.38 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.683e-05/0.2579, allocations: 11.92 kB / 1.25 GB, free: 84.36 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2579, allocations: 4 kB / 1.25 GB, free: 84.36 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.2579, allocations: 4 kB / 1.25 GB, free: 84.36 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2579, allocations: 0 / 1.25 GB, free: 84.36 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2579, allocations: 4 kB / 1.25 GB, free: 84.35 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.2592, allocations: 2.265 MB / 1.252 GB, free: 82.02 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.028e-05/0.2593, allocations: 163.7 kB / 1.252 GB, free: 81.84 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.944e-05/0.2594, allocations: 8 kB / 1.252 GB, free: 81.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.2596, allocations: 8 kB / 1.252 GB, free: 81.83 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.2596, allocations: 11.92 kB / 1.252 GB, free: 81.82 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-05/0.2597, allocations: 11.98 kB / 1.252 GB, free: 81.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006454/0.2603, allocations: 0.7179 MB / 1.253 GB, free: 81.08 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2604, allocations: 0 / 1.253 GB, free: 81.08 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009214/0.2613, allocations: 407.8 kB / 1.253 GB, free: 80.68 MB / 0.823 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.0009908/0.2623, allocations: 490.7 kB / 1.253 GB, free: 80.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.2638, allocations: 2.492 MB / 1.256 GB, free: 77.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2638, allocations: 4 kB / 1.256 GB, free: 77.69 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.264, allocations: 339.9 kB / 1.256 GB, free: 77.36 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.2644, allocations: 58.83 kB / 1.256 GB, free: 77.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.266, allocations: 2.166 MB / 1.258 GB, free: 75.09 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.2663, allocations: 0.9881 MB / 1.259 GB, free: 74.08 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000163/0.2665, allocations: 37.42 kB / 1.259 GB, free: 74.04 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.91e-05/0.2666, allocations: 31.42 kB / 1.259 GB, free: 74.01 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/0.2666, allocations: 3.938 kB / 1.259 GB, free: 74 MB / 0.823 GB Notification: Performance of Templates: time 0.01329/0.2799, allocations: 9.994 MB / 1.269 GB, free: 64.07 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)