Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001241/0.001241, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5908/0.5908, allocations: 90.91 MB / 99.35 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 221.5 MB / 343.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 99.92 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.665e-05/1.685e-05, allocations: 7.938 kB / 494.5 MB, free: 52.37 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1294, allocations: 72.31 MB / 0.5536 GB, free: 12.24 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4461/0.5755, allocations: 102.6 MB / 0.6537 GB, free: 7.648 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.5758, allocations: 106.7 kB / 0.6538 GB, free: 7.582 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004753/0.5806, allocations: 2.135 MB / 0.6559 GB, free: 5.758 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5806, allocations: 0.8438 kB / 0.6559 GB, free: 5.758 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.5806, allocations: 4 kB / 0.6559 GB, free: 5.754 MB / 458.7 MB 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.0002383/0.5809, allocations: 326.5 kB / 0.6562 GB, free: 5.391 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.5809, allocations: 8.031 kB / 0.6563 GB, free: 5.383 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.512e-05/0.5809, allocations: 4.578 kB / 0.6563 GB, free: 5.379 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.5811, allocations: 166.5 kB / 0.6564 GB, free: 5.18 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.5811, allocations: 0 / 0.6564 GB, free: 5.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-06/0.5811, allocations: 0 / 0.6564 GB, free: 5.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.528e-05/0.5811, allocations: 0 / 0.6564 GB, free: 5.18 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.216e-05/0.5812, allocations: 33.64 kB / 0.6565 GB, free: 5.141 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.5812, allocations: 7.938 kB / 0.6565 GB, free: 5.133 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.5812, allocations: 0 / 0.6565 GB, free: 5.133 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.5812, allocations: 3.953 kB / 0.6565 GB, free: 5.129 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.5816, allocations: 448.7 kB / 0.6569 GB, free: 4.637 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.739e-05/0.5817, allocations: 165.1 kB / 0.657 GB, free: 4.465 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.5817, allocations: 88.08 kB / 0.6571 GB, free: 4.375 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.5817, allocations: 79.27 kB / 0.6572 GB, free: 4.297 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.5818, allocations: 108.5 kB / 0.6573 GB, free: 4.184 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.5818, allocations: 0 / 0.6573 GB, free: 4.184 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 6.297e-05/0.5818, allocations: 33.64 kB / 0.6573 GB, free: 4.145 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.5819, allocations: 55.36 kB / 0.6574 GB, free: 4.078 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.573e-05/0.582, allocations: 96.8 kB / 0.6575 GB, free: 3.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.582, allocations: 29.7 kB / 0.6575 GB, free: 3.945 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.582, allocations: 80.14 kB / 0.6576 GB, free: 3.863 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.582, allocations: 0 / 0.6576 GB, free: 3.863 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.582, allocations: 0 / 0.6576 GB, free: 3.863 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.135e-05/0.5821, allocations: 310.8 kB / 0.6579 GB, free: 3.551 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-06/0.5821, allocations: 4 kB / 0.6579 GB, free: 3.547 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.9e-06/0.5821, allocations: 0 / 0.6579 GB, free: 3.547 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.671e-05/0.5822, allocations: 4 kB / 0.6579 GB, free: 3.543 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.5822, allocations: 64 / 0.6579 GB, free: 3.543 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001107/0.5824, allocations: 45.19 kB / 0.6579 GB, free: 3.496 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.5824, allocations: 5.406 kB / 0.6579 GB, free: 3.492 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5824, allocations: 3.938 kB / 0.658 GB, free: 3.488 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.5824, allocations: 0 / 0.658 GB, free: 3.488 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.402e-05/0.5824, allocations: 0 / 0.658 GB, free: 3.488 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.5824, allocations: 0 / 0.658 GB, free: 3.488 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.551e-05/0.5825, allocations: 7.953 kB / 0.658 GB, free: 3.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.5825, allocations: 1.562 kB / 0.658 GB, free: 3.48 MB / 458.7 MB 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.328e-05/0.5826, allocations: 180.3 kB / 0.6581 GB, free: 3.297 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.5826, allocations: 105 kB / 0.6582 GB, free: 3.188 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.662e-05/0.5827, allocations: 108.7 kB / 0.6583 GB, free: 3.078 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.01e-05/0.5827, allocations: 180.2 kB / 0.6585 GB, free: 2.895 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.08e-05/0.5828, allocations: 176.3 kB / 0.6587 GB, free: 2.715 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.234e-05/0.5829, allocations: 177 kB / 0.6588 GB, free: 2.535 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.5831, allocations: 396.5 kB / 0.6592 GB, free: 2.105 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.368e-05/0.5831, allocations: 101 kB / 0.6593 GB, free: 2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/0.5831, allocations: 105 kB / 0.6594 GB, free: 1.891 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.347e-05/0.5832, allocations: 184.2 kB / 0.6596 GB, free: 1.703 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.94e-05/0.5833, allocations: 183.4 kB / 0.6598 GB, free: 1.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.377e-05/0.5833, allocations: 180.3 kB / 0.6599 GB, free: 1.336 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.267e-05/0.5834, allocations: 189 kB / 0.6601 GB, free: 1.145 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.5835, allocations: 307.5 kB / 0.6604 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-05/0.5836, allocations: 182 kB / 0.6606 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.284e-05/0.5837, allocations: 180.3 kB / 0.6608 GB, free: 448 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.937e-05/0.5837, allocations: 109 kB / 0.6609 GB, free: 332 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.5838, allocations: 180.2 kB / 0.661 GB, free: 144 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.5838, allocations: 101 kB / 0.6611 GB, free: 36 kB / 458.7 MB Notification: Performance of sorting global known variables: time 5.369e-05/0.5839, allocations: 83.16 kB / 0.6612 GB, free: 15.96 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5839, allocations: 0 / 0.6612 GB, free: 15.96 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002516/0.5842, allocations: 20 kB / 0.6612 GB, free: 15.94 MB / 474.7 MB 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.0003744/0.5845, allocations: 243.8 kB / 0.6615 GB, free: 15.69 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 5.261e-05/0.5846, allocations: 7.938 kB / 0.6615 GB, free: 15.68 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5846, allocations: 0 / 0.6615 GB, free: 15.68 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.5846, allocations: 0 / 0.6615 GB, free: 15.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.5849, allocations: 0.5299 MB / 0.662 GB, free: 15.15 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.5879, allocations: 1.108 MB / 0.6631 GB, free: 14.15 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.5882, allocations: 0.6768 MB / 0.6637 GB, free: 13.45 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.088e-05/0.5882, allocations: 11.84 kB / 0.6637 GB, free: 13.44 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.5882, allocations: 7.438 kB / 0.6637 GB, free: 13.43 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5883, allocations: 0 / 0.6637 GB, free: 13.43 MB / 474.7 MB Notification: Performance of Templates: time 0.002666/0.5909, allocations: 0.6578 MB / 0.6644 GB, free: 12.82 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)