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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 111.5 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 195 kB / 17.98 MB, free: 5.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6788/0.6788, allocations: 115.1 MB / 407 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 72.11 kB / 494.9 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.296, allocations: 76.14 MB / 0.5576 GB, free: 36.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001584/0.2976, allocations: 0.5475 MB / 0.5582 GB, free: 36.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009391/0.2986, allocations: 0.9976 MB / 0.5591 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.2986, allocations: 1.344 kB / 0.5591 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.091e-05/0.2986, allocations: 0 / 0.5591 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005941/0.2992, allocations: 101.4 kB / 0.5592 GB, free: 35.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.18e-05/0.2993, allocations: 19.45 kB / 0.5592 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.097e-05/0.2993, allocations: 2.469 kB / 0.5592 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.2994, allocations: 6.344 kB / 0.5593 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.457e-05/0.2994, allocations: 1.031 kB / 0.5593 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.2996, allocations: 29.44 kB / 0.5593 GB, free: 35.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.2996, allocations: 1.219 kB / 0.5593 GB, free: 35.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.2997, allocations: 80.31 kB / 0.5594 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.445e-06/0.2997, allocations: 3.656 kB / 0.5594 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.534e-05/0.2998, allocations: 6.469 kB / 0.5594 GB, free: 35.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.2999, allocations: 69.52 kB / 0.5594 GB, free: 35.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2999, allocations: 4 kB / 0.5594 GB, free: 35.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2999, allocations: 0 / 0.5594 GB, free: 35.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.2999, allocations: 2.344 kB / 0.5594 GB, free: 35.65 MB / 446.1 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.0002115/0.3001, allocations: 331.6 kB / 0.5598 GB, free: 35.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.3002, allocations: 9.406 kB / 0.5598 GB, free: 35.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.3002, allocations: 2.062 kB / 0.5598 GB, free: 35.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.066e-05/0.3003, allocations: 167.4 kB / 0.5599 GB, free: 35.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.3003, allocations: 4.375 kB / 0.5599 GB, free: 35.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.3003, allocations: 384 / 0.5599 GB, free: 35.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.438e-05/0.3004, allocations: 39.72 kB / 0.56 GB, free: 35.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.3004, allocations: 3.938 kB / 0.56 GB, free: 35.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.3004, allocations: 0 / 0.56 GB, free: 35.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.3004, allocations: 0 / 0.56 GB, free: 35.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.691e-05/0.3004, allocations: 3.516 kB / 0.56 GB, free: 35.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000239/0.3007, allocations: 465 kB / 0.5604 GB, free: 34.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.517e-05/0.3007, allocations: 172.1 kB / 0.5606 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.421e-05/0.3007, allocations: 84.17 kB / 0.5607 GB, free: 34.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.3008, allocations: 76.03 kB / 0.5607 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.3008, allocations: 114.3 kB / 0.5608 GB, free: 34.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3008, allocations: 0 / 0.5608 GB, free: 34.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.518e-05/0.3008, allocations: 35.77 kB / 0.5609 GB, free: 34.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.3009, allocations: 132 kB / 0.561 GB, free: 33.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.262e-05/0.3009, allocations: 103.2 kB / 0.5611 GB, free: 33.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.817e-06/0.3009, allocations: 25.7 kB / 0.5611 GB, free: 33.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.954e-05/0.301, allocations: 90.36 kB / 0.5612 GB, free: 33.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.301, allocations: 0 / 0.5612 GB, free: 33.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.301, allocations: 16.67 kB / 0.5612 GB, free: 33.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.478e-05/0.301, allocations: 315.8 kB / 0.5615 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/0.3011, allocations: 1.062 kB / 0.5615 GB, free: 33.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.3011, allocations: 1.5 kB / 0.5615 GB, free: 33.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.864e-05/0.3011, allocations: 7.797 kB / 0.5615 GB, free: 33.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3011, allocations: 1.344 kB / 0.5615 GB, free: 33.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.666e-05/0.3012, allocations: 39.36 kB / 0.5616 GB, free: 33.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.3012, allocations: 11.75 kB / 0.5616 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3012, allocations: 0 / 0.5616 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.3012, allocations: 1.031 kB / 0.5616 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.254e-05/0.3012, allocations: 0 / 0.5616 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3012, allocations: 6.672 kB / 0.5616 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.295e-05/0.3013, allocations: 0 / 0.5616 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.3013, allocations: 1.406 kB / 0.5616 GB, free: 33.3 MB / 446.1 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.316e-05/0.3013, allocations: 187.9 kB / 0.5618 GB, free: 33.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.3014, allocations: 102.8 kB / 0.5619 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.3014, allocations: 114.9 kB / 0.562 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/0.3014, allocations: 183.4 kB / 0.5622 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-05/0.3015, allocations: 177.1 kB / 0.5623 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/0.3015, allocations: 189.3 kB / 0.5625 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.3016, allocations: 410.8 kB / 0.5629 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.3016, allocations: 106.3 kB / 0.563 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.201e-05/0.3016, allocations: 102 kB / 0.5631 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.907e-05/0.3017, allocations: 177.8 kB / 0.5633 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.3017, allocations: 183.7 kB / 0.5634 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.85e-05/0.3017, allocations: 178.4 kB / 0.5636 GB, free: 31.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.878e-05/0.3017, allocations: 181.3 kB / 0.5638 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.396e-05/0.3018, allocations: 316 kB / 0.5641 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.3018, allocations: 181.8 kB / 0.5643 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.3019, allocations: 182.5 kB / 0.5644 GB, free: 30.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.784e-05/0.3019, allocations: 111.6 kB / 0.5645 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.3019, allocations: 180.7 kB / 0.5647 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.302, allocations: 104.9 kB / 0.5648 GB, free: 29.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.371e-05/0.302, allocations: 81.61 kB / 0.5649 GB, free: 29.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.302, allocations: 0 / 0.5649 GB, free: 29.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.3022, allocations: 21.14 kB / 0.5649 GB, free: 29.76 MB / 446.1 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002639/0.3025, allocations: 233.5 kB / 0.5651 GB, free: 29.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.383e-05/0.3026, allocations: 3.5 kB / 0.5651 GB, free: 29.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3026, allocations: 0.9062 kB / 0.5651 GB, free: 29.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.3026, allocations: 0 / 0.5651 GB, free: 29.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.3028, allocations: 461 kB / 0.5656 GB, free: 29.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.3031, allocations: 205.6 kB / 0.5658 GB, free: 28.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.769e-05/0.3032, allocations: 0.6726 MB / 0.5664 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.295e-05/0.3032, allocations: 5.875 kB / 0.5664 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.431e-05/0.3032, allocations: 8.812 kB / 0.5665 GB, free: 28.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3032, allocations: 0 / 0.5665 GB, free: 28.23 MB / 446.1 MB Notification: Performance of Templates: time 0.002484/0.3057, allocations: 0.6778 MB / 0.5671 GB, free: 28.21 MB / 446.1 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)