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.00101/0.00101, allocations: 112.6 kB / 16.37 MB, free: 6 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.0009726/0.0009726, allocations: 196 kB / 17.31 MB, free: 5.613 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.239/1.239, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002026/0.002026, allocations: 286.2 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8907/0.8907, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 103 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1416, allocations: 86.97 MB / 0.6817 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001609/0.1433, allocations: 0.5623 MB / 0.6822 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1443, allocations: 0.9992 MB / 0.6832 GB, free: 5.844 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.686e-05/0.1443, allocations: 4 kB / 0.6832 GB, free: 5.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.056e-05/0.1444, allocations: 0 / 0.6832 GB, free: 5.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006064/0.145, allocations: 103.8 kB / 0.6833 GB, free: 5.738 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.905e-05/0.145, allocations: 7.938 kB / 0.6833 GB, free: 5.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.258e-05/0.1451, allocations: 8 kB / 0.6833 GB, free: 5.723 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.1451, allocations: 3.984 kB / 0.6833 GB, free: 5.719 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.453e-05/0.1451, allocations: 7.938 kB / 0.6833 GB, free: 5.711 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.1453, allocations: 32.67 kB / 0.6833 GB, free: 5.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.185e-06/0.1453, allocations: 0 / 0.6833 GB, free: 5.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.1455, allocations: 79.92 kB / 0.6834 GB, free: 5.602 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.774e-06/0.1455, allocations: 0 / 0.6834 GB, free: 5.602 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.622e-05/0.1455, allocations: 3.984 kB / 0.6834 GB, free: 5.598 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.1457, allocations: 75.8 kB / 0.6835 GB, free: 5.523 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1457, allocations: 0 / 0.6835 GB, free: 5.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1457, allocations: 0 / 0.6835 GB, free: 5.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1457, allocations: 0 / 0.6835 GB, free: 5.523 MB / 494.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.0002709/0.146, allocations: 339.5 kB / 0.6838 GB, free: 5.145 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.146, allocations: 12.03 kB / 0.6838 GB, free: 5.133 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.352e-05/0.146, allocations: 0.9375 kB / 0.6838 GB, free: 5.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.1461, allocations: 164.4 kB / 0.684 GB, free: 4.934 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-06/0.1462, allocations: 384 / 0.684 GB, free: 4.934 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.1462, allocations: 384 / 0.684 GB, free: 4.934 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.314e-05/0.1462, allocations: 33.83 kB / 0.684 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-06/0.1463, allocations: 0 / 0.684 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.1463, allocations: 0 / 0.684 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.1463, allocations: 4 kB / 0.684 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.888e-05/0.1463, allocations: 4 kB / 0.684 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.1466, allocations: 472.5 kB / 0.6845 GB, free: 4.355 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.983e-05/0.1467, allocations: 169.2 kB / 0.6846 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.1467, allocations: 80.14 kB / 0.6847 GB, free: 4.098 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.1468, allocations: 79.28 kB / 0.6848 GB, free: 4.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.1468, allocations: 105.8 kB / 0.6849 GB, free: 3.906 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1468, allocations: 0 / 0.6849 GB, free: 3.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.84e-05/0.1469, allocations: 29.64 kB / 0.6849 GB, free: 3.871 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.1469, allocations: 126.7 kB / 0.685 GB, free: 3.734 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.339e-05/0.147, allocations: 109.8 kB / 0.6851 GB, free: 3.617 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.147, allocations: 29.64 kB / 0.6852 GB, free: 3.582 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.1471, allocations: 84.14 kB / 0.6852 GB, free: 3.496 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.1471, allocations: 0 / 0.6852 GB, free: 3.496 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.1471, allocations: 21.66 kB / 0.6853 GB, free: 3.469 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.971e-05/0.1472, allocations: 314.8 kB / 0.6856 GB, free: 3.152 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.794e-06/0.1472, allocations: 0 / 0.6856 GB, free: 3.152 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.216e-06/0.1472, allocations: 7.984 kB / 0.6856 GB, free: 3.145 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.963e-05/0.1472, allocations: 4.859 kB / 0.6856 GB, free: 3.137 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1473, allocations: 4.062 kB / 0.6856 GB, free: 3.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.18e-05/0.1473, allocations: 37.64 kB / 0.6856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.1474, allocations: 4 kB / 0.6856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.1474, allocations: 0 / 0.6856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.1474, allocations: 0 / 0.6856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.234e-05/0.1474, allocations: 0 / 0.6856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.1474, allocations: 0 / 0.6856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.1474, allocations: 8 kB / 0.6856 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.1474, allocations: 0 / 0.6856 GB, free: 3.078 MB / 494.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 7.513e-05/0.1475, allocations: 197.1 kB / 0.6858 GB, free: 2.875 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.1476, allocations: 101 kB / 0.6859 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.1476, allocations: 112 kB / 0.686 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.724e-05/0.1477, allocations: 176.3 kB / 0.6862 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-05/0.1477, allocations: 185 kB / 0.6864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.907e-05/0.1478, allocations: 184.2 kB / 0.6865 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.148, allocations: 405.2 kB / 0.6869 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.431e-05/0.148, allocations: 104.9 kB / 0.687 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.949e-05/0.1481, allocations: 105 kB / 0.6871 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.357e-05/0.1481, allocations: 188.2 kB / 0.6873 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.416e-05/0.1482, allocations: 176.5 kB / 0.6875 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-05/0.1482, allocations: 184.3 kB / 0.6877 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.002e-05/0.1483, allocations: 180.2 kB / 0.6878 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.1484, allocations: 311.7 kB / 0.6881 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.1485, allocations: 182.1 kB / 0.6883 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.237/0.3855, allocations: 183 kB / 0.6885 GB, free: 18.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.323e-05/0.3856, allocations: 101.5 kB / 0.6886 GB, free: 18.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.3856, allocations: 179 kB / 0.6887 GB, free: 18.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.3856, allocations: 106.6 kB / 0.6888 GB, free: 18.08 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.499e-05/0.3857, allocations: 88.14 kB / 0.6889 GB, free: 18 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3857, allocations: 0 / 0.6889 GB, free: 18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002865/0.386, allocations: 24.19 kB / 0.6889 GB, free: 18 MB / 494.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.0003233/0.3863, allocations: 228.3 kB / 0.6892 GB, free: 17.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.299e-05/0.3864, allocations: 6.328 kB / 0.6892 GB, free: 17.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3864, allocations: 3.984 kB / 0.6892 GB, free: 17.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.3864, allocations: 2.469 kB / 0.6892 GB, free: 17.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.3866, allocations: 460.9 kB / 0.6896 GB, free: 17.39 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.3869, allocations: 202.9 kB / 0.6898 GB, free: 17.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.475e-05/0.387, allocations: 0.6746 MB / 0.6905 GB, free: 16.54 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.345e-05/0.387, allocations: 5.031 kB / 0.6905 GB, free: 16.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.47e-05/0.3871, allocations: 10.03 kB / 0.6905 GB, free: 16.53 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3871, allocations: 0 / 0.6905 GB, free: 16.53 MB / 494.1 MB Notification: Performance of Templates: time 0.002711/0.3898, allocations: 0.6825 MB / 0.6912 GB, free: 16.52 MB / 494.1 MB 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)