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_SmallScaleValidation.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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.182/2.182, allocations: 251.1 MB / 266.7 MB, free: 11.61 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.001357/0.001356, allocations: 185 kB / 326.2 MB, free: 2.871 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.469/2.469, allocations: 205.4 MB / 0.5772 GB, free: 20.74 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.0009127/0.0009126, allocations: 86.23 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006685/0.0006687, allocations: 12.78 kB / 0.7958 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.203, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2505/0.4535, allocations: 150.9 MB / 1.047 GB, free: 10.37 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004893/0.454, allocations: 119.9 kB / 1.047 GB, free: 10.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7534/1.207, allocations: 29.84 MB / 1.076 GB, free: 149.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.404e-06/1.207, allocations: 0 / 1.076 GB, free: 149.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.062e-05/1.208, allocations: 14.47 kB / 1.076 GB, free: 149.5 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.003751/1.211, allocations: 1.201 MB / 1.077 GB, free: 148.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/1.211, allocations: 9.875 kB / 1.077 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006269/1.212, allocations: 104.2 kB / 1.077 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/1.213, allocations: 470.6 kB / 1.078 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/1.213, allocations: 26.22 kB / 1.078 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/1.213, allocations: 35.97 kB / 1.078 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006471/1.214, allocations: 391.2 kB / 1.078 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/1.214, allocations: 1.219 kB / 1.078 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/1.214, allocations: 7.938 kB / 1.078 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/1.214, allocations: 1 kB / 1.078 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007064/1.215, allocations: 439.4 kB / 1.079 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/1.216, allocations: 0.7668 MB / 1.08 GB, free: 148 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009291/1.217, allocations: 0.5637 MB / 1.08 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006579/1.218, allocations: 334.8 kB / 1.08 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/1.219, allocations: 1.034 MB / 1.081 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007663/1.22, allocations: 407.3 kB / 1.082 GB, free: 146.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.996e-06/1.22, allocations: 3.938 kB / 1.082 GB, free: 146.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.001918/1.222, allocations: 1.304 MB / 1.083 GB, free: 146.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/1.222, allocations: 85.17 kB / 1.083 GB, free: 146.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/1.224, allocations: 1.275 MB / 1.084 GB, free: 145.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002344/1.224, allocations: 40.7 kB / 1.084 GB, free: 145.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/1.224, allocations: 297 kB / 1.085 GB, free: 145.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/1.224, allocations: 32.2 kB / 1.085 GB, free: 145.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-05/1.225, allocations: 11.81 kB / 1.085 GB, free: 145.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.225, allocations: 421.9 kB / 1.085 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001962/1.227, allocations: 1.217 MB / 1.086 GB, free: 145 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002457/1.229, allocations: 1.372 MB / 1.088 GB, free: 144.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002406/1.232, allocations: 1.605 MB / 1.089 GB, free: 144.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/1.232, allocations: 0 / 1.089 GB, free: 144.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006012/1.238, allocations: 3.452 MB / 1.093 GB, free: 141.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/1.238, allocations: 11.97 kB / 1.093 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.068e-05/1.238, allocations: 4 kB / 1.093 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/1.238, allocations: 4 kB / 1.093 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/1.239, allocations: 145 kB / 1.093 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/1.239, allocations: 4.859 kB / 1.093 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/1.241, allocations: 240.3 kB / 1.093 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/1.241, allocations: 59.98 kB / 1.093 GB, free: 140.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.0005356/1.241, allocations: 266.6 kB / 1.093 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.974e-05/1.241, allocations: 74.62 kB / 1.093 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/1.243, allocations: 0.9445 MB / 1.094 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/1.243, allocations: 4 kB / 1.094 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.243, allocations: 3.938 kB / 1.094 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/1.243, allocations: 0 / 1.094 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007056/1.243, allocations: 0.5126 MB / 1.095 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.243, allocations: 4.031 kB / 1.095 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/1.244, allocations: 7.938 kB / 1.095 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/1.244, allocations: 3.938 kB / 1.095 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/1.244, allocations: 7.984 kB / 1.095 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/1.244, allocations: 0 / 1.095 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.244, allocations: 4 kB / 1.095 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/1.245, allocations: 1.013 MB / 1.096 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/1.245, allocations: 159.8 kB / 1.096 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/1.245, allocations: 3.938 kB / 1.096 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/1.245, allocations: 4 kB / 1.096 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/1.245, allocations: 11.98 kB / 1.096 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/1.246, allocations: 15.92 kB / 1.096 GB, free: 137.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001175/1.247, allocations: 0.7101 MB / 1.097 GB, free: 137.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/1.247, allocations: 4 kB / 1.097 GB, free: 137.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002359/1.249, allocations: 0.4994 MB / 1.097 GB, free: 136.6 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.003128/1.252, allocations: 0.6355 MB / 1.098 GB, free: 136 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003107/1.255, allocations: 2.367 MB / 1.1 GB, free: 133.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.256, allocations: 0 / 1.1 GB, free: 133.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004115/1.256, allocations: 343.9 kB / 1.1 GB, free: 133.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006463/1.257, allocations: 56.66 kB / 1.101 GB, free: 133.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/1.26, allocations: 1.98 MB / 1.102 GB, free: 131.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/1.26, allocations: 0.9851 MB / 1.103 GB, free: 130.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003987/1.261, allocations: 60.05 kB / 1.103 GB, free: 130.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/1.261, allocations: 35.42 kB / 1.104 GB, free: 130.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.142e-06/1.261, allocations: 0 / 1.104 GB, free: 130.1 MB / 0.698 GB Notification: Performance of Templates: time 0.02953/1.29, allocations: 11.22 MB / 1.114 GB, free: 118.9 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)