Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json 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/IBPSA 3.0.0-master/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) 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 173 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4398/0.4398, allocations: 86.27 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.3 MB / 348.4 MB, free: 4.875 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008258/0.0008258, allocations: 92.58 kB / 420.2 MB, free: 9.641 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003557, allocations: 15.98 kB / 0.4901 GB, free: 7.949 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3242, allocations: 71.02 MB / 0.5595 GB, free: 43.71 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.4581, allocations: 108.7 MB / 0.6656 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.4584, allocations: 119.6 kB / 0.6657 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04802/0.5065, allocations: 18.21 MB / 0.6835 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5065, allocations: 3.938 kB / 0.6835 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.893e-05/0.5065, allocations: 8 kB / 0.6835 GB, free: 14.37 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00109/0.5076, allocations: 0.6424 MB / 0.6842 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.5077, allocations: 8.031 kB / 0.6842 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.5078, allocations: 44.38 kB / 0.6842 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005615/0.5084, allocations: 382 kB / 0.6846 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.5084, allocations: 16.81 kB / 0.6846 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.5085, allocations: 20.38 kB / 0.6846 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.5089, allocations: 203.8 kB / 0.6848 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.5089, allocations: 192 / 0.6848 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.509, allocations: 15.94 kB / 0.6848 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.509, allocations: 8 kB / 0.6848 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.5094, allocations: 173.6 kB / 0.685 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.5106, allocations: 0.874 MB / 0.6858 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.5109, allocations: 172.8 kB / 0.686 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.5112, allocations: 112.8 kB / 0.6861 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.5112, allocations: 4 kB / 0.6861 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.5112, allocations: 34.56 kB / 0.6862 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.562e-06/0.5112, allocations: 4 kB / 0.6862 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0005876/0.5118, allocations: 262.9 kB / 0.6864 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.5119, allocations: 59.34 kB / 0.6865 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/0.5124, allocations: 421.7 kB / 0.6869 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.5124, allocations: 25.7 kB / 0.6869 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.5125, allocations: 208.2 kB / 0.6871 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.5126, allocations: 59.11 kB / 0.6871 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.5126, allocations: 7.938 kB / 0.6872 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5128, allocations: 350.7 kB / 0.6875 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.5129, allocations: 63.97 kB / 0.6876 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.5131, allocations: 61.86 kB / 0.6876 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.5134, allocations: 142.5 kB / 0.6877 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.5134, allocations: 0 / 0.6877 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003741/0.5137, allocations: 213.5 kB / 0.6879 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.5138, allocations: 4 kB / 0.688 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5138, allocations: 0 / 0.688 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.5138, allocations: 4 kB / 0.688 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.5141, allocations: 71.83 kB / 0.688 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.5141, allocations: 0 / 0.688 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.5143, allocations: 23.83 kB / 0.688 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.5143, allocations: 8 kB / 0.6881 GB, free: 9.496 MB / 0.4948 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 (20): * Single equations (assignments): 20 * 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.0001671/0.5144, allocations: 162.2 kB / 0.6882 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.5145, allocations: 39.53 kB / 0.6882 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.7e-05/0.5146, allocations: 43.58 kB / 0.6883 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.5146, allocations: 3.938 kB / 0.6883 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.5146, allocations: 0 / 0.6883 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5146, allocations: 4 kB / 0.6883 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/0.515, allocations: 377.2 kB / 0.6887 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5151, allocations: 0 / 0.6887 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.5153, allocations: 55.95 kB / 0.6887 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5153, allocations: 7.938 kB / 0.6887 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.5153, allocations: 4 kB / 0.6887 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.5154, allocations: 7.938 kB / 0.6887 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5154, allocations: 0 / 0.6887 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000585/0.516, allocations: 402.9 kB / 0.6891 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.5161, allocations: 112.8 kB / 0.6892 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.5161, allocations: 4 kB / 0.6892 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.5163, allocations: 19.92 kB / 0.6892 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.5164, allocations: 7.984 kB / 0.6893 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.5164, allocations: 8.062 kB / 0.6893 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003239/0.5167, allocations: 303.1 kB / 0.6895 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5167, allocations: 0 / 0.6895 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003737/0.5171, allocations: 91.69 kB / 0.6896 GB, free: 7.781 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0003736/0.5175, allocations: 259.4 kB / 0.6899 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003355/0.5178, allocations: 143.9 kB / 0.69 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5178, allocations: 0 / 0.69 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.518, allocations: 91.89 kB / 0.6901 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005754/0.5186, allocations: 79.2 kB / 0.6902 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.5199, allocations: 0.9013 MB / 0.6911 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.5204, allocations: 0.7914 MB / 0.6918 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001665/0.5206, allocations: 38.91 kB / 0.6919 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.277e-05/0.5206, allocations: 27.44 kB / 0.6919 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of SimCode: time 2.404e-06/0.5207, allocations: 0 / 0.6919 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.01091/0.5316, allocations: 5.312 MB / 0.6971 GB, free: 204 kB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)