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/Complex 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) 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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.005348/0.005348, allocations: 170.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7187/0.7187, allocations: 132.3 MB / 148.1 MB, free: 204 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.2 MB / 403.2 MB, free: 6.703 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.0009745/0.0009745, allocations: 99.86 kB / 485.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003567, allocations: 8 kB / 0.5641 GB, free: 2.066 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.4592, allocations: 81.58 MB / 0.6438 GB, free: 39.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1674/0.6266, allocations: 130.6 MB / 0.7713 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/0.627, allocations: 127.8 kB / 0.7714 GB, free: 5.207 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4461/1.073, allocations: 30.16 MB / 0.8009 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.575e-06/1.073, allocations: 3.812 kB / 0.8009 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.735e-05/1.073, allocations: 13.88 kB / 0.8009 GB, free: 132.3 MB / 0.5573 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.002692/1.076, allocations: 1.203 MB / 0.8021 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/1.076, allocations: 9.125 kB / 0.8021 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004197/1.076, allocations: 103.2 kB / 0.8022 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008557/1.077, allocations: 473.6 kB / 0.8026 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/1.077, allocations: 25.41 kB / 0.8026 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.753e-05/1.077, allocations: 33.75 kB / 0.8027 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004448/1.078, allocations: 390.1 kB / 0.8031 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/1.078, allocations: 0 / 0.8031 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/1.078, allocations: 4.703 kB / 0.8031 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.078, allocations: 5.016 kB / 0.8031 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/1.078, allocations: 433 kB / 0.8035 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007089/1.079, allocations: 0.7761 MB / 0.8042 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004262/1.08, allocations: 0.5629 MB / 0.8048 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007265/1.08, allocations: 1.041 MB / 0.8058 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003059/1.081, allocations: 401.2 kB / 0.8062 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.953e-06/1.081, allocations: 0 / 0.8062 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.001128/1.082, allocations: 1.3 MB / 0.8075 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/1.082, allocations: 84.14 kB / 0.8075 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00098/1.083, allocations: 1.137 MB / 0.8086 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.479e-05/1.083, allocations: 43.7 kB / 0.8087 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/1.083, allocations: 297.4 kB / 0.809 GB, free: 129 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/1.083, allocations: 18.94 kB / 0.809 GB, free: 129 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/1.083, allocations: 16.88 kB / 0.809 GB, free: 129 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.083, allocations: 424.2 kB / 0.8094 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/1.084, allocations: 1.224 MB / 0.8106 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/1.086, allocations: 1.357 MB / 0.8119 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/1.087, allocations: 1.606 MB / 0.8135 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/1.087, allocations: 3.938 kB / 0.8135 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003891/1.091, allocations: 3.457 MB / 0.8169 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/1.091, allocations: 3.781 kB / 0.8169 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/1.091, allocations: 2.875 kB / 0.8169 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/1.091, allocations: 2.125 kB / 0.8169 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006142/1.092, allocations: 151 kB / 0.817 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/1.092, allocations: 2.781 kB / 0.817 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007797/1.092, allocations: 239.8 kB / 0.8173 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/1.093, allocations: 65.88 kB / 0.8173 GB, free: 125.1 MB / 0.5573 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.0003568/1.093, allocations: 261.7 kB / 0.8176 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/1.093, allocations: 70.28 kB / 0.8176 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008198/1.094, allocations: 0.9568 MB / 0.8186 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/1.094, allocations: 3.938 kB / 0.8186 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.094, allocations: 0 / 0.8186 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.094, allocations: 0 / 0.8186 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003591/1.094, allocations: 0.5151 MB / 0.8191 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.094, allocations: 0 / 0.8191 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.076e-05/1.094, allocations: 11.53 kB / 0.8191 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/1.094, allocations: 4 kB / 0.8191 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/1.094, allocations: 0 / 0.8191 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.094, allocations: 0 / 0.8191 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.094, allocations: 4 kB / 0.8191 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006688/1.095, allocations: 1.029 MB / 0.8201 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-05/1.095, allocations: 155.8 kB / 0.8203 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.519e-05/1.095, allocations: 7.797 kB / 0.8203 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/1.095, allocations: 4 kB / 0.8203 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/1.095, allocations: 7.891 kB / 0.8203 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/1.095, allocations: 11.66 kB / 0.8203 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005823/1.096, allocations: 0.7097 MB / 0.821 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/1.096, allocations: 0 / 0.821 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001723/1.098, allocations: 0.5015 MB / 0.8215 GB, free: 121.7 MB / 0.5573 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.001437/1.099, allocations: 0.6397 MB / 0.8221 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001573/1.101, allocations: 2.374 MB / 0.8244 GB, free: 119 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.101, allocations: 4 kB / 0.8244 GB, free: 119 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002327/1.101, allocations: 337.8 kB / 0.8247 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/1.101, allocations: 52 kB / 0.8248 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/1.103, allocations: 1.976 MB / 0.8267 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/1.104, allocations: 1.003 MB / 0.8277 GB, free: 116 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001992/1.104, allocations: 69.09 kB / 0.8278 GB, free: 116 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/1.104, allocations: 35.19 kB / 0.8278 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of SimCode: time 5.01e-07/1.104, allocations: 4 kB / 0.8278 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.01675/1.121, allocations: 10.92 MB / 0.8385 GB, free: 105.9 MB / 0.5573 GB 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)