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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001826, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7504/0.7504, allocations: 133.6 MB / 141.6 MB, free: 2.805 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 221.5 MB / 395.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008192/0.0008192, allocations: 98.34 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.939e-05/1.951e-05, allocations: 4 kB / 0.5535 GB, free: 9.016 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5069/0.507, allocations: 82.31 MB / 0.6339 GB, free: 40.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.169/0.676, allocations: 130.1 MB / 0.7609 GB, free: 8.66 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003497/0.6764, allocations: 115.9 kB / 0.761 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1049/0.7813, allocations: 29.88 MB / 0.7902 GB, free: 10.58 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7813, allocations: 0 / 0.7902 GB, free: 10.58 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.436e-05/0.7814, allocations: 16 kB / 0.7902 GB, free: 10.57 MB / 0.573 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.002516/0.7839, allocations: 1.06 MB / 0.7912 GB, free: 9.461 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.784, allocations: 8.031 kB / 0.7913 GB, free: 9.453 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004376/0.7844, allocations: 102.6 kB / 0.7914 GB, free: 9.352 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008099/0.7853, allocations: 464.8 kB / 0.7918 GB, free: 8.848 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.7853, allocations: 0 / 0.7918 GB, free: 8.848 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-05/0.7854, allocations: 27.98 kB / 0.7918 GB, free: 8.82 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003644/0.7858, allocations: 423.8 kB / 0.7922 GB, free: 8.406 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.7861, allocations: 387.1 kB / 0.7926 GB, free: 8.016 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.7861, allocations: 0 / 0.7926 GB, free: 8.016 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.7862, allocations: 0 / 0.7926 GB, free: 8.016 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.7862, allocations: 3.953 kB / 0.7926 GB, free: 8.012 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009973/0.7872, allocations: 0.7187 MB / 0.7933 GB, free: 7.254 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005576/0.7878, allocations: 0.5477 MB / 0.7938 GB, free: 6.688 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/0.7881, allocations: 333.7 kB / 0.7942 GB, free: 6.355 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/0.7893, allocations: 1.04 MB / 0.7952 GB, free: 5.094 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003862/0.7897, allocations: 404.9 kB / 0.7956 GB, free: 4.68 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.7897, allocations: 0 / 0.7956 GB, free: 4.68 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.001035/0.7907, allocations: 0.9647 MB / 0.7965 GB, free: 3.707 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.7908, allocations: 89.09 kB / 0.7966 GB, free: 3.602 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.7921, allocations: 1.056 MB / 0.7976 GB, free: 2.535 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.055e-05/0.7921, allocations: 25.7 kB / 0.7976 GB, free: 2.504 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/0.7924, allocations: 289.9 kB / 0.7979 GB, free: 2.215 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.7925, allocations: 19.8 kB / 0.7979 GB, free: 2.195 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.7925, allocations: 4.031 kB / 0.7979 GB, free: 2.191 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000218/0.7928, allocations: 423.8 kB / 0.7983 GB, free: 1.77 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.794, allocations: 1.194 MB / 0.7995 GB, free: 0.5742 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4624/1.256, allocations: 1.319 MB / 0.8008 GB, free: 144.6 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/1.259, allocations: 1.584 MB / 0.8023 GB, free: 144.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.259, allocations: 0 / 0.8023 GB, free: 144.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004885/1.264, allocations: 3.385 MB / 0.8057 GB, free: 143.6 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/1.264, allocations: 10.97 kB / 0.8057 GB, free: 143.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/1.264, allocations: 2.656 kB / 0.8057 GB, free: 143.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/1.264, allocations: 4.109 kB / 0.8057 GB, free: 143.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/1.264, allocations: 146 kB / 0.8058 GB, free: 143.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/1.264, allocations: 4.016 kB / 0.8058 GB, free: 143.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006372/1.265, allocations: 225 kB / 0.806 GB, free: 143.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/1.265, allocations: 59.59 kB / 0.8061 GB, free: 143.5 MB / 0.573 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 () * 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.0001287/1.265, allocations: 115.8 kB / 0.8062 GB, free: 143.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/1.265, allocations: 75 kB / 0.8063 GB, free: 143.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/1.267, allocations: 0.938 MB / 0.8072 GB, free: 143.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/1.267, allocations: 4.375 kB / 0.8072 GB, free: 143.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.267, allocations: 0.5312 kB / 0.8072 GB, free: 143.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.267, allocations: 1.797 kB / 0.8072 GB, free: 143.3 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006446/1.268, allocations: 497.7 kB / 0.8077 GB, free: 143.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/1.268, allocations: 0 / 0.8077 GB, free: 143.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.164e-05/1.268, allocations: 7.391 kB / 0.8077 GB, free: 143.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/1.268, allocations: 0.6094 kB / 0.8077 GB, free: 143.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/1.268, allocations: 14.42 kB / 0.8077 GB, free: 143.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/1.268, allocations: 2.766 kB / 0.8077 GB, free: 143.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.268, allocations: 1.844 kB / 0.8077 GB, free: 143.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/1.269, allocations: 0.9995 MB / 0.8087 GB, free: 143 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.757e-05/1.269, allocations: 164 kB / 0.8088 GB, free: 142.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.998e-05/1.269, allocations: 5.438 kB / 0.8088 GB, free: 142.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/1.269, allocations: 7.734 kB / 0.8088 GB, free: 142.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/1.27, allocations: 7.922 kB / 0.8088 GB, free: 142.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/1.27, allocations: 13.08 kB / 0.8089 GB, free: 142.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007488/1.27, allocations: 0.6379 MB / 0.8095 GB, free: 142.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/1.27, allocations: 4.281 kB / 0.8095 GB, free: 142.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001729/1.272, allocations: 490.1 kB / 0.8099 GB, free: 142.7 MB / 0.573 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) * 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.001544/1.274, allocations: 0.6526 MB / 0.8106 GB, free: 142.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001752/1.275, allocations: 2.331 MB / 0.8129 GB, free: 142 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.275, allocations: 3.75 kB / 0.8129 GB, free: 142 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/1.276, allocations: 331.4 kB / 0.8132 GB, free: 142 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/1.276, allocations: 51.78 kB / 0.8132 GB, free: 142 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/1.277, allocations: 1.49 MB / 0.8147 GB, free: 141.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/1.278, allocations: 1.006 MB / 0.8157 GB, free: 140.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001938/1.278, allocations: 58.91 kB / 0.8157 GB, free: 140.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.907e-05/1.278, allocations: 41.8 kB / 0.8158 GB, free: 140.9 MB / 0.573 GB Notification: Performance of SimCode: time 2.4e-07/1.278, allocations: 0 / 0.8158 GB, free: 140.9 MB / 0.573 GB Notification: Performance of Templates: time 0.0148/1.293, allocations: 9.969 MB / 0.8255 GB, free: 140.4 MB / 0.573 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)