Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.298/1.298, allocations: 252 MB / 267.9 MB, free: 10.91 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.001085/0.001085, allocations: 182.2 kB / 327.6 MB, free: 2.18 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.4 MB / 0.5785 GB, free: 20.49 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.0007918/0.0007918, allocations: 86.86 kB / 0.6831 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 12.28 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.184, allocations: 106.3 MB / 0.9013 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1687/0.3527, allocations: 151.1 MB / 1.049 GB, free: 8.676 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/0.3531, allocations: 123.8 kB / 1.049 GB, free: 8.555 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4114/0.7645, allocations: 29.84 MB / 1.078 GB, free: 148.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7646, allocations: 0 / 1.078 GB, free: 148.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.537e-05/0.7646, allocations: 14.75 kB / 1.078 GB, free: 148.6 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.002406/0.767, allocations: 1.189 MB / 1.079 GB, free: 147.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.7671, allocations: 9.562 kB / 1.079 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003827/0.7675, allocations: 104.3 kB / 1.079 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006482/0.7681, allocations: 483 kB / 1.08 GB, free: 147.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.7682, allocations: 21.31 kB / 1.08 GB, free: 147.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.14e-05/0.7682, allocations: 36.31 kB / 1.08 GB, free: 147.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004545/0.7687, allocations: 393.6 kB / 1.08 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.7687, allocations: 1.562 kB / 1.08 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.7687, allocations: 3.938 kB / 1.08 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.7688, allocations: 5.406 kB / 1.08 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004632/0.7692, allocations: 433.5 kB / 1.081 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008647/0.7701, allocations: 0.7696 MB / 1.081 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007229/0.7708, allocations: 0.5649 MB / 1.082 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.7712, allocations: 333.4 kB / 1.082 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000651/0.7718, allocations: 1.032 MB / 1.083 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002809/0.7721, allocations: 413.3 kB / 1.084 GB, free: 145.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.7721, allocations: 0 / 1.084 GB, free: 145.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.001009/0.7732, allocations: 1.303 MB / 1.085 GB, free: 144.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.7732, allocations: 88.27 kB / 1.085 GB, free: 144.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.7743, allocations: 1.272 MB / 1.086 GB, free: 144.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.6e-05/0.7744, allocations: 41.08 kB / 1.086 GB, free: 144.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.7746, allocations: 292.7 kB / 1.087 GB, free: 144.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.7746, allocations: 26.14 kB / 1.087 GB, free: 144.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.7747, allocations: 11.5 kB / 1.087 GB, free: 144.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.7748, allocations: 425.4 kB / 1.087 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.7758, allocations: 1.212 MB / 1.088 GB, free: 143.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.777, allocations: 1.37 MB / 1.09 GB, free: 143.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004336/0.7814, allocations: 2.751 MB / 1.092 GB, free: 141.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.7814, allocations: 4 kB / 1.092 GB, free: 141.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003186/0.7846, allocations: 3.451 MB / 1.096 GB, free: 138.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.7846, allocations: 7.938 kB / 1.096 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.7846, allocations: 4 kB / 1.096 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.7846, allocations: 4 kB / 1.096 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005433/0.7852, allocations: 147.7 kB / 1.096 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.7852, allocations: 4 kB / 1.096 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/0.7857, allocations: 240.3 kB / 1.096 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.326e-05/0.7858, allocations: 56.69 kB / 1.096 GB, free: 137.7 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.000252/0.786, allocations: 269.6 kB / 1.096 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.7861, allocations: 82.55 kB / 1.096 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007064/0.7868, allocations: 0.9445 MB / 1.097 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.7868, allocations: 4 kB / 1.097 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7868, allocations: 4.562 kB / 1.097 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.7868, allocations: 0 / 1.097 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.7872, allocations: 0.5177 MB / 1.098 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.7872, allocations: 0 / 1.098 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.43e-05/0.7873, allocations: 4 kB / 1.098 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.7873, allocations: 7.922 kB / 1.098 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.7873, allocations: 7.938 kB / 1.098 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.7873, allocations: 0 / 1.098 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7873, allocations: 0 / 1.098 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006105/0.788, allocations: 1.018 MB / 1.099 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.7881, allocations: 163.7 kB / 1.099 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.355e-05/0.7881, allocations: 3.938 kB / 1.099 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.7883, allocations: 7.984 kB / 1.099 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.7883, allocations: 7.984 kB / 1.099 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/0.7884, allocations: 15.97 kB / 1.099 GB, free: 134.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005893/0.789, allocations: 0.7101 MB / 1.1 GB, free: 133.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/0.789, allocations: 0 / 1.1 GB, free: 133.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001834/0.7908, allocations: 0.4954 MB / 1.1 GB, free: 133.3 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.002462/0.7933, allocations: 0.6346 MB / 1.101 GB, free: 132.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00187/0.7952, allocations: 2.363 MB / 1.103 GB, free: 130.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.7952, allocations: 64 / 1.103 GB, free: 130.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.7954, allocations: 347.7 kB / 1.104 GB, free: 130 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.7959, allocations: 48.7 kB / 1.104 GB, free: 129.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.7977, allocations: 1.987 MB / 1.106 GB, free: 127.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.798, allocations: 0.9928 MB / 1.106 GB, free: 126.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001992/0.7982, allocations: 54.97 kB / 1.107 GB, free: 126.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.415e-05/0.7983, allocations: 47.41 kB / 1.107 GB, free: 126.8 MB / 0.698 GB Notification: Performance of SimCode: time 3.3e-07/0.7983, allocations: 0 / 1.107 GB, free: 126.8 MB / 0.698 GB Notification: Performance of Templates: time 0.01644/0.8148, allocations: 11.19 MB / 1.118 GB, free: 115.7 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)