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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.796/0.796, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 172.2 kB / 182.2 MB, free: 9.445 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009255/0.0009254, allocations: 92.09 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001764/0.001764, allocations: 276.9 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.102e-05/2.103e-05, allocations: 7.984 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5517/0.5518, allocations: 82.78 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.6984, allocations: 109.6 MB / 0.8644 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.6987, allocations: 115.8 kB / 0.8645 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004794/0.7035, allocations: 2.037 MB / 0.8665 GB, free: 116 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7035, allocations: 0 / 0.8665 GB, free: 116 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.7035, allocations: 4 kB / 0.8665 GB, free: 112 kB / 0.5261 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.0002756/0.7038, allocations: 322.6 kB / 0.8668 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.7038, allocations: 8.031 kB / 0.8668 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.7039, allocations: 0 / 0.8668 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.704, allocations: 163.1 kB / 0.867 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.704, allocations: 3.953 kB / 0.867 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-06/0.7041, allocations: 0 / 0.867 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.014e-05/0.7041, allocations: 3.984 kB / 0.867 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.377e-05/0.7042, allocations: 33.64 kB / 0.867 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.7042, allocations: 4 kB / 0.867 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.7042, allocations: 0 / 0.867 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.7042, allocations: 0 / 0.867 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.7046, allocations: 445.2 kB / 0.8675 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.371e-05/0.7047, allocations: 169.1 kB / 0.8676 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.7047, allocations: 84.14 kB / 0.8677 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.7048, allocations: 75.28 kB / 0.8678 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.7048, allocations: 109.8 kB / 0.8679 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.7048, allocations: 0 / 0.8679 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.941e-05/0.7049, allocations: 33.69 kB / 0.8679 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.7049, allocations: 51.41 kB / 0.868 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.705, allocations: 93 kB / 0.8681 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.7051, allocations: 29.7 kB / 0.8681 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.7051, allocations: 84.05 kB / 0.8682 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.7051, allocations: 0 / 0.8682 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.7051, allocations: 0 / 0.8682 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.7052, allocations: 310.8 kB / 0.8685 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-06/0.7053, allocations: 7.938 kB / 0.8685 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.727e-06/0.7053, allocations: 0 / 0.8685 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.614e-05/0.7053, allocations: 7.984 kB / 0.8685 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.7053, allocations: 64 / 0.8685 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001191/0.7055, allocations: 45.59 kB / 0.8685 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.7055, allocations: 4 kB / 0.8685 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.7055, allocations: 0 / 0.8685 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.7055, allocations: 0 / 0.8685 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.585e-05/0.7055, allocations: 4 kB / 0.8685 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.7055, allocations: 3.984 kB / 0.8685 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.427e-05/0.7056, allocations: 7.938 kB / 0.8685 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.7056, allocations: 4 kB / 0.8685 GB, free: 13.82 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.468e-05/0.7057, allocations: 180.3 kB / 0.8687 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.957e-05/0.7057, allocations: 104.9 kB / 0.8688 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.778e-05/0.7058, allocations: 112.7 kB / 0.8689 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.046e-05/0.7058, allocations: 176.3 kB / 0.8691 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.122e-05/0.7059, allocations: 180.2 kB / 0.8693 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.861e-05/0.7059, allocations: 181.1 kB / 0.8694 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.7061, allocations: 385.8 kB / 0.8698 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.588e-05/0.7062, allocations: 109 kB / 0.8699 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.7062, allocations: 108.9 kB / 0.87 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-05/0.7063, allocations: 176.3 kB / 0.8702 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/0.7064, allocations: 184.2 kB / 0.8704 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-05/0.7064, allocations: 184.2 kB / 0.8705 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-05/0.7065, allocations: 176.3 kB / 0.8707 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.7066, allocations: 307.8 kB / 0.871 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.942e-05/0.7067, allocations: 178.1 kB / 0.8712 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.583e-05/0.7068, allocations: 184.2 kB / 0.8713 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.593e-05/0.7069, allocations: 114.1 kB / 0.8714 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/0.707, allocations: 176.3 kB / 0.8716 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.707, allocations: 105 kB / 0.8717 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.707, allocations: 79.28 kB / 0.8718 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7071, allocations: 0 / 0.8718 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002652/0.7073, allocations: 31.92 kB / 0.8718 GB, free: 10.26 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003894/0.7077, allocations: 236.1 kB / 0.872 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.794e-05/0.7078, allocations: 0 / 0.872 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.7078, allocations: 4 kB / 0.8721 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.722e-06/0.7078, allocations: 4 kB / 0.8721 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.7081, allocations: 0.5231 MB / 0.8726 GB, free: 9.492 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.7111, allocations: 1.041 MB / 0.8736 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.7114, allocations: 0.6768 MB / 0.8742 GB, free: 7.723 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.532e-05/0.7115, allocations: 0 / 0.8742 GB, free: 7.723 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.7115, allocations: 11.44 kB / 0.8743 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of SimCode: time 3.41e-07/0.7115, allocations: 0 / 0.8743 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of Templates: time 0.002621/0.7141, allocations: 0.6566 MB / 0.8749 GB, free: 7.102 MB / 0.5417 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)