Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001153/0.001153, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001166/0.001166, allocations: 199.2 kB / 16.14 MB, free: 6.688 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.305/1.305, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7552/0.7552, allocations: 132.2 MB / 422.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 68.06 kB / 0.5011 GB, free: 4.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4063, allocations: 80.2 MB / 0.5795 GB, free: 4.82 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00291/0.4093, allocations: 1.788 MB / 0.5812 GB, free: 3.574 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005715/0.415, allocations: 4.401 MB / 0.5855 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.4152, allocations: 1.375 kB / 0.5855 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.4164, allocations: 351 kB / 0.5858 GB, free: 460 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.4165, allocations: 57.09 kB / 0.5859 GB, free: 428 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.4189, allocations: 0.7672 MB / 0.5866 GB, free: 112 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002958/0.4192, allocations: 184.3 kB / 0.5868 GB, free: 56 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/0.4193, allocations: 9.797 kB / 0.5868 GB, free: 56 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.251e-05/0.4193, allocations: 59.3 kB / 0.5869 GB, free: 28 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000336/0.4197, allocations: 172.8 kB / 0.5871 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.09e-05/0.4197, allocations: 14.53 kB / 0.5871 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.4225, allocations: 1.396 MB / 0.5884 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003102/0.4228, allocations: 279.9 kB / 0.5887 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003081/0.4231, allocations: 301.1 kB / 0.589 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002623/0.4258, allocations: 1.539 MB / 0.5905 GB, free: 14.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4258, allocations: 0 / 0.5905 GB, free: 14.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4258, allocations: 4 kB / 0.5905 GB, free: 14.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.4258, allocations: 1.25 kB / 0.5905 GB, free: 14.78 MB / 446.1 MB 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.008617/0.4344, allocations: 1.282 MB / 0.5917 GB, free: 13.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.4345, allocations: 10.3 kB / 0.5918 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004778/0.435, allocations: 96.08 kB / 0.5918 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005529/0.4356, allocations: 401.5 kB / 0.5922 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.4356, allocations: 7.391 kB / 0.5922 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.4356, allocations: 13.56 kB / 0.5923 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005378/0.4362, allocations: 384.4 kB / 0.5926 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.4362, allocations: 0 / 0.5926 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.4362, allocations: 1.828 kB / 0.5926 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4362, allocations: 5.359 kB / 0.5926 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004644/0.4367, allocations: 442 kB / 0.593 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006564/0.4374, allocations: 0.6537 MB / 0.5937 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005611/0.4379, allocations: 0.5652 MB / 0.5942 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.4383, allocations: 337.1 kB / 0.5946 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/0.4394, allocations: 1.032 MB / 0.5956 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004314/0.4399, allocations: 402.4 kB / 0.596 GB, free: 11.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.4399, allocations: 8.719 kB / 0.596 GB, free: 11.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001445/0.4413, allocations: 1.291 MB / 0.5972 GB, free: 11.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.4414, allocations: 87.84 kB / 0.5973 GB, free: 10.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.4428, allocations: 1.277 MB / 0.5985 GB, free: 10.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.4428, allocations: 26.86 kB / 0.5986 GB, free: 10.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003266/0.4432, allocations: 288.8 kB / 0.5989 GB, free: 9.945 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.4432, allocations: 32.12 kB / 0.5989 GB, free: 9.918 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003651/0.4436, allocations: 347.8 kB / 0.5992 GB, free: 9.754 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4437, allocations: 317.8 kB / 0.5995 GB, free: 9.441 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.445, allocations: 1.358 MB / 0.6008 GB, free: 8.871 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.4465, allocations: 1.493 MB / 0.6023 GB, free: 8.199 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007391/0.4539, allocations: 3.545 MB / 0.6058 GB, free: 6.125 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4539, allocations: 0 / 0.6058 GB, free: 6.125 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004288/0.4582, allocations: 3.975 MB / 0.6096 GB, free: 2.418 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.4583, allocations: 8 kB / 0.6097 GB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.4583, allocations: 0 / 0.6097 GB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4583, allocations: 4.031 kB / 0.6097 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.4585, allocations: 15.98 kB / 0.6097 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.4585, allocations: 7.938 kB / 0.6097 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006544/0.4591, allocations: 228.3 kB / 0.6099 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/0.4592, allocations: 23.98 kB / 0.6099 GB, free: 2.133 MB / 446.1 MB 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.0003549/0.4596, allocations: 245.6 kB / 0.6102 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.343e-05/0.4596, allocations: 70.69 kB / 0.6102 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.4599, allocations: 87.66 kB / 0.6103 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.46, allocations: 0 / 0.6103 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.46, allocations: 0 / 0.6103 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.46, allocations: 0 / 0.6103 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004824/0.4605, allocations: 0.5177 MB / 0.6108 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4605, allocations: 4 kB / 0.6108 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.317e-05/0.4606, allocations: 7.984 kB / 0.6108 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4606, allocations: 4.031 kB / 0.6108 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.4606, allocations: 4 kB / 0.6108 GB, free: 1.133 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4606, allocations: 0 / 0.6108 GB, free: 1.133 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4606, allocations: 3.984 kB / 0.6108 GB, free: 1.129 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009201/0.4615, allocations: 1.01 MB / 0.6118 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.4617, allocations: 163.9 kB / 0.612 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.109e-05/0.4617, allocations: 3.984 kB / 0.612 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.4619, allocations: 7.938 kB / 0.612 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.462, allocations: 11.98 kB / 0.612 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/0.462, allocations: 11.98 kB / 0.612 GB, free: 15.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007588/0.4628, allocations: 0.7101 MB / 0.6127 GB, free: 15.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4628, allocations: 4 kB / 0.6127 GB, free: 15.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001463/0.4642, allocations: 407.8 kB / 0.6131 GB, free: 14.76 MB / 462.1 MB 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.001248/0.4655, allocations: 486.8 kB / 0.6136 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002219/0.4677, allocations: 2.492 MB / 0.616 GB, free: 11.78 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4677, allocations: 4.062 kB / 0.616 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003121/0.4681, allocations: 343.8 kB / 0.6163 GB, free: 11.44 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.4685, allocations: 59.45 kB / 0.6164 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.4708, allocations: 2.05 MB / 0.6184 GB, free: 9.297 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/0.4713, allocations: 0.9842 MB / 0.6193 GB, free: 8.289 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001936/0.4715, allocations: 37.44 kB / 0.6194 GB, free: 8.254 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.4717, allocations: 27.41 kB / 0.6194 GB, free: 8.227 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4717, allocations: 3.938 kB / 0.6194 GB, free: 8.223 MB / 462.1 MB Notification: Performance of Templates: time 0.01729/0.489, allocations: 9.867 MB / 0.629 GB, free: 14.41 MB / 478.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)