Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008055/0.008054, allocations: 170.5 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7193/0.7193, allocations: 132.3 MB / 148.1 MB, free: 252 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.386/1.386, allocations: 223.2 MB / 403.2 MB, free: 6.727 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.0009617/0.0009618, allocations: 101.8 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 12 kB / 0.5641 GB, free: 2.074 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4328/0.4332, allocations: 81.58 MB / 0.6438 GB, free: 39.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.58, allocations: 112.7 MB / 0.7539 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.5803, allocations: 107.9 kB / 0.754 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005001/0.5854, allocations: 2.047 MB / 0.756 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5854, allocations: 0 / 0.756 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.5854, allocations: 0 / 0.756 GB, free: 5.059 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003659/0.5858, allocations: 335.4 kB / 0.7563 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.5858, allocations: 16.03 kB / 0.7563 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.5859, allocations: 0 / 0.7563 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.586, allocations: 166.9 kB / 0.7565 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.586, allocations: 0 / 0.7565 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.5861, allocations: 7.922 kB / 0.7565 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.914e-05/0.5861, allocations: 29.7 kB / 0.7565 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.5862, allocations: 0 / 0.7565 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.5862, allocations: 0 / 0.7565 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.5862, allocations: 0 / 0.7565 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.04e-05/0.5862, allocations: 4 kB / 0.7565 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.5867, allocations: 472.5 kB / 0.757 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.729e-05/0.5868, allocations: 169.1 kB / 0.7572 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.5868, allocations: 79.31 kB / 0.7572 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/0.5868, allocations: 113.8 kB / 0.7573 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.021e-06/0.5869, allocations: 0 / 0.7573 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 7.195e-05/0.5869, allocations: 25.7 kB / 0.7574 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/0.587, allocations: 126.7 kB / 0.7575 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/0.5871, allocations: 93 kB / 0.7576 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.5871, allocations: 29.7 kB / 0.7576 GB, free: 3.211 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.5872, allocations: 80.14 kB / 0.7577 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.5872, allocations: 3.938 kB / 0.7577 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.5872, allocations: 4 kB / 0.7577 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.5873, allocations: 318.8 kB / 0.758 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-06/0.5874, allocations: 0 / 0.758 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.193e-05/0.5874, allocations: 8 kB / 0.758 GB, free: 2.793 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.671e-05/0.5874, allocations: 3.938 kB / 0.758 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5874, allocations: 0 / 0.758 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001045/0.5875, allocations: 33.7 kB / 0.758 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.5875, allocations: 4 kB / 0.758 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5875, allocations: 96 / 0.758 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.5876, allocations: 4 kB / 0.758 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.943e-05/0.5876, allocations: 4 kB / 0.758 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.5876, allocations: 3.984 kB / 0.758 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.523e-05/0.5876, allocations: 3.984 kB / 0.758 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.5876, allocations: 4 kB / 0.7581 GB, free: 2.727 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000104/0.5877, allocations: 191.6 kB / 0.7582 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.087e-05/0.5878, allocations: 101 kB / 0.7583 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.335e-05/0.5879, allocations: 116.1 kB / 0.7584 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.386e-05/0.5879, allocations: 180.2 kB / 0.7586 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.977e-05/0.588, allocations: 180.2 kB / 0.7588 GB, free: 1.941 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.904e-05/0.5881, allocations: 177 kB / 0.759 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.5883, allocations: 409.1 kB / 0.7593 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.916e-05/0.5883, allocations: 105 kB / 0.7594 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.356e-05/0.5884, allocations: 112.9 kB / 0.7596 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.624e-05/0.5885, allocations: 180.3 kB / 0.7597 GB, free: 0.8945 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.628e-05/0.5886, allocations: 180.2 kB / 0.7599 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.101e-05/0.5886, allocations: 180.2 kB / 0.7601 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.246e-05/0.5887, allocations: 180.2 kB / 0.7602 GB, free: 352 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.5889, allocations: 311.9 kB / 0.7605 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.589, allocations: 195.5 kB / 0.7607 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.942e-05/0.5891, allocations: 184.2 kB / 0.7609 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.5892, allocations: 101 kB / 0.761 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.5892, allocations: 188.2 kB / 0.7612 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/0.5893, allocations: 101 kB / 0.7613 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.288e-05/0.5893, allocations: 87.27 kB / 0.7614 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5893, allocations: 0 / 0.7614 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002626/0.5896, allocations: 16 kB / 0.7614 GB, free: 15.11 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0004265/0.59, allocations: 241.8 kB / 0.7616 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.914e-05/0.5901, allocations: 7.938 kB / 0.7616 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5901, allocations: 0 / 0.7616 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.5901, allocations: 0 / 0.7616 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.5904, allocations: 0.5301 MB / 0.7621 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.5934, allocations: 1.075 MB / 0.7632 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.5937, allocations: 0.6731 MB / 0.7638 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.742e-05/0.5938, allocations: 11.98 kB / 0.7638 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.5938, allocations: 7.438 kB / 0.7639 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of SimCode: time 1.152e-06/0.5938, allocations: 0 / 0.7639 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.002633/0.5964, allocations: 0.6204 MB / 0.7645 GB, free: 11.92 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)