Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7373/0.7373, allocations: 128.7 MB / 143.7 MB, free: 2.301 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 172.4 kB / 173.8 MB, free: 6.117 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.4 MB / 409 MB, free: 10.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001028, allocations: 94.56 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003554, allocations: 9.531 kB / 0.5604 GB, free: 97.44 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1922, allocations: 76.77 MB / 0.6354 GB, free: 30.51 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5675/0.7598, allocations: 114 MB / 0.7467 GB, free: 38.73 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000346/0.7602, allocations: 117.9 kB / 0.7468 GB, free: 38.73 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.06121/0.8214, allocations: 22.74 MB / 0.769 GB, free: 36.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.826e-06/0.8215, allocations: 0 / 0.769 GB, free: 36.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.126e-05/0.8215, allocations: 15.34 kB / 0.769 GB, free: 36.76 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001434/0.823, allocations: 0.851 MB / 0.7698 GB, free: 36.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.823, allocations: 10.19 kB / 0.7699 GB, free: 36.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.8232, allocations: 71.84 kB / 0.7699 GB, free: 36.15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006234/0.8238, allocations: 431.3 kB / 0.7703 GB, free: 35.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.641e-05/0.8239, allocations: 38.48 kB / 0.7704 GB, free: 35.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.934e-05/0.824, allocations: 53.22 kB / 0.7704 GB, free: 35.87 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008817/0.8249, allocations: 423.6 kB / 0.7708 GB, free: 35.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.8249, allocations: 5.375 kB / 0.7708 GB, free: 35.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.217e-05/0.8249, allocations: 18.94 kB / 0.7708 GB, free: 35.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.825, allocations: 11.91 kB / 0.7709 GB, free: 35.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007665/0.8257, allocations: 372.7 kB / 0.7712 GB, free: 35.81 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/0.8285, allocations: 1.54 MB / 0.7727 GB, free: 35.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005267/0.8291, allocations: 354 kB / 0.7731 GB, free: 35.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.8291, allocations: 3.906 kB / 0.7731 GB, free: 35.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.8292, allocations: 35.12 kB / 0.7731 GB, free: 35.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 2.785e-06/0.8292, allocations: 0 / 0.7731 GB, free: 35.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.0008971/0.8301, allocations: 0.5094 MB / 0.7736 GB, free: 35.13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.8301, allocations: 55.31 kB / 0.7736 GB, free: 35.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/0.8307, allocations: 433.3 kB / 0.7741 GB, free: 34.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.8307, allocations: 28.83 kB / 0.7741 GB, free: 34.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.8309, allocations: 274.7 kB / 0.7743 GB, free: 34.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.831, allocations: 148.1 kB / 0.7745 GB, free: 34.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.831, allocations: 3.688 kB / 0.7745 GB, free: 34.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.8311, allocations: 364.6 kB / 0.7748 GB, free: 34.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.8314, allocations: 118.9 kB / 0.775 GB, free: 34.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.8316, allocations: 131.3 kB / 0.7751 GB, free: 34.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.8318, allocations: 145.5 kB / 0.7752 GB, free: 34.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.8318, allocations: 0 / 0.7752 GB, free: 34.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005425/0.8324, allocations: 395.8 kB / 0.7756 GB, free: 34.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.8324, allocations: 3.906 kB / 0.7756 GB, free: 34.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.8324, allocations: 0 / 0.7756 GB, free: 34.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.8324, allocations: 0 / 0.7756 GB, free: 34.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/0.8329, allocations: 133.2 kB / 0.7757 GB, free: 34.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.8329, allocations: 11.86 kB / 0.7757 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.8333, allocations: 57.23 kB / 0.7758 GB, free: 34.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.8333, allocations: 11.38 kB / 0.7758 GB, free: 34.27 MB / 0.5105 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 (46): * Single equations (assignments): 46 * 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 0.0002258/0.8336, allocations: 194.7 kB / 0.776 GB, free: 34.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.987e-05/0.8336, allocations: 47.91 kB / 0.776 GB, free: 34.13 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.8338, allocations: 63.56 kB / 0.7761 GB, free: 34.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.8338, allocations: 7.938 kB / 0.7761 GB, free: 34.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.8338, allocations: 0 / 0.7761 GB, free: 34.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.8338, allocations: 11.22 kB / 0.7761 GB, free: 34.11 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006101/0.8344, allocations: 0.5751 MB / 0.7767 GB, free: 33.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.8344, allocations: 3.906 kB / 0.7767 GB, free: 33.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004792/0.8349, allocations: 126.2 kB / 0.7768 GB, free: 33.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.8349, allocations: 0 / 0.7768 GB, free: 33.88 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.835, allocations: 7.844 kB / 0.7768 GB, free: 33.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.835, allocations: 7.609 kB / 0.7768 GB, free: 33.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.835, allocations: 0 / 0.7768 GB, free: 33.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008018/0.8358, allocations: 0.6814 MB / 0.7775 GB, free: 33.69 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.8359, allocations: 131 kB / 0.7776 GB, free: 33.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.911e-05/0.836, allocations: 10.75 kB / 0.7776 GB, free: 33.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.8362, allocations: 29.33 kB / 0.7776 GB, free: 33.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.8363, allocations: 18.88 kB / 0.7777 GB, free: 33.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.8363, allocations: 7.188 kB / 0.7777 GB, free: 33.56 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003331/0.8366, allocations: 354.7 kB / 0.778 GB, free: 33.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8366, allocations: 0 / 0.778 GB, free: 33.47 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005164/0.8372, allocations: 151 kB / 0.7781 GB, free: 33.45 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0004079/0.8376, allocations: 282.4 kB / 0.7784 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005461/0.8381, allocations: 323.9 kB / 0.7787 GB, free: 33.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8381, allocations: 3.969 kB / 0.7787 GB, free: 33.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.8384, allocations: 186 kB / 0.7789 GB, free: 33.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/0.839, allocations: 122.8 kB / 0.779 GB, free: 33.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.8409, allocations: 1.442 MB / 0.7804 GB, free: 32.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.8412, allocations: 0.8755 MB / 0.7813 GB, free: 31.75 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002139/0.8414, allocations: 57.58 kB / 0.7813 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.797e-05/0.8415, allocations: 34.88 kB / 0.7814 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of SimCode: time 4.11e-07/0.8415, allocations: 0 / 0.7814 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of Templates: time 0.01346/0.855, allocations: 7.152 MB / 0.7884 GB, free: 31.11 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)