Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001501/0.001501, allocations: 174.6 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-master/package.mo): time 0.7346/0.7346, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.506/1.506, allocations: 221.3 MB / 400.4 MB, free: 5.828 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.0009581/0.0009584, allocations: 85.08 kB / 483.3 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.129e-05/4.133e-05, allocations: 7.703 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1579, allocations: 82.31 MB / 0.6405 GB, free: 7.801 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5594/0.7173, allocations: 112.9 MB / 0.7507 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.7176, allocations: 114.1 kB / 0.7508 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004831/0.7225, allocations: 2.036 MB / 0.7528 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.176e-06/0.7225, allocations: 4 kB / 0.7528 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.7225, allocations: 0.9844 kB / 0.7528 GB, free: 27.49 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.0003146/0.7229, allocations: 323 kB / 0.7531 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.7229, allocations: 11.53 kB / 0.7531 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.723, allocations: 0 / 0.7531 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.7231, allocations: 174.1 kB / 0.7533 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.7231, allocations: 3.938 kB / 0.7533 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.7232, allocations: 3.875 kB / 0.7533 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.494e-05/0.7233, allocations: 29.7 kB / 0.7533 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.7233, allocations: 0 / 0.7533 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.7233, allocations: 0 / 0.7533 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.7233, allocations: 0 / 0.7533 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.954e-05/0.7233, allocations: 3.844 kB / 0.7534 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.7237, allocations: 465.3 kB / 0.7538 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.029e-05/0.7238, allocations: 173.1 kB / 0.754 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.455e-05/0.7239, allocations: 84.08 kB / 0.754 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.7239, allocations: 75.28 kB / 0.7541 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.58e-05/0.724, allocations: 109.7 kB / 0.7542 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.724, allocations: 0 / 0.7542 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 6.895e-05/0.7241, allocations: 37.42 kB / 0.7543 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.7241, allocations: 130.7 kB / 0.7544 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.7242, allocations: 95.27 kB / 0.7545 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.7243, allocations: 25.7 kB / 0.7545 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/0.7243, allocations: 80.14 kB / 0.7546 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.7243, allocations: 3.844 kB / 0.7546 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-06/0.7243, allocations: 0 / 0.7546 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.7244, allocations: 314.8 kB / 0.7549 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-06/0.7245, allocations: 3.938 kB / 0.7549 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.07e-06/0.7245, allocations: 4 kB / 0.7549 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.513e-05/0.7245, allocations: 3.812 kB / 0.7549 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.7245, allocations: 0 / 0.7549 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.409e-05/0.7246, allocations: 35.56 kB / 0.7549 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.7246, allocations: 7.688 kB / 0.7549 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.7246, allocations: 0 / 0.7549 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.7246, allocations: 0 / 0.7549 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.437e-05/0.7246, allocations: 3.938 kB / 0.7549 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.7247, allocations: 1.641 kB / 0.7549 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.338e-05/0.7247, allocations: 96 / 0.7549 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.7247, allocations: 7.844 kB / 0.7549 GB, free: 25.2 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.756e-05/0.7248, allocations: 180.2 kB / 0.7551 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.7248, allocations: 103.6 kB / 0.7552 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.491e-05/0.7249, allocations: 111.8 kB / 0.7553 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.037e-05/0.725, allocations: 180.2 kB / 0.7555 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.839e-05/0.725, allocations: 188 kB / 0.7557 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.789e-05/0.7251, allocations: 184.1 kB / 0.7558 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.7253, allocations: 407.7 kB / 0.7562 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.384e-05/0.7254, allocations: 104.9 kB / 0.7563 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.7254, allocations: 101 kB / 0.7564 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.238e-05/0.7255, allocations: 183.8 kB / 0.7566 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/0.7255, allocations: 187.2 kB / 0.7568 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.655e-05/0.7256, allocations: 176.3 kB / 0.7569 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.416e-05/0.7257, allocations: 184 kB / 0.7571 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.7258, allocations: 305.5 kB / 0.7574 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/0.7259, allocations: 188.4 kB / 0.7576 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.498e-05/0.726, allocations: 176.3 kB / 0.7578 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-05/0.7261, allocations: 111.4 kB / 0.7579 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.7261, allocations: 180 kB / 0.758 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.7262, allocations: 105.9 kB / 0.7581 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.617e-05/0.7262, allocations: 81.3 kB / 0.7582 GB, free: 21.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.62e-07/0.7262, allocations: 0 / 0.7582 GB, free: 21.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002372/0.7265, allocations: 31.5 kB / 0.7583 GB, free: 21.66 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.0003783/0.7269, allocations: 236.7 kB / 0.7585 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.169e-05/0.7269, allocations: 3.844 kB / 0.7585 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7269, allocations: 0 / 0.7585 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.7269, allocations: 4.062 kB / 0.7585 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.7273, allocations: 0.5223 MB / 0.759 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.7298, allocations: 1.049 MB / 0.76 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.73, allocations: 0.6755 MB / 0.7607 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.966e-05/0.7301, allocations: 7.891 kB / 0.7607 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.678e-05/0.7301, allocations: 7.438 kB / 0.7607 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of SimCode: time 4.41e-07/0.7301, allocations: 0 / 0.7607 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of Templates: time 0.002469/0.7326, allocations: 0.6441 MB / 0.7613 GB, free: 20.02 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)