Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00446/0.00446, allocations: 101.1 kB / 15.73 MB, free: 6.473 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.001042/0.001042, allocations: 195 kB / 16.67 MB, free: 6.379 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002209/0.002209, allocations: 298 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9364/0.9364, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 95.86 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.161, allocations: 86.97 MB / 0.7665 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002249/0.1633, allocations: 1.434 MB / 0.7679 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003962/0.1673, allocations: 2.896 MB / 0.7707 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.1674, allocations: 0 / 0.7707 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.254e-05/0.1674, allocations: 11.92 kB / 0.7707 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.905e-05/0.1675, allocations: 15.86 kB / 0.7707 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003445/0.1709, allocations: 1.579 MB / 0.7723 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.721e-05/0.171, allocations: 43.73 kB / 0.7723 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.171, allocations: 0 / 0.7723 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.783e-05/0.1711, allocations: 15.94 kB / 0.7723 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.608e-05/0.1711, allocations: 23.84 kB / 0.7723 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.1711, allocations: 11.94 kB / 0.7723 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.1731, allocations: 1.531 MB / 0.7738 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.1731, allocations: 4 kB / 0.7738 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.1731, allocations: 19.86 kB / 0.7739 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.3315/0.5046, allocations: 1.096 MB / 0.7749 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.5047, allocations: 1.453 kB / 0.7749 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5047, allocations: 0 / 0.7749 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.5047, allocations: 0 / 0.7749 GB, free: 10.15 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006557/0.5053, allocations: 0.5245 MB / 0.7755 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.5054, allocations: 8.781 kB / 0.7755 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.5054, allocations: 80.14 kB / 0.7755 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.918e-05/0.5056, allocations: 251.9 kB / 0.7758 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.5056, allocations: 152 kB / 0.7759 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.5056, allocations: 157.8 kB / 0.7761 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.276e-05/0.5057, allocations: 110.1 kB / 0.7762 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.5057, allocations: 78.75 kB / 0.7763 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.5057, allocations: 150.6 kB / 0.7764 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.5057, allocations: 152.3 kB / 0.7765 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.913e-05/0.5058, allocations: 151.8 kB / 0.7767 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.506, allocations: 470.4 kB / 0.7771 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.689e-05/0.506, allocations: 171.5 kB / 0.7773 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.705e-05/0.506, allocations: 80.98 kB / 0.7774 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.5061, allocations: 75.84 kB / 0.7774 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.5061, allocations: 112.5 kB / 0.7776 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.5061, allocations: 0.5938 kB / 0.7776 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.016e-05/0.5062, allocations: 30.81 kB / 0.7776 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.5062, allocations: 132.4 kB / 0.7777 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.5063, allocations: 134.3 kB / 0.7778 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.834e-06/0.5064, allocations: 28.88 kB / 0.7779 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.5064, allocations: 92.19 kB / 0.778 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.5064, allocations: 1.562 kB / 0.778 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.5064, allocations: 23.17 kB / 0.778 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.469e-05/0.5065, allocations: 318.7 kB / 0.7783 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.5065, allocations: 5.875 kB / 0.7783 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.791e-05/0.5065, allocations: 6.891 kB / 0.7783 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.731e-05/0.5066, allocations: 15.84 kB / 0.7783 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5066, allocations: 0 / 0.7783 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001251/0.5067, allocations: 58.59 kB / 0.7784 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.5067, allocations: 6.156 kB / 0.7784 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.5068, allocations: 3.281 kB / 0.7784 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.5068, allocations: 0.5625 kB / 0.7784 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.5068, allocations: 0.7812 kB / 0.7784 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.5068, allocations: 5.859 kB / 0.7784 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/0.5068, allocations: 1.062 kB / 0.7784 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.5068, allocations: 2.781 kB / 0.7784 GB, free: 6.758 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.316e-05/0.5069, allocations: 187.1 kB / 0.7786 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/0.5069, allocations: 112.6 kB / 0.7787 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.507, allocations: 113 kB / 0.7788 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/0.507, allocations: 180.3 kB / 0.7789 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-05/0.507, allocations: 177.9 kB / 0.7791 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001274/0.5072, allocations: 184.7 kB / 0.7793 GB, free: 21.81 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.5074, allocations: 415.9 kB / 0.7797 GB, free: 21.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.433e-05/0.5074, allocations: 106.9 kB / 0.7798 GB, free: 21.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-05/0.5075, allocations: 108.8 kB / 0.7799 GB, free: 21.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-05/0.5075, allocations: 178.1 kB / 0.7801 GB, free: 20.97 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.794e-05/0.5076, allocations: 186.1 kB / 0.7802 GB, free: 20.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-05/0.5077, allocations: 180 kB / 0.7804 GB, free: 20.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.016e-05/0.5077, allocations: 187.6 kB / 0.7806 GB, free: 20.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.5079, allocations: 311.6 kB / 0.7809 GB, free: 20.12 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-05/0.5079, allocations: 189 kB / 0.7811 GB, free: 19.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.599e-05/0.508, allocations: 184.7 kB / 0.7812 GB, free: 19.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.5081, allocations: 102.3 kB / 0.7813 GB, free: 19.63 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.5082, allocations: 181.3 kB / 0.7815 GB, free: 19.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/0.5082, allocations: 105.8 kB / 0.7816 GB, free: 19.35 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.402e-05/0.5083, allocations: 103.1 kB / 0.7817 GB, free: 19.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5083, allocations: 0 / 0.7817 GB, free: 19.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00085/0.5092, allocations: 285.2 kB / 0.782 GB, free: 19.21 MB / 0.5762 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.001072/0.5102, allocations: 0.534 MB / 0.7825 GB, free: 19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.5104, allocations: 41.97 kB / 0.7826 GB, free: 18.96 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5104, allocations: 0 / 0.7826 GB, free: 18.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.5104, allocations: 1.734 kB / 0.7826 GB, free: 18.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.5108, allocations: 468 kB / 0.783 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/0.5111, allocations: 244.8 kB / 0.7832 GB, free: 18.31 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.5114, allocations: 0.6825 MB / 0.7839 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.568e-05/0.5114, allocations: 0.6562 kB / 0.7839 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.222e-05/0.5114, allocations: 10.28 kB / 0.7839 GB, free: 17.61 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.5114, allocations: 4 kB / 0.7839 GB, free: 17.61 MB / 0.5762 GB Notification: Performance of Templates: time 0.01052/0.5219, allocations: 5.608 MB / 0.7894 GB, free: 17.26 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)