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.001382/0.001382, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7371/0.7371, allocations: 130.5 MB / 143.8 MB, free: 13.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 221.3 MB / 396.8 MB, free: 9.191 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008437/0.0008437, allocations: 97.39 kB / 479 MB, free: 10.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.677e-05/3.679e-05, allocations: 4.719 kB / 0.5551 GB, free: 86.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1872, allocations: 81.59 MB / 0.6348 GB, free: 12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.648/0.8353, allocations: 112.7 MB / 0.7448 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.8356, allocations: 102.4 kB / 0.7449 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004755/0.8404, allocations: 2.047 MB / 0.7469 GB, free: 27.97 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8404, allocations: 0 / 0.7469 GB, free: 27.97 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.8404, allocations: 0 / 0.7469 GB, free: 27.97 MB / 0.5105 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.0002742/0.8407, allocations: 321.1 kB / 0.7472 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.8408, allocations: 15.56 kB / 0.7472 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.8408, allocations: 3.938 kB / 0.7473 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.8409, allocations: 167.6 kB / 0.7474 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.841, allocations: 0 / 0.7474 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.841, allocations: 7.781 kB / 0.7474 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.713e-05/0.8411, allocations: 32.39 kB / 0.7475 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.8411, allocations: 0 / 0.7475 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.8411, allocations: 0 / 0.7475 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.8411, allocations: 0 / 0.7475 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.8411, allocations: 3.906 kB / 0.7475 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.8416, allocations: 466.1 kB / 0.7479 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.494e-05/0.8417, allocations: 173 kB / 0.7481 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.8417, allocations: 80.14 kB / 0.7481 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.8417, allocations: 75.28 kB / 0.7482 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.8418, allocations: 109.8 kB / 0.7483 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.8418, allocations: 0 / 0.7483 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.635e-05/0.8419, allocations: 41.36 kB / 0.7484 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.842, allocations: 126.7 kB / 0.7485 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.916e-05/0.8421, allocations: 92 kB / 0.7486 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.8421, allocations: 25.7 kB / 0.7486 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.8421, allocations: 83.7 kB / 0.7487 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.8421, allocations: 0 / 0.7487 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-06/0.8421, allocations: 0 / 0.7487 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.8423, allocations: 318.6 kB / 0.749 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-06/0.8423, allocations: 4 kB / 0.749 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-06/0.8423, allocations: 0 / 0.749 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.653e-05/0.8423, allocations: 6.828 kB / 0.749 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8423, allocations: 3.938 kB / 0.749 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.852e-05/0.8424, allocations: 33.45 kB / 0.749 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.8424, allocations: 7.719 kB / 0.749 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.8424, allocations: 0 / 0.749 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.8425, allocations: 0 / 0.749 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.594e-05/0.8425, allocations: 0 / 0.749 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.8425, allocations: 7.094 kB / 0.749 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.28e-05/0.8425, allocations: 0 / 0.749 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.8425, allocations: 0 / 0.749 GB, free: 25.68 MB / 0.5105 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 () * 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 8.858e-05/0.8426, allocations: 187.9 kB / 0.7492 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/0.8427, allocations: 104.9 kB / 0.7493 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.571e-05/0.8427, allocations: 108 kB / 0.7494 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-05/0.8428, allocations: 182.8 kB / 0.7496 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.769e-05/0.8429, allocations: 181 kB / 0.7498 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.168e-05/0.8429, allocations: 180.2 kB / 0.7499 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.8432, allocations: 411.9 kB / 0.7503 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.662e-05/0.8432, allocations: 104.9 kB / 0.7504 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.861e-05/0.8433, allocations: 104.3 kB / 0.7505 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.127e-05/0.8433, allocations: 180.3 kB / 0.7507 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.54e-05/0.8434, allocations: 188.6 kB / 0.7509 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-05/0.8435, allocations: 176.3 kB / 0.751 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.607e-05/0.8436, allocations: 183.6 kB / 0.7512 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.8437, allocations: 311.5 kB / 0.7515 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.8438, allocations: 184.9 kB / 0.7517 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.95e-05/0.8439, allocations: 177.1 kB / 0.7519 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.159e-05/0.844, allocations: 104.9 kB / 0.752 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.61e-05/0.8441, allocations: 182.8 kB / 0.7521 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.8441, allocations: 109.8 kB / 0.7522 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.828e-05/0.8442, allocations: 87.17 kB / 0.7523 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8442, allocations: 0 / 0.7523 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002538/0.8444, allocations: 22.64 kB / 0.7523 GB, free: 22.14 MB / 0.5105 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 () * 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.0004009/0.8448, allocations: 244 kB / 0.7526 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.152e-05/0.8449, allocations: 3.938 kB / 0.7526 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.8449, allocations: 4.062 kB / 0.7526 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-06/0.8449, allocations: 3.812 kB / 0.7526 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.8452, allocations: 0.5229 MB / 0.7531 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.8478, allocations: 1.045 MB / 0.7541 GB, free: 21.26 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.8481, allocations: 0.6762 MB / 0.7548 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.464e-05/0.8481, allocations: 3.984 kB / 0.7548 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.834e-05/0.8481, allocations: 7.438 kB / 0.7548 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/0.8481, allocations: 4 kB / 0.7548 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of Templates: time 0.003085/0.8512, allocations: 0.6389 MB / 0.7554 GB, free: 20.49 MB / 0.5105 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)