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.8754/0.8754, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 182.8 kB / 182.2 MB, free: 9.449 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.572/1.572, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.001137/0.001137, allocations: 96.03 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001826/0.001826, allocations: 277.1 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.096e-05/2.105e-05, allocations: 4 kB / 0.6766 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4507/0.4507, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.6051, allocations: 116.4 MB / 0.8711 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/0.6055, allocations: 115.8 kB / 0.8712 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0738/0.6793, allocations: 17.98 MB / 0.8888 GB, free: 9.266 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6794, allocations: 4.219 kB / 0.8888 GB, free: 9.262 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.672e-05/0.6794, allocations: 4 kB / 0.8888 GB, free: 9.258 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.001419/0.6809, allocations: 0.568 MB / 0.8894 GB, free: 8.645 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/0.681, allocations: 12.03 kB / 0.8894 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.6812, allocations: 43.53 kB / 0.8894 GB, free: 8.59 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009236/0.6821, allocations: 359.8 kB / 0.8898 GB, free: 8.199 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.6821, allocations: 11.98 kB / 0.8898 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-05/0.6822, allocations: 12 kB / 0.8898 GB, free: 8.176 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004354/0.6827, allocations: 120.9 kB / 0.8899 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004444/0.6831, allocations: 150.5 kB / 0.89 GB, free: 7.906 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.6832, allocations: 0 / 0.89 GB, free: 7.906 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.6832, allocations: 0 / 0.89 GB, free: 7.906 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.6832, allocations: 4 kB / 0.89 GB, free: 7.902 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.6852, allocations: 0.8269 MB / 0.8908 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.6856, allocations: 130.7 kB / 0.891 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.6858, allocations: 94.12 kB / 0.8911 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.6859, allocations: 0 / 0.8911 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.919e-05/0.6859, allocations: 42.45 kB / 0.8911 GB, free: 6.734 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 2.104e-06/0.6859, allocations: 0 / 0.8911 GB, free: 6.734 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18): time 0.0005038/0.6865, allocations: 158.8 kB / 0.8913 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.6865, allocations: 55.41 kB / 0.8913 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006765/0.6872, allocations: 330.4 kB / 0.8916 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.6873, allocations: 29.64 kB / 0.8916 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.6875, allocations: 212 kB / 0.8919 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.223e-05/0.6876, allocations: 59.11 kB / 0.8919 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.6876, allocations: 0 / 0.8919 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002155/0.6879, allocations: 350.8 kB / 0.8922 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.688, allocations: 36 kB / 0.8923 GB, free: 5.484 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.6881, allocations: 40.86 kB / 0.8923 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.6883, allocations: 48.8 kB / 0.8924 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6883, allocations: 0 / 0.8924 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004131/0.6887, allocations: 170 kB / 0.8925 GB, free: 5.227 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.6887, allocations: 8 kB / 0.8925 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.6888, allocations: 0 / 0.8925 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.6888, allocations: 0 / 0.8925 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.6892, allocations: 59.97 kB / 0.8926 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.6892, allocations: 0 / 0.8926 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.6895, allocations: 23.83 kB / 0.8926 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.6895, allocations: 8 kB / 0.8926 GB, free: 5.129 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 0.0001207/0.6897, allocations: 104.9 kB / 0.8927 GB, free: 5.02 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.6898, allocations: 43.48 kB / 0.8928 GB, free: 4.977 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.6899, allocations: 39.23 kB / 0.8928 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.6899, allocations: 0 / 0.8928 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.6899, allocations: 0 / 0.8928 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.69, allocations: 0 / 0.8928 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005626/0.6905, allocations: 329.9 kB / 0.8931 GB, free: 4.578 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.6905, allocations: 0 / 0.8931 GB, free: 4.578 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/0.6909, allocations: 55.97 kB / 0.8932 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.691, allocations: 0 / 0.8932 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.691, allocations: 8 kB / 0.8932 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.691, allocations: 7.891 kB / 0.8932 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.691, allocations: 0 / 0.8932 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005887/0.6916, allocations: 324.9 kB / 0.8935 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.6918, allocations: 116.7 kB / 0.8936 GB, free: 4.043 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.884e-05/0.6919, allocations: 3.984 kB / 0.8936 GB, free: 4.039 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.6922, allocations: 16.02 kB / 0.8936 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.6923, allocations: 11.98 kB / 0.8936 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.6923, allocations: 3.984 kB / 0.8936 GB, free: 4.008 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004441/0.6927, allocations: 264.6 kB / 0.8939 GB, free: 3.75 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6927, allocations: 3.938 kB / 0.8939 GB, free: 3.746 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000609/0.6934, allocations: 79.75 kB / 0.894 GB, free: 3.668 MB / 0.5573 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.0006429/0.694, allocations: 263.2 kB / 0.8942 GB, free: 3.406 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003401/0.6944, allocations: 113.2 kB / 0.8943 GB, free: 3.297 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6944, allocations: 0 / 0.8943 GB, free: 3.297 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.6946, allocations: 63.94 kB / 0.8944 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007145/0.6953, allocations: 72.09 kB / 0.8945 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.697, allocations: 0.5193 MB / 0.895 GB, free: 2.625 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006303/0.6976, allocations: 0.8029 MB / 0.8957 GB, free: 1.793 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003456/0.698, allocations: 35.27 kB / 0.8958 GB, free: 1.762 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.444e-05/0.6981, allocations: 19.44 kB / 0.8958 GB, free: 1.742 MB / 0.5573 GB Notification: Performance of SimCode: time 7.41e-07/0.6981, allocations: 0 / 0.8958 GB, free: 1.742 MB / 0.5573 GB Notification: Performance of Templates: time 0.4353/1.133, allocations: 3.561 MB / 0.8993 GB, free: 128.4 MB / 0.5573 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)