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.0008158/0.0008185, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005083/0.005083, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.319/1.319, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9117/0.9117, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004747, allocations: 11.98 kB / 0.5076 GB, free: 4.703 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1631, allocations: 82.31 MB / 0.588 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001876/0.165, allocations: 1.443 MB / 0.5894 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005971/0.171, allocations: 4.314 MB / 0.5936 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.1712, allocations: 0 / 0.5936 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.1724, allocations: 362.6 kB / 0.594 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.1725, allocations: 47.73 kB / 0.594 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.1746, allocations: 0.7637 MB / 0.5948 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.1749, allocations: 187.4 kB / 0.5949 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.64e-05/0.175, allocations: 25.47 kB / 0.595 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.588e-05/0.175, allocations: 47.73 kB / 0.595 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.1753, allocations: 172.8 kB / 0.5952 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.1753, allocations: 16 kB / 0.5952 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.1772, allocations: 1.396 MB / 0.5966 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.1774, allocations: 279.8 kB / 0.5968 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.1776, allocations: 331.8 kB / 0.5971 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.1793, allocations: 1.535 MB / 0.5986 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1793, allocations: 0 / 0.5986 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.475e-06/0.1793, allocations: 0 / 0.5986 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.1793, allocations: 0 / 0.5986 GB, free: 7.621 MB / 0.4981 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.0108/0.1901, allocations: 1.211 MB / 0.5998 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1902, allocations: 12.03 kB / 0.5998 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003592/0.1905, allocations: 99.59 kB / 0.5999 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004658/0.191, allocations: 406 kB / 0.6003 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1911, allocations: 384 / 0.6003 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.537e-05/0.1911, allocations: 8.125 kB / 0.6003 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.1915, allocations: 391.1 kB / 0.6007 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.1915, allocations: 4 kB / 0.6007 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.1916, allocations: 7.984 kB / 0.6007 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1916, allocations: 0 / 0.6007 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.192, allocations: 427.8 kB / 0.6011 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006356/0.1927, allocations: 0.6651 MB / 0.6018 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.1932, allocations: 0.5632 MB / 0.6023 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.1935, allocations: 341.7 kB / 0.6026 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/0.1946, allocations: 1.032 MB / 0.6037 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003998/0.195, allocations: 412.8 kB / 0.604 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.195, allocations: 3.938 kB / 0.6041 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001299/0.1963, allocations: 1.297 MB / 0.6053 GB, free: 360 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.1963, allocations: 81.11 kB / 0.6054 GB, free: 260 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2589/0.4553, allocations: 1.28 MB / 0.6066 GB, free: 49.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.343e-05/0.4554, allocations: 29.14 kB / 0.6067 GB, free: 49.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.4556, allocations: 290.2 kB / 0.6069 GB, free: 49.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.541e-05/0.4556, allocations: 17.48 kB / 0.607 GB, free: 49.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.4559, allocations: 288.8 kB / 0.6072 GB, free: 49.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.969e-05/0.4559, allocations: 319.1 kB / 0.6075 GB, free: 49.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009727/0.4569, allocations: 1.361 MB / 0.6089 GB, free: 49.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.4581, allocations: 1.494 MB / 0.6103 GB, free: 49.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006526/0.4646, allocations: 3.544 MB / 0.6138 GB, free: 47.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4646, allocations: 1.25 kB / 0.6138 GB, free: 47.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003562/0.4682, allocations: 3.972 MB / 0.6177 GB, free: 45.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4682, allocations: 6 kB / 0.6177 GB, free: 45.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.4683, allocations: 4.438 kB / 0.6177 GB, free: 45.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.4683, allocations: 0 / 0.6177 GB, free: 45.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.4684, allocations: 14.97 kB / 0.6177 GB, free: 45.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4684, allocations: 5.5 kB / 0.6177 GB, free: 45.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.4689, allocations: 229.6 kB / 0.6179 GB, free: 45.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.469, allocations: 28.89 kB / 0.6179 GB, free: 45.44 MB / 0.4981 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.0002667/0.4692, allocations: 246.2 kB / 0.6182 GB, free: 45.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.4693, allocations: 72.28 kB / 0.6183 GB, free: 45.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.4696, allocations: 83.89 kB / 0.6183 GB, free: 45.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4696, allocations: 3.281 kB / 0.6183 GB, free: 45.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4696, allocations: 3.312 kB / 0.6183 GB, free: 45.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4696, allocations: 0 / 0.6183 GB, free: 45.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.47, allocations: 0.5092 MB / 0.6188 GB, free: 44.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.47, allocations: 3.094 kB / 0.6188 GB, free: 44.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.846e-05/0.4701, allocations: 6.594 kB / 0.6188 GB, free: 44.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4701, allocations: 3.312 kB / 0.6188 GB, free: 44.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.4702, allocations: 7.266 kB / 0.6189 GB, free: 44.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4702, allocations: 0 / 0.6189 GB, free: 44.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.4702, allocations: 11.69 kB / 0.6189 GB, free: 44.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007352/0.4709, allocations: 1.003 MB / 0.6198 GB, free: 44.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.471, allocations: 168.5 kB / 0.62 GB, free: 44.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.406e-05/0.4711, allocations: 3.938 kB / 0.62 GB, free: 44.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.4713, allocations: 9.109 kB / 0.62 GB, free: 44.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.4713, allocations: 9.188 kB / 0.62 GB, free: 44.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/0.4714, allocations: 14.28 kB / 0.62 GB, free: 44.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000686/0.4721, allocations: 0.7153 MB / 0.6207 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4721, allocations: 3.125 kB / 0.6207 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001081/0.4732, allocations: 404.5 kB / 0.6211 GB, free: 44.36 MB / 0.4981 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.001297/0.4745, allocations: 484 kB / 0.6216 GB, free: 44.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001718/0.4762, allocations: 2.492 MB / 0.624 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4762, allocations: 0 / 0.624 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.4765, allocations: 340.5 kB / 0.6243 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000488/0.477, allocations: 57.31 kB / 0.6244 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.4789, allocations: 2.075 MB / 0.6264 GB, free: 42.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.4793, allocations: 0.989 MB / 0.6274 GB, free: 41.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000184/0.4795, allocations: 41.88 kB / 0.6274 GB, free: 41.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.4796, allocations: 24.81 kB / 0.6275 GB, free: 41.71 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.4796, allocations: 0 / 0.6275 GB, free: 41.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.01742/0.497, allocations: 9.767 MB / 0.637 GB, free: 41.09 MB / 0.4981 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)