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.001388/0.001388, allocations: 114.1 kB / 16.38 MB, free: 6.367 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.001273/0.001273, allocations: 190.2 kB / 17.31 MB, free: 5.734 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002312/0.002312, allocations: 290.2 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 0.938/0.938, allocations: 169.2 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 99.84 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4629/0.4646, allocations: 86.97 MB / 0.767 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001584/0.4662, allocations: 0.5621 MB / 0.7676 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.4674, allocations: 1.003 MB / 0.7686 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.446e-05/0.4674, allocations: 0 / 0.7686 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.532e-05/0.4674, allocations: 3.938 kB / 0.7686 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006014/0.468, allocations: 91.77 kB / 0.7687 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 2.757e-05/0.4681, allocations: 8 kB / 0.7687 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.121e-05/0.4681, allocations: 11.98 kB / 0.7687 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.4682, allocations: 4 kB / 0.7687 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.472e-05/0.4682, allocations: 11.92 kB / 0.7687 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.4684, allocations: 39.48 kB / 0.7687 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.774e-06/0.4684, allocations: 0 / 0.7687 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.4685, allocations: 75.92 kB / 0.7688 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.4686, allocations: 4 kB / 0.7688 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.593e-05/0.4686, allocations: 3.938 kB / 0.7688 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.4687, allocations: 71.14 kB / 0.7689 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.4687, allocations: 4 kB / 0.7689 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4687, allocations: 0 / 0.7689 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.4688, allocations: 0 / 0.7689 GB, free: 2.004 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.0003463/0.4691, allocations: 335.6 kB / 0.7692 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.4691, allocations: 8.031 kB / 0.7692 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.4692, allocations: 4.938 kB / 0.7692 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.4693, allocations: 172.2 kB / 0.7694 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.4693, allocations: 384 / 0.7694 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-06/0.4693, allocations: 384 / 0.7694 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.938e-05/0.4694, allocations: 37.77 kB / 0.7694 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.4694, allocations: 0 / 0.7694 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.4694, allocations: 0 / 0.7694 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-06/0.4694, allocations: 4 kB / 0.7694 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.393e-05/0.4695, allocations: 0 / 0.7694 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.4699, allocations: 476.6 kB / 0.7699 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.481e-05/0.4699, allocations: 174.9 kB / 0.77 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.599e-05/0.47, allocations: 80.14 kB / 0.7701 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.47, allocations: 83.28 kB / 0.7702 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.4701, allocations: 105.8 kB / 0.7703 GB, free: 380 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.4701, allocations: 0 / 0.7703 GB, free: 380 kB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 6.054e-05/0.4701, allocations: 25.7 kB / 0.7703 GB, free: 348 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.4702, allocations: 126.7 kB / 0.7705 GB, free: 208 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.698e-05/0.4703, allocations: 105.8 kB / 0.7706 GB, free: 92 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.4703, allocations: 25.7 kB / 0.7706 GB, free: 60 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.4704, allocations: 84.14 kB / 0.7707 GB, free: 15.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.4704, allocations: 3.938 kB / 0.7707 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.4704, allocations: 17.72 kB / 0.7707 GB, free: 15.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.4705, allocations: 318.7 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-06/0.4705, allocations: 0 / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-06/0.4705, allocations: 0 / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.525e-05/0.4706, allocations: 12.84 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.4706, allocations: 4.062 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.287e-05/0.4707, allocations: 29.7 kB / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.4707, allocations: 8 kB / 0.771 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.4707, allocations: 0 / 0.771 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.4707, allocations: 0 / 0.771 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.392e-05/0.4707, allocations: 0 / 0.771 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.4707, allocations: 3.938 kB / 0.771 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.262e-05/0.4707, allocations: 0 / 0.771 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.4707, allocations: 0 / 0.771 GB, free: 15.56 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 8.387e-05/0.4708, allocations: 203.8 kB / 0.7712 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.4709, allocations: 101 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.4709, allocations: 108 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.137e-05/0.471, allocations: 184.2 kB / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.117e-05/0.4711, allocations: 176.3 kB / 0.7718 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.898e-05/0.4712, allocations: 188.2 kB / 0.772 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.4714, allocations: 405.2 kB / 0.7723 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-05/0.4714, allocations: 101 kB / 0.7724 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/0.4715, allocations: 108.9 kB / 0.7725 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.4716, allocations: 180.3 kB / 0.7727 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.336e-05/0.4716, allocations: 184.2 kB / 0.7729 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.047e-05/0.4717, allocations: 184.3 kB / 0.7731 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.979e-05/0.4718, allocations: 184.2 kB / 0.7732 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.4719, allocations: 315.9 kB / 0.7735 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.758e-05/0.472, allocations: 182 kB / 0.7737 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.4721, allocations: 184.3 kB / 0.7739 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.4722, allocations: 108.9 kB / 0.774 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.4722, allocations: 176.3 kB / 0.7742 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.4723, allocations: 105 kB / 0.7743 GB, free: 12.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.772e-05/0.4723, allocations: 79.28 kB / 0.7743 GB, free: 11.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4723, allocations: 0 / 0.7743 GB, free: 11.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002392/0.4726, allocations: 23.98 kB / 0.7744 GB, free: 11.93 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.0003419/0.4729, allocations: 241.9 kB / 0.7746 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.08e-05/0.473, allocations: 4 kB / 0.7746 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.473, allocations: 0 / 0.7746 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.535e-06/0.473, allocations: 7.984 kB / 0.7746 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.4733, allocations: 459.7 kB / 0.775 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.4737, allocations: 226 kB / 0.7753 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.4739, allocations: 0.669 MB / 0.7759 GB, free: 10.28 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.474, allocations: 11.44 kB / 0.7759 GB, free: 10.27 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.474, allocations: 0 / 0.7759 GB, free: 10.27 MB / 0.545 GB Notification: Performance of Templates: time 0.002083/0.4761, allocations: 0.8643 MB / 0.7768 GB, free: 9.41 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)