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.002083/0.002083, allocations: 169 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8708/0.8708, allocations: 130.7 MB / 138.7 MB, free: 3.453 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.416/1.416, allocations: 221.5 MB / 391.8 MB, free: 14.18 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.000913/0.000913, allocations: 98.08 kB / 473.9 MB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.198e-05/2.21e-05, allocations: 4 kB / 0.5485 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4183, allocations: 81.57 MB / 0.6282 GB, free: 42.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.5647, allocations: 112 MB / 0.7376 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/0.5651, allocations: 108.4 kB / 0.7377 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004868/0.57, allocations: 2.043 MB / 0.7397 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.633e-06/0.57, allocations: 0 / 0.7397 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.57, allocations: 0 / 0.7397 GB, free: 12.61 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.0002471/0.5703, allocations: 326.6 kB / 0.74 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.5703, allocations: 8.031 kB / 0.74 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.5703, allocations: 4 kB / 0.74 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.5705, allocations: 163 kB / 0.7402 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.5705, allocations: 4 kB / 0.7402 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.5705, allocations: 1.031 kB / 0.7402 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.347e-05/0.5706, allocations: 4 kB / 0.7402 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.393e-05/0.5706, allocations: 25.7 kB / 0.7402 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.5707, allocations: 0 / 0.7402 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.5707, allocations: 3.984 kB / 0.7402 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5707, allocations: 3.938 kB / 0.7402 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.5711, allocations: 453.2 kB / 0.7406 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.877e-05/0.5712, allocations: 165.1 kB / 0.7408 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.5712, allocations: 80.14 kB / 0.7409 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.5713, allocations: 75.28 kB / 0.741 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.5713, allocations: 113.8 kB / 0.7411 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.5713, allocations: 3.938 kB / 0.7411 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 8.031e-05/0.5714, allocations: 37.55 kB / 0.7411 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.5715, allocations: 51.41 kB / 0.7412 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.432e-05/0.5715, allocations: 96.92 kB / 0.7412 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.5716, allocations: 25.7 kB / 0.7413 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/0.5716, allocations: 80.14 kB / 0.7413 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-06/0.5716, allocations: 8 kB / 0.7414 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.5716, allocations: 0 / 0.7414 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.5717, allocations: 314.8 kB / 0.7417 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-06/0.5718, allocations: 4 kB / 0.7417 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-06/0.5718, allocations: 0 / 0.7417 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.813e-05/0.5718, allocations: 4 kB / 0.7417 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5718, allocations: 0 / 0.7417 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001161/0.572, allocations: 37.69 kB / 0.7417 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.572, allocations: 4 kB / 0.7417 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.572, allocations: 0 / 0.7417 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.572, allocations: 0 / 0.7417 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.632e-05/0.572, allocations: 7.938 kB / 0.7417 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.5721, allocations: 4.094 kB / 0.7417 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.328e-05/0.5721, allocations: 0 / 0.7417 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.5721, allocations: 3.984 kB / 0.7417 GB, free: 10.32 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 () * 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 9.072e-05/0.5722, allocations: 180.2 kB / 0.7419 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.5723, allocations: 109 kB / 0.742 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.937e-05/0.5723, allocations: 108.7 kB / 0.7421 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.467e-05/0.5724, allocations: 180.2 kB / 0.7423 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-05/0.5725, allocations: 180.3 kB / 0.7424 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-05/0.5725, allocations: 181 kB / 0.7426 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.5727, allocations: 385.7 kB / 0.743 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.29e-05/0.5728, allocations: 101 kB / 0.7431 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.5728, allocations: 109 kB / 0.7432 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.195e-05/0.5729, allocations: 192.2 kB / 0.7434 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.168e-05/0.573, allocations: 176.3 kB / 0.7435 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.857e-05/0.573, allocations: 176.3 kB / 0.7437 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.276e-05/0.5731, allocations: 184.2 kB / 0.7439 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.5733, allocations: 307.8 kB / 0.7442 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.312e-05/0.5734, allocations: 190 kB / 0.7443 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.818e-05/0.5734, allocations: 176.3 kB / 0.7445 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.5735, allocations: 101 kB / 0.7446 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.818e-05/0.5736, allocations: 188.2 kB / 0.7448 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.5736, allocations: 104.9 kB / 0.7449 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.267e-05/0.5737, allocations: 87.28 kB / 0.745 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5737, allocations: 0 / 0.745 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002439/0.5739, allocations: 23.92 kB / 0.745 GB, free: 6.742 MB / 0.5261 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.0003518/0.5743, allocations: 243.4 kB / 0.7452 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.344e-05/0.5744, allocations: 7.938 kB / 0.7452 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5744, allocations: 0 / 0.7452 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.875e-06/0.5744, allocations: 4 kB / 0.7452 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.5747, allocations: 0.5224 MB / 0.7458 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.5775, allocations: 1.023 MB / 0.7468 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.5777, allocations: 0.6806 MB / 0.7474 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.596e-05/0.5778, allocations: 0 / 0.7474 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.5778, allocations: 19.38 kB / 0.7474 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of SimCode: time 3.51e-07/0.5778, allocations: 0 / 0.7474 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of Templates: time 0.002588/0.5804, allocations: 0.6393 MB / 0.7481 GB, free: 3.594 MB / 0.5261 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)