Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 197.5 kB / 16.53 MB, free: 6.672 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002085, allocations: 295 kB / 290.7 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9304/0.9304, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 96.81 kB / 0.5953 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1351, allocations: 86.97 MB / 0.6802 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003925/0.1391, allocations: 3.026 MB / 0.6832 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.1416, allocations: 2.142 MB / 0.6853 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.1418, allocations: 4 kB / 0.6853 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.1431, allocations: 0.5002 MB / 0.6857 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.1433, allocations: 150.8 kB / 0.6859 GB, free: 10.83 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001104/0.1435, allocations: 63.92 kB / 0.686 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.1439, allocations: 441.9 kB / 0.6864 GB, free: 10.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.1441, allocations: 143.2 kB / 0.6865 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.1443, allocations: 159.4 kB / 0.6867 GB, free: 10.04 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.1445, allocations: 187.1 kB / 0.6868 GB, free: 9.855 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/0.1446, allocations: 36 kB / 0.6869 GB, free: 9.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.604e-05/0.1446, allocations: 32 kB / 0.6869 GB, free: 9.789 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.675e-05/0.1447, allocations: 95.67 kB / 0.687 GB, free: 9.695 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.1449, allocations: 226.8 kB / 0.6872 GB, free: 9.473 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004238/0.1453, allocations: 0.545 MB / 0.6877 GB, free: 8.926 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1454, allocations: 0 / 0.6877 GB, free: 8.926 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1454, allocations: 0 / 0.6877 GB, free: 8.926 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1454, allocations: 0 / 0.6877 GB, free: 8.926 MB / 494.1 MB 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.0009017/0.1463, allocations: 0.7006 MB / 0.6884 GB, free: 8.176 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.1463, allocations: 8.031 kB / 0.6884 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.901e-05/0.1464, allocations: 48.38 kB / 0.6885 GB, free: 8.121 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.1468, allocations: 374.1 kB / 0.6888 GB, free: 7.719 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1468, allocations: 16.81 kB / 0.6889 GB, free: 7.703 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.1469, allocations: 20.38 kB / 0.6889 GB, free: 7.684 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.1473, allocations: 211.5 kB / 0.6891 GB, free: 7.473 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1473, allocations: 0 / 0.6891 GB, free: 7.473 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.1473, allocations: 12 kB / 0.6891 GB, free: 7.461 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1473, allocations: 4 kB / 0.6891 GB, free: 7.457 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.1477, allocations: 165.6 kB / 0.6893 GB, free: 7.297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.1488, allocations: 0.87 MB / 0.6901 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.1491, allocations: 154.6 kB / 0.6902 GB, free: 6.191 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.1493, allocations: 108.8 kB / 0.6904 GB, free: 6.082 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.1493, allocations: 0 / 0.6904 GB, free: 6.082 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.1493, allocations: 42.55 kB / 0.6904 GB, free: 6.031 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 2.304e-06/0.1493, allocations: 0 / 0.6904 GB, free: 6.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005653/0.1499, allocations: 261.3 kB / 0.6906 GB, free: 5.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.15, allocations: 51.41 kB / 0.6907 GB, free: 5.707 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004413/0.1504, allocations: 417.7 kB / 0.6911 GB, free: 5.293 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.1504, allocations: 29.7 kB / 0.6911 GB, free: 5.258 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.1506, allocations: 212.1 kB / 0.6913 GB, free: 5.043 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.1506, allocations: 59.11 kB / 0.6914 GB, free: 4.984 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/0.1507, allocations: 37.7 kB / 0.6914 GB, free: 4.941 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1508, allocations: 350.8 kB / 0.6917 GB, free: 4.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.151, allocations: 55.92 kB / 0.6918 GB, free: 4.535 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.1511, allocations: 59.97 kB / 0.6919 GB, free: 4.477 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.1514, allocations: 131.9 kB / 0.692 GB, free: 4.348 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1514, allocations: 0 / 0.692 GB, free: 4.348 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003649/0.1518, allocations: 213.1 kB / 0.6922 GB, free: 4.133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1518, allocations: 6.344 kB / 0.6922 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1518, allocations: 0 / 0.6922 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1518, allocations: 7.938 kB / 0.6922 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.1521, allocations: 51.97 kB / 0.6923 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1521, allocations: 0 / 0.6923 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.1522, allocations: 19.83 kB / 0.6923 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1523, allocations: 8 kB / 0.6923 GB, free: 4.043 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.1524, allocations: 171.1 kB / 0.6924 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.666e-05/0.1525, allocations: 35.53 kB / 0.6925 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.131e-05/0.1525, allocations: 43.53 kB / 0.6925 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1526, allocations: 4 kB / 0.6925 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1526, allocations: 0 / 0.6925 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1526, allocations: 0 / 0.6925 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.1529, allocations: 369.4 kB / 0.6929 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1529, allocations: 0 / 0.6929 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.1532, allocations: 55.91 kB / 0.6929 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.1532, allocations: 4 kB / 0.6929 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1532, allocations: 7.938 kB / 0.6929 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1532, allocations: 0 / 0.6929 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1532, allocations: 0 / 0.6929 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005569/0.1538, allocations: 382.9 kB / 0.6933 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.664e-05/0.1539, allocations: 124.7 kB / 0.6934 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.154, allocations: 11.94 kB / 0.6934 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.1541, allocations: 15.92 kB / 0.6934 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.1542, allocations: 11.98 kB / 0.6935 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.1542, allocations: 0 / 0.6935 GB, free: 2.734 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003005/0.1545, allocations: 303.2 kB / 0.6937 GB, free: 2.438 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1545, allocations: 0 / 0.6937 GB, free: 2.438 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002998/0.1548, allocations: 71.84 kB / 0.6938 GB, free: 2.367 MB / 494.1 MB 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 (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.0001279/0.1549, allocations: 119.2 kB / 0.6939 GB, free: 2.242 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003851/0.1553, allocations: 149.8 kB / 0.6941 GB, free: 2.098 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1553, allocations: 0 / 0.6941 GB, free: 2.098 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.1555, allocations: 82.39 kB / 0.6942 GB, free: 2.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005781/0.1561, allocations: 92.16 kB / 0.6942 GB, free: 1.934 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.1573, allocations: 0.7576 MB / 0.695 GB, free: 1.152 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.1576, allocations: 0.7951 MB / 0.6958 GB, free: 340 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.1578, allocations: 34.91 kB / 0.6958 GB, free: 308 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.1578, allocations: 27.44 kB / 0.6958 GB, free: 280 kB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1578, allocations: 0 / 0.6958 GB, free: 280 kB / 494.1 MB Notification: Performance of Templates: time 0.007459/0.1653, allocations: 3.952 MB / 0.6997 GB, free: 12.45 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)