Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001519/0.001519, allocations: 111.3 kB / 16.41 MB, free: 6.508 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.00157/0.00157, allocations: 189.2 kB / 17.34 MB, free: 5.754 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.454/1.454, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00257/0.00257, allocations: 289 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.035/1.035, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002701/0.002701, allocations: 95.86 kB / 0.6822 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3771, allocations: 86.98 MB / 0.7671 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001587/0.3787, allocations: 0.5621 MB / 0.7677 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.38, allocations: 0.9993 MB / 0.7686 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.38, allocations: 0 / 0.7686 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.093e-05/0.38, allocations: 3.938 kB / 0.7686 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006543/0.3807, allocations: 91.78 kB / 0.7687 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.792e-05/0.3807, allocations: 15.94 kB / 0.7687 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.236e-05/0.3808, allocations: 11.92 kB / 0.7688 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.363e-05/0.3808, allocations: 0 / 0.7688 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.558e-05/0.3808, allocations: 4 kB / 0.7688 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.381, allocations: 35.91 kB / 0.7688 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.416e-06/0.381, allocations: 4 kB / 0.7688 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.3812, allocations: 79.91 kB / 0.7689 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.364e-06/0.3812, allocations: 0 / 0.7689 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.3812, allocations: 15.86 kB / 0.7689 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.3814, allocations: 73.95 kB / 0.769 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3814, allocations: 0 / 0.769 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3814, allocations: 0 / 0.769 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.3814, allocations: 0 / 0.769 GB, free: 2.176 MB / 0.5294 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.0003624/0.3817, allocations: 335.3 kB / 0.7693 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.3818, allocations: 8.031 kB / 0.7693 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.3818, allocations: 8.938 kB / 0.7693 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.3819, allocations: 164.4 kB / 0.7695 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-06/0.3819, allocations: 384 / 0.7695 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.3819, allocations: 384 / 0.7695 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.7e-05/0.382, allocations: 33.81 kB / 0.7695 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.382, allocations: 0 / 0.7695 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.382, allocations: 4 kB / 0.7695 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.382, allocations: 0 / 0.7695 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.3821, allocations: 3.938 kB / 0.7695 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.3825, allocations: 472.6 kB / 0.7699 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.779e-05/0.3826, allocations: 174.9 kB / 0.7701 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.3826, allocations: 80.14 kB / 0.7702 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.3827, allocations: 79.27 kB / 0.7703 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/0.3827, allocations: 109.8 kB / 0.7704 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3827, allocations: 0 / 0.7704 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 6.994e-05/0.3828, allocations: 37.62 kB / 0.7704 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.3829, allocations: 126.7 kB / 0.7705 GB, free: 380 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.383, allocations: 97.86 kB / 0.7706 GB, free: 272 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.383, allocations: 25.7 kB / 0.7706 GB, free: 240 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.383, allocations: 92.03 kB / 0.7707 GB, free: 144 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.383, allocations: 4 kB / 0.7707 GB, free: 140 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.3831, allocations: 13.7 kB / 0.7707 GB, free: 120 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3832, allocations: 314.8 kB / 0.771 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.3832, allocations: 8 kB / 0.7711 GB, free: 15.79 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-06/0.3832, allocations: 0 / 0.7711 GB, free: 15.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.483e-05/0.3833, allocations: 16.73 kB / 0.7711 GB, free: 15.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3833, allocations: 0 / 0.7711 GB, free: 15.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001048/0.3834, allocations: 29.77 kB / 0.7711 GB, free: 15.74 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.3834, allocations: 8.031 kB / 0.7711 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.3834, allocations: 0 / 0.7711 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.3834, allocations: 4 kB / 0.7711 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.575e-05/0.3834, allocations: 3.984 kB / 0.7711 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.3834, allocations: 0 / 0.7711 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.28e-05/0.3834, allocations: 0 / 0.7711 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.3834, allocations: 0 / 0.7711 GB, free: 15.72 MB / 0.545 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 () * 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 0.0001037/0.3835, allocations: 191.5 kB / 0.7713 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.722e-05/0.3836, allocations: 112.9 kB / 0.7714 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.327e-05/0.3837, allocations: 108.1 kB / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.233e-05/0.3837, allocations: 180.2 kB / 0.7717 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.514e-05/0.3838, allocations: 184.2 kB / 0.7719 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.074e-05/0.3839, allocations: 176.3 kB / 0.772 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.3842, allocations: 413.1 kB / 0.7724 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.392e-05/0.3842, allocations: 105 kB / 0.7725 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/0.3843, allocations: 101 kB / 0.7726 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.328e-05/0.3844, allocations: 180.2 kB / 0.7728 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.957e-05/0.3844, allocations: 176.3 kB / 0.773 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.46e-05/0.3845, allocations: 188.1 kB / 0.7731 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-05/0.3846, allocations: 192.3 kB / 0.7733 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.3848, allocations: 308 kB / 0.7736 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.054e-05/0.3849, allocations: 182.1 kB / 0.7738 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.76e-05/0.3849, allocations: 184.2 kB / 0.774 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.268e-05/0.385, allocations: 105 kB / 0.7741 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.805e-05/0.3851, allocations: 184.2 kB / 0.7742 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/0.3852, allocations: 101 kB / 0.7743 GB, free: 12.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.255e-05/0.3852, allocations: 87.27 kB / 0.7744 GB, free: 12.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3852, allocations: 0 / 0.7744 GB, free: 12.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002639/0.3855, allocations: 19.94 kB / 0.7744 GB, free: 12.1 MB / 0.545 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 () * 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.0003764/0.3859, allocations: 232.6 kB / 0.7747 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.776e-05/0.3859, allocations: 4 kB / 0.7747 GB, free: 11.87 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3859, allocations: 0 / 0.7747 GB, free: 11.87 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.067e-06/0.3859, allocations: 3.938 kB / 0.7747 GB, free: 11.87 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.3863, allocations: 475.6 kB / 0.7751 GB, free: 11.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.3867, allocations: 188.3 kB / 0.7753 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.387, allocations: 0.6768 MB / 0.776 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.193e-05/0.387, allocations: 0 / 0.776 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.3871, allocations: 11.44 kB / 0.776 GB, free: 10.47 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.3871, allocations: 0 / 0.776 GB, free: 10.47 MB / 0.545 GB Notification: Performance of Templates: time 0.003086/0.3901, allocations: 0.6853 MB / 0.7766 GB, free: 9.836 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)