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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7514/0.7514, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 178.1 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009082/0.0009083, allocations: 95.69 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001814/0.001814, allocations: 273.9 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.704e-05/3.707e-05, allocations: 4 kB / 0.6835 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4686/0.4687, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.6065, allocations: 117.1 MB / 0.8787 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.6068, allocations: 112.6 kB / 0.8788 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04804/0.6549, allocations: 18.22 MB / 0.8966 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6549, allocations: 0 / 0.8966 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.655, allocations: 8 kB / 0.8966 GB, free: 5.016 MB / 0.5573 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.0007823/0.6558, allocations: 0.5836 MB / 0.8972 GB, free: 4.387 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.6558, allocations: 12.03 kB / 0.8972 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.016e-05/0.6559, allocations: 39.53 kB / 0.8972 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005075/0.6564, allocations: 355.9 kB / 0.8975 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.6565, allocations: 20.44 kB / 0.8976 GB, free: 3.93 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/0.6565, allocations: 16 kB / 0.8976 GB, free: 3.914 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.6569, allocations: 187.5 kB / 0.8978 GB, free: 3.727 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.6569, allocations: 0 / 0.8978 GB, free: 3.727 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.6569, allocations: 15.94 kB / 0.8978 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.6569, allocations: 4 kB / 0.8978 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.6572, allocations: 137.7 kB / 0.8979 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.6584, allocations: 0.8701 MB / 0.8988 GB, free: 2.629 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.6587, allocations: 142.7 kB / 0.8989 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.6588, allocations: 102.7 kB / 0.899 GB, free: 2.379 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.6589, allocations: 3.953 kB / 0.899 GB, free: 2.375 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.6589, allocations: 34.56 kB / 0.899 GB, free: 2.332 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.6589, allocations: 0 / 0.899 GB, free: 2.332 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18): time 0.0003341/0.6593, allocations: 171.1 kB / 0.8992 GB, free: 2.16 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.6593, allocations: 55.34 kB / 0.8992 GB, free: 2.094 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004399/0.6598, allocations: 370.9 kB / 0.8996 GB, free: 1.723 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.6598, allocations: 29.7 kB / 0.8996 GB, free: 1.688 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.6599, allocations: 204.2 kB / 0.8998 GB, free: 1.484 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/0.66, allocations: 67 kB / 0.8999 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-06/0.66, allocations: 0 / 0.8999 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.6602, allocations: 350.8 kB / 0.9002 GB, free: 1.066 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.643e-05/0.6603, allocations: 47.94 kB / 0.9003 GB, free: 1.02 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-05/0.6603, allocations: 44 kB / 0.9003 GB, free: 0.9766 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.96e-05/0.6604, allocations: 56.97 kB / 0.9004 GB, free: 0.9219 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6605, allocations: 4 kB / 0.9004 GB, free: 0.918 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002566/0.6607, allocations: 182.9 kB / 0.9005 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.6607, allocations: 4 kB / 0.9005 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.6608, allocations: 0 / 0.9005 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.6608, allocations: 0 / 0.9005 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.661, allocations: 55.91 kB / 0.9006 GB, free: 0.6758 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.6611, allocations: 4 kB / 0.9006 GB, free: 0.6719 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.6612, allocations: 27.83 kB / 0.9006 GB, free: 0.6445 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.6613, allocations: 8 kB / 0.9006 GB, free: 0.6367 MB / 0.5573 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 (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 8.3e-05/0.6613, allocations: 116.9 kB / 0.9007 GB, free: 0.5156 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.6614, allocations: 35.58 kB / 0.9008 GB, free: 492 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.763e-05/0.6615, allocations: 47.34 kB / 0.9008 GB, free: 444 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6615, allocations: 7.938 kB / 0.9008 GB, free: 436 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6615, allocations: 0 / 0.9008 GB, free: 436 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.6615, allocations: 0 / 0.9008 GB, free: 436 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.6619, allocations: 377.3 kB / 0.9012 GB, free: 8 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.662, allocations: 0 / 0.9012 GB, free: 8 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.6622, allocations: 59.97 kB / 0.9012 GB, free: 15.95 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.6623, allocations: 0 / 0.9012 GB, free: 15.95 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.6623, allocations: 7.938 kB / 0.9013 GB, free: 15.94 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.6623, allocations: 0 / 0.9013 GB, free: 15.94 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6623, allocations: 0 / 0.9013 GB, free: 15.94 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.6627, allocations: 340 kB / 0.9016 GB, free: 15.59 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.6628, allocations: 128.5 kB / 0.9017 GB, free: 15.45 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.6629, allocations: 0 / 0.9017 GB, free: 15.45 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.6631, allocations: 15.98 kB / 0.9017 GB, free: 15.43 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.6631, allocations: 11.98 kB / 0.9017 GB, free: 15.42 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.6631, allocations: 4 kB / 0.9017 GB, free: 15.42 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003185/0.6635, allocations: 297.2 kB / 0.902 GB, free: 15.13 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6635, allocations: 64 / 0.902 GB, free: 15.13 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000361/0.6638, allocations: 87.84 kB / 0.9021 GB, free: 15.04 MB / 0.573 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 () * 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.0003981/0.6642, allocations: 253.3 kB / 0.9023 GB, free: 14.79 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002359/0.6645, allocations: 124.9 kB / 0.9025 GB, free: 14.67 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6645, allocations: 0 / 0.9025 GB, free: 14.67 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 9.5e-05/0.6646, allocations: 69.34 kB / 0.9025 GB, free: 14.61 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.6651, allocations: 89.39 kB / 0.9026 GB, free: 14.52 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.6661, allocations: 0.5281 MB / 0.9031 GB, free: 13.98 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.6665, allocations: 0.8109 MB / 0.9039 GB, free: 13.14 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.6666, allocations: 30.97 kB / 0.9039 GB, free: 13.11 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.6667, allocations: 23.44 kB / 0.904 GB, free: 13.08 MB / 0.573 GB Notification: Performance of SimCode: time 2.41e-07/0.6667, allocations: 0 / 0.904 GB, free: 13.08 MB / 0.573 GB Notification: Performance of Templates: time 0.01048/0.6772, allocations: 5.539 MB / 0.9094 GB, free: 7.652 MB / 0.573 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)