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.005671/0.005671, allocations: 101 kB / 15.73 MB, free: 5.609 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.00132/0.00132, allocations: 193.3 kB / 16.67 MB, free: 5.527 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.278/1.278, allocations: 222.9 MB / 240.4 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.002056/0.002056, allocations: 292.7 kB / 290.8 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.9243/0.9243, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 91.84 kB / 0.6815 GB, free: 6.902 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3658, allocations: 86.97 MB / 0.7664 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001512/0.3673, allocations: 0.5618 MB / 0.767 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.3685, allocations: 1.003 MB / 0.768 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.644e-05/0.3685, allocations: 0 / 0.768 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.3685, allocations: 0 / 0.768 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000666/0.3692, allocations: 103.7 kB / 0.7681 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.207e-05/0.3692, allocations: 11.94 kB / 0.7681 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.003e-05/0.3693, allocations: 11.98 kB / 0.7681 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.3693, allocations: 4 kB / 0.7681 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.369e-05/0.3693, allocations: 0 / 0.7681 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.3695, allocations: 33.84 kB / 0.7681 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.3696, allocations: 0 / 0.7681 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.3697, allocations: 87.84 kB / 0.7682 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.635e-06/0.3697, allocations: 0 / 0.7682 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.641e-05/0.3698, allocations: 3.938 kB / 0.7682 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.3699, allocations: 73.95 kB / 0.7683 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3699, allocations: 0 / 0.7683 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3699, allocations: 4 kB / 0.7683 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.3699, allocations: 0 / 0.7683 GB, free: 1.988 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.0002761/0.3702, allocations: 334.9 kB / 0.7686 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.3703, allocations: 8.031 kB / 0.7686 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.3703, allocations: 4.938 kB / 0.7686 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.3704, allocations: 168.3 kB / 0.7688 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.3704, allocations: 384 / 0.7688 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-06/0.3704, allocations: 384 / 0.7688 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.023e-05/0.3705, allocations: 33.83 kB / 0.7688 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.3705, allocations: 7.938 kB / 0.7688 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.3705, allocations: 3.938 kB / 0.7688 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.3705, allocations: 0 / 0.7688 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.729e-05/0.3706, allocations: 4 kB / 0.7688 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.3709, allocations: 468.6 kB / 0.7693 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.938e-05/0.371, allocations: 175 kB / 0.7694 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.371, allocations: 84.17 kB / 0.7695 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.371, allocations: 79.22 kB / 0.7696 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.3711, allocations: 105.8 kB / 0.7697 GB, free: 372 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3711, allocations: 0 / 0.7697 GB, free: 372 kB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 5.956e-05/0.3712, allocations: 25.7 kB / 0.7697 GB, free: 340 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.3712, allocations: 126.7 kB / 0.7698 GB, free: 200 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.3713, allocations: 113.8 kB / 0.7699 GB, free: 76 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.3713, allocations: 25.7 kB / 0.77 GB, free: 44 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.3714, allocations: 84.09 kB / 0.77 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.3714, allocations: 0 / 0.77 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.3714, allocations: 17.72 kB / 0.7701 GB, free: 15.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.3715, allocations: 318.7 kB / 0.7704 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-06/0.3715, allocations: 0 / 0.7704 GB, free: 15.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.556e-06/0.3715, allocations: 7.938 kB / 0.7704 GB, free: 15.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.959e-05/0.3716, allocations: 8.859 kB / 0.7704 GB, free: 15.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3716, allocations: 0 / 0.7704 GB, free: 15.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.713e-05/0.3717, allocations: 37.69 kB / 0.7704 GB, free: 15.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.3717, allocations: 4 kB / 0.7704 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3717, allocations: 0 / 0.7704 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.3717, allocations: 0 / 0.7704 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.318e-05/0.3717, allocations: 0 / 0.7704 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.3717, allocations: 0 / 0.7704 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.567e-05/0.3717, allocations: 8.094 kB / 0.7704 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.3718, allocations: 8 kB / 0.7704 GB, free: 15.53 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 7.697e-05/0.3718, allocations: 185.1 kB / 0.7706 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.3719, allocations: 108.9 kB / 0.7707 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.3719, allocations: 108.1 kB / 0.7708 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.906e-05/0.372, allocations: 180.2 kB / 0.771 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-05/0.3721, allocations: 180.3 kB / 0.7712 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.656e-05/0.3721, allocations: 180.3 kB / 0.7713 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.3723, allocations: 413 kB / 0.7717 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.666e-05/0.3724, allocations: 101 kB / 0.7718 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.3724, allocations: 104.9 kB / 0.7719 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.946e-05/0.3724, allocations: 188.2 kB / 0.7721 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.369e-05/0.3725, allocations: 180.3 kB / 0.7723 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.529e-05/0.3726, allocations: 180.2 kB / 0.7725 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.578e-05/0.3726, allocations: 180.3 kB / 0.7726 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.3728, allocations: 315.9 kB / 0.7729 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.3728, allocations: 190 kB / 0.7731 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.124e-05/0.3729, allocations: 176.3 kB / 0.7733 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.536e-05/0.373, allocations: 101 kB / 0.7734 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.373, allocations: 184.2 kB / 0.7735 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.3731, allocations: 105 kB / 0.7736 GB, free: 12.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.803e-05/0.3731, allocations: 83.28 kB / 0.7737 GB, free: 11.94 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3731, allocations: 4 kB / 0.7737 GB, free: 11.94 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002449/0.3734, allocations: 15.94 kB / 0.7737 GB, free: 11.92 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.000314/0.3737, allocations: 232.5 kB / 0.774 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.837e-05/0.3738, allocations: 11.94 kB / 0.774 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3738, allocations: 4.062 kB / 0.774 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.3738, allocations: 0 / 0.774 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.0003158/0.3741, allocations: 455.6 kB / 0.7744 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.3744, allocations: 196.3 kB / 0.7746 GB, free: 11.01 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.3746, allocations: 0.6767 MB / 0.7753 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.325e-05/0.3747, allocations: 4.328 kB / 0.7753 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/0.3747, allocations: 11.44 kB / 0.7753 GB, free: 10.29 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.3747, allocations: 0 / 0.7753 GB, free: 10.29 MB / 0.545 GB Notification: Performance of Templates: time 0.002541/0.3772, allocations: 0.6919 MB / 0.776 GB, free: 9.652 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)