Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.009034/0.009034, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.00195/0.00195, allocations: 197.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9057/0.9057, allocations: 135.1 MB / 425.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 59.91 kB / 0.5857 GB, free: 3.277 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.44, allocations: 80.92 MB / 0.6647 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002925/0.443, allocations: 1.73 MB / 0.6664 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005309/0.4483, allocations: 4.207 MB / 0.6705 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.4485, allocations: 1.375 kB / 0.6705 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.4497, allocations: 370.4 kB / 0.6709 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.4499, allocations: 64.23 kB / 0.6709 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003433/0.4534, allocations: 0.9893 MB / 0.6719 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.4536, allocations: 147.9 kB / 0.672 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.4537, allocations: 9.188 kB / 0.672 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.943e-05/0.4538, allocations: 57.77 kB / 0.6721 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.454, allocations: 159.2 kB / 0.6722 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.454, allocations: 18.06 kB / 0.6723 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.4558, allocations: 1.378 MB / 0.6736 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.456, allocations: 274.9 kB / 0.6739 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.4563, allocations: 306.2 kB / 0.6742 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.4581, allocations: 1.55 MB / 0.6757 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.4581, allocations: 0 / 0.6757 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4581, allocations: 0 / 0.6757 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.4582, allocations: 1.219 kB / 0.6757 GB, free: 15.81 MB / 0.5137 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.01012/0.4683, allocations: 1.277 MB / 0.6769 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.4683, allocations: 9.594 kB / 0.6769 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003911/0.4687, allocations: 99.17 kB / 0.677 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004842/0.4692, allocations: 394.8 kB / 0.6774 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.4693, allocations: 6.609 kB / 0.6774 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.4693, allocations: 12.89 kB / 0.6774 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.4698, allocations: 390 kB / 0.6778 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.4699, allocations: 5.25 kB / 0.6778 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.4699, allocations: 0 / 0.6778 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.4699, allocations: 1.062 kB / 0.6778 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004731/0.4704, allocations: 434.8 kB / 0.6782 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006338/0.471, allocations: 0.6629 MB / 0.6789 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000573/0.4716, allocations: 0.5686 MB / 0.6794 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/0.4719, allocations: 340.8 kB / 0.6797 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.4729, allocations: 1.021 MB / 0.6807 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004214/0.4734, allocations: 406.7 kB / 0.6811 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.4734, allocations: 0 / 0.6811 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001483/0.4749, allocations: 1.299 MB / 0.6824 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.4749, allocations: 84.08 kB / 0.6825 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.4766, allocations: 1.284 MB / 0.6837 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.898e-05/0.4766, allocations: 27.58 kB / 0.6838 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.4769, allocations: 284.1 kB / 0.684 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.4769, allocations: 23.98 kB / 0.684 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003841/0.4773, allocations: 347.3 kB / 0.6844 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4775, allocations: 326.3 kB / 0.6847 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.4791, allocations: 1.358 MB / 0.686 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/0.4808, allocations: 1.493 MB / 0.6875 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007227/0.488, allocations: 3.538 MB / 0.6909 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.488, allocations: 3.938 kB / 0.6909 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00422/0.4922, allocations: 3.973 MB / 0.6948 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.4923, allocations: 4 kB / 0.6948 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.4923, allocations: 0 / 0.6948 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.4923, allocations: 4 kB / 0.6948 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.4925, allocations: 19.92 kB / 0.6948 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.4925, allocations: 0 / 0.6948 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006356/0.4931, allocations: 228.3 kB / 0.6951 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.4932, allocations: 27.98 kB / 0.6951 GB, free: 1.887 MB / 0.5137 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.0003419/0.4935, allocations: 249.6 kB / 0.6953 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.155e-05/0.4936, allocations: 74.69 kB / 0.6954 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.4939, allocations: 87.64 kB / 0.6955 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4939, allocations: 0 / 0.6955 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4939, allocations: 0 / 0.6955 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4939, allocations: 3.938 kB / 0.6955 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.4944, allocations: 0.5178 MB / 0.696 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4944, allocations: 0 / 0.696 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.936e-05/0.4945, allocations: 7.984 kB / 0.696 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.4945, allocations: 4 kB / 0.696 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.4945, allocations: 3.938 kB / 0.696 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4945, allocations: 0 / 0.696 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.4945, allocations: 4 kB / 0.696 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009059/0.4954, allocations: 1.021 MB / 0.697 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.4956, allocations: 159.7 kB / 0.6972 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.781e-05/0.4957, allocations: 0 / 0.6972 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.4958, allocations: 11.98 kB / 0.6972 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.4959, allocations: 4 kB / 0.6972 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.52e-05/0.4959, allocations: 19.97 kB / 0.6972 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008155/0.4967, allocations: 0.7179 MB / 0.6979 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4968, allocations: 0 / 0.6979 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001334/0.4981, allocations: 407.8 kB / 0.6983 GB, free: 14.5 MB / 0.5294 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.001125/0.4992, allocations: 484.1 kB / 0.6987 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002188/0.5014, allocations: 2.484 MB / 0.7012 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5014, allocations: 0 / 0.7012 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003233/0.5018, allocations: 347.7 kB / 0.7015 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.5022, allocations: 60.38 kB / 0.7016 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.5044, allocations: 1.869 MB / 0.7034 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005623/0.505, allocations: 0.9801 MB / 0.7043 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001496/0.5052, allocations: 41.41 kB / 0.7044 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.5053, allocations: 27.42 kB / 0.7044 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.5053, allocations: 4 kB / 0.7044 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of Templates: time 0.01828/0.5236, allocations: 10.17 MB / 0.7143 GB, free: 14.03 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)