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.7313/0.7313, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 199.6 kB / 169.7 MB, free: 1.73 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.1 MB / 404.5 MB, free: 1.672 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.00101/0.001009, allocations: 91.61 kB / 481.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.18e-05/3.182e-05, allocations: 4 kB / 0.5533 GB, free: 54.79 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1381, allocations: 76.75 MB / 0.6282 GB, free: 9.988 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5325/0.6706, allocations: 113.9 MB / 0.7394 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/0.6711, allocations: 116.3 kB / 0.7395 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06036/0.7314, allocations: 22.76 MB / 0.7618 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7315, allocations: 0 / 0.7618 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.7315, allocations: 12 kB / 0.7618 GB, free: 11.46 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.001063/0.7326, allocations: 0.7559 MB / 0.7625 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.7326, allocations: 12.03 kB / 0.7625 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.7327, allocations: 75.16 kB / 0.7626 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005625/0.7333, allocations: 436.8 kB / 0.763 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.7333, allocations: 40.95 kB / 0.7631 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.758e-05/0.7334, allocations: 44 kB / 0.7631 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006612/0.7341, allocations: 398.6 kB / 0.7635 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.7341, allocations: 3.938 kB / 0.7635 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.7342, allocations: 20 kB / 0.7635 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.7342, allocations: 12 kB / 0.7635 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005316/0.7347, allocations: 332 kB / 0.7638 GB, free: 9.273 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.7369, allocations: 1.532 MB / 0.7653 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/0.7374, allocations: 326.9 kB / 0.7656 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004488/0.7378, allocations: 340.3 kB / 0.766 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.7379, allocations: 11.89 kB / 0.766 GB, free: 7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.7379, allocations: 42.34 kB / 0.766 GB, free: 6.949 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 1.784e-06/0.7379, allocations: 0 / 0.766 GB, free: 6.949 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.0005772/0.7385, allocations: 336.7 kB / 0.7663 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.7385, allocations: 59.41 kB / 0.7664 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/0.7391, allocations: 435.1 kB / 0.7668 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.7391, allocations: 33.7 kB / 0.7668 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.7393, allocations: 272.3 kB / 0.7671 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.7394, allocations: 141.9 kB / 0.7672 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/0.7395, allocations: 8 kB / 0.7672 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.7396, allocations: 358.8 kB / 0.7676 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.7398, allocations: 104.8 kB / 0.7677 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.74, allocations: 109.5 kB / 0.7678 GB, free: 5.082 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.7402, allocations: 130.3 kB / 0.7679 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7402, allocations: 0 / 0.7679 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005395/0.7408, allocations: 364 kB / 0.7683 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.7408, allocations: 7.953 kB / 0.7683 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.7408, allocations: 4 kB / 0.7683 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.7409, allocations: 0 / 0.7683 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005332/0.7414, allocations: 123.9 kB / 0.7684 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.7414, allocations: 4 kB / 0.7684 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.7417, allocations: 55.66 kB / 0.7684 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.7418, allocations: 8 kB / 0.7685 GB, free: 4.395 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 () * 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.0001146/0.7419, allocations: 120.9 kB / 0.7686 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.161e-05/0.742, allocations: 51.34 kB / 0.7686 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.7421, allocations: 68.83 kB / 0.7687 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.7421, allocations: 4 kB / 0.7687 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.7422, allocations: 4 kB / 0.7687 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.7422, allocations: 0 / 0.7687 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006986/0.7429, allocations: 0.5712 MB / 0.7692 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.7429, allocations: 0 / 0.7692 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/0.7434, allocations: 123.9 kB / 0.7694 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.7434, allocations: 4 kB / 0.7694 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.7435, allocations: 16 kB / 0.7694 GB, free: 3.383 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.388e-05/0.7435, allocations: 15.88 kB / 0.7694 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.7435, allocations: 0 / 0.7694 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008554/0.7444, allocations: 0.6117 MB / 0.77 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.7445, allocations: 132.4 kB / 0.7701 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.672e-05/0.7446, allocations: 8 kB / 0.7701 GB, free: 2.582 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.7448, allocations: 23.98 kB / 0.7702 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.7449, allocations: 31.7 kB / 0.7702 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.7449, allocations: 12 kB / 0.7702 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004057/0.7453, allocations: 341.2 kB / 0.7705 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7453, allocations: 0 / 0.7705 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004729/0.7458, allocations: 159.5 kB / 0.7707 GB, free: 2.027 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 () * 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.0004978/0.7463, allocations: 276 kB / 0.7709 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005022/0.7468, allocations: 295.6 kB / 0.7712 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7468, allocations: 0 / 0.7712 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.7471, allocations: 168 kB / 0.7714 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006346/0.7477, allocations: 115.9 kB / 0.7715 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.7494, allocations: 0.9126 MB / 0.7724 GB, free: 256 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.75, allocations: 0.8785 MB / 0.7732 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002075/0.7502, allocations: 60.28 kB / 0.7733 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.854e-05/0.7503, allocations: 35.44 kB / 0.7733 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/0.7503, allocations: 0 / 0.7733 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of Templates: time 0.01393/0.7642, allocations: 7.455 MB / 0.7806 GB, free: 7.914 MB / 0.5261 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)