Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.164/2.164, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001415, allocations: 184.4 kB / 326.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.474/2.474, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009333/0.000933, allocations: 91.92 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006327/0.000633, allocations: 12.12 kB / 0.7958 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2064, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2546/0.4611, allocations: 146.4 MB / 1.043 GB, free: 14.87 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004855/0.4616, allocations: 119.9 kB / 1.043 GB, free: 14.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.703/1.165, allocations: 21.93 MB / 1.064 GB, free: 146.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.345e-06/1.165, allocations: 0 / 1.064 GB, free: 146.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.15e-05/1.165, allocations: 14.72 kB / 1.064 GB, free: 146.8 MB / 0.698 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.00325/1.168, allocations: 1.154 MB / 1.065 GB, free: 146 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/1.168, allocations: 12 kB / 1.065 GB, free: 146 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006428/1.169, allocations: 93.95 kB / 1.065 GB, free: 146 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/1.17, allocations: 427.6 kB / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.034e-05/1.17, allocations: 22.58 kB / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/1.17, allocations: 36.73 kB / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007639/1.171, allocations: 395.3 kB / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/1.171, allocations: 192 / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/1.171, allocations: 5.438 kB / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/1.171, allocations: 1.594 kB / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008665/1.172, allocations: 431.8 kB / 1.067 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/1.173, allocations: 0.7421 MB / 1.067 GB, free: 145.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/1.175, allocations: 0.5629 MB / 1.068 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005931/1.175, allocations: 337 kB / 1.068 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/1.176, allocations: 1.044 MB / 1.069 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007162/1.177, allocations: 407.5 kB / 1.07 GB, free: 144.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 3.006e-06/1.177, allocations: 0 / 1.07 GB, free: 144.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.002587/1.18, allocations: 1.298 MB / 1.071 GB, free: 144 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/1.18, allocations: 85.89 kB / 1.071 GB, free: 143.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/1.182, allocations: 1.194 MB / 1.072 GB, free: 143.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002341/1.182, allocations: 42.42 kB / 1.072 GB, free: 143.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/1.183, allocations: 278.1 kB / 1.072 GB, free: 143.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.387e-05/1.183, allocations: 20.25 kB / 1.072 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.861e-05/1.183, allocations: 12.31 kB / 1.072 GB, free: 143.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.183, allocations: 419.3 kB / 1.073 GB, free: 143.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002295/1.185, allocations: 1.218 MB / 1.074 GB, free: 143.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002606/1.188, allocations: 1.36 MB / 1.075 GB, free: 143.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003009/1.191, allocations: 1.612 MB / 1.077 GB, free: 142.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/1.191, allocations: 1.094 kB / 1.077 GB, free: 142.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00731/1.198, allocations: 3.444 MB / 1.08 GB, free: 142.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/1.198, allocations: 9.188 kB / 1.08 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.6e-05/1.199, allocations: 2.219 kB / 1.08 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/1.199, allocations: 3.125 kB / 1.08 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/1.2, allocations: 148.5 kB / 1.08 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/1.2, allocations: 3.562 kB / 1.08 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/1.201, allocations: 244 kB / 1.081 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002204/1.202, allocations: 57.94 kB / 1.081 GB, free: 141.9 MB / 0.698 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006321/1.202, allocations: 256 kB / 1.081 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/1.202, allocations: 67.84 kB / 1.081 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/1.204, allocations: 0.9399 MB / 1.082 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/1.204, allocations: 3.688 kB / 1.082 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.204, allocations: 6.062 kB / 1.082 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/1.204, allocations: 3.75 kB / 1.082 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008545/1.205, allocations: 494.2 kB / 1.082 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.205, allocations: 3.938 kB / 1.082 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/1.205, allocations: 12.34 kB / 1.082 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/1.205, allocations: 3.938 kB / 1.082 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/1.205, allocations: 4.297 kB / 1.082 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/1.205, allocations: 3.906 kB / 1.082 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.205, allocations: 0 / 1.082 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/1.206, allocations: 0.9972 MB / 1.083 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/1.207, allocations: 154.2 kB / 1.084 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/1.207, allocations: 8.547 kB / 1.084 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/1.207, allocations: 4.375 kB / 1.084 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/1.207, allocations: 13.39 kB / 1.084 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/1.207, allocations: 13 kB / 1.084 GB, free: 141.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001144/1.208, allocations: 0.6595 MB / 1.084 GB, free: 141.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.82e-07/1.208, allocations: 0 / 1.084 GB, free: 141.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002035/1.21, allocations: 494.1 kB / 1.085 GB, free: 141 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002386/1.213, allocations: 0.565 MB / 1.085 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003329/1.216, allocations: 2.361 MB / 1.088 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.216, allocations: 3.938 kB / 1.088 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004255/1.217, allocations: 339.6 kB / 1.088 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/1.217, allocations: 34.09 kB / 1.088 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/1.22, allocations: 1.843 MB / 1.09 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/1.221, allocations: 0.9641 MB / 1.091 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003973/1.221, allocations: 59.53 kB / 1.091 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/1.221, allocations: 36 kB / 1.091 GB, free: 139.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.192e-06/1.222, allocations: 0 / 1.091 GB, free: 139.4 MB / 0.698 GB Notification: Performance of Templates: time 0.02606/1.248, allocations: 9.47 MB / 1.1 GB, free: 132.4 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)