Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8323/0.8323, allocations: 140.1 MB / 156 MB, free: 5.152 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.001042/0.001042, allocations: 181.5 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.4 MB / 426.3 MB, free: 8.438 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000996/0.000996, allocations: 86.36 kB / 0.4945 GB, free: 8.387 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001758/0.001758, allocations: 268.3 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004673, allocations: 16 kB / 0.6621 GB, free: 6.746 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3815, allocations: 79.3 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1406/0.5221, allocations: 117.9 MB / 0.8547 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.5224, allocations: 111.9 kB / 0.8548 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.05878/0.5812, allocations: 22.25 MB / 0.8765 GB, free: 1.805 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.827e-06/0.5812, allocations: 8 kB / 0.8765 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.018e-05/0.5813, allocations: 8 kB / 0.8765 GB, free: 1.789 MB / 0.5417 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.001541/0.5828, allocations: 0.8412 MB / 0.8773 GB, free: 0.8945 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5829, allocations: 8.031 kB / 0.8773 GB, free: 0.8867 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.583, allocations: 72.09 kB / 0.8774 GB, free: 0.8164 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006716/0.5837, allocations: 449.7 kB / 0.8778 GB, free: 344 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/0.5838, allocations: 37.38 kB / 0.8779 GB, free: 308 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.059e-05/0.5839, allocations: 48.38 kB / 0.8779 GB, free: 260 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007892/0.5847, allocations: 431 kB / 0.8783 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.5847, allocations: 4.125 kB / 0.8783 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/0.5847, allocations: 23.94 kB / 0.8784 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.5848, allocations: 12 kB / 0.8784 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007224/0.5855, allocations: 375.8 kB / 0.8787 GB, free: 15.42 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/0.5878, allocations: 1.539 MB / 0.8802 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005423/0.5883, allocations: 343.9 kB / 0.8806 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005077/0.5888, allocations: 358.5 kB / 0.8809 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.5889, allocations: 7.781 kB / 0.8809 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.5889, allocations: 34.56 kB / 0.8809 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=42): time 1.913e-06/0.5889, allocations: 0 / 0.8809 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.0009754/0.5899, allocations: 0.5015 MB / 0.8814 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.59, allocations: 55.41 kB / 0.8815 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005783/0.5905, allocations: 485.9 kB / 0.882 GB, free: 12.01 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.5906, allocations: 29.7 kB / 0.882 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.5908, allocations: 276.3 kB / 0.8822 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.5909, allocations: 145.8 kB / 0.8824 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.525e-05/0.5909, allocations: 8 kB / 0.8824 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.5911, allocations: 366.8 kB / 0.8827 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.5914, allocations: 124.7 kB / 0.8829 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.5916, allocations: 133.2 kB / 0.883 GB, free: 10.92 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005149/0.5922, allocations: 294.8 kB / 0.8833 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5922, allocations: 0 / 0.8833 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006938/0.5929, allocations: 401.2 kB / 0.8837 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.5929, allocations: 7.938 kB / 0.8837 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5929, allocations: 0 / 0.8837 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.5929, allocations: 0 / 0.8837 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.5934, allocations: 131.8 kB / 0.8838 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.5935, allocations: 0 / 0.8838 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.5937, allocations: 55.66 kB / 0.8838 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.5938, allocations: 11.94 kB / 0.8838 GB, free: 10.03 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 () * Number of clocked 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.0002368/0.594, allocations: 198.1 kB / 0.884 GB, free: 9.828 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.5941, allocations: 55.28 kB / 0.8841 GB, free: 9.773 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.5942, allocations: 65.05 kB / 0.8842 GB, free: 9.707 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.5942, allocations: 8 kB / 0.8842 GB, free: 9.699 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5942, allocations: 0 / 0.8842 GB, free: 9.699 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.5942, allocations: 7.984 kB / 0.8842 GB, free: 9.691 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006724/0.5949, allocations: 0.5712 MB / 0.8847 GB, free: 9.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.5949, allocations: 0 / 0.8847 GB, free: 9.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005213/0.5955, allocations: 127.8 kB / 0.8848 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.5955, allocations: 7.938 kB / 0.8849 GB, free: 8.938 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.5955, allocations: 8 kB / 0.8849 GB, free: 8.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.5955, allocations: 4 kB / 0.8849 GB, free: 8.926 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5955, allocations: 4 kB / 0.8849 GB, free: 8.922 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009918/0.5965, allocations: 0.6658 MB / 0.8855 GB, free: 8.238 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.5967, allocations: 128.5 kB / 0.8856 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.5967, allocations: 15.94 kB / 0.8857 GB, free: 8.078 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.597, allocations: 19.98 kB / 0.8857 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.597, allocations: 19.97 kB / 0.8857 GB, free: 8.039 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.5971, allocations: 12 kB / 0.8857 GB, free: 8.027 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004174/0.5975, allocations: 351.1 kB / 0.886 GB, free: 7.684 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5975, allocations: 0 / 0.886 GB, free: 7.684 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000477/0.598, allocations: 159.5 kB / 0.8862 GB, free: 7.527 MB / 0.5573 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 () * Number of clocked 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.0003894/0.5984, allocations: 264.3 kB / 0.8864 GB, free: 7.27 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005838/0.599, allocations: 331.3 kB / 0.8868 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.599, allocations: 0 / 0.8868 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.5993, allocations: 191.5 kB / 0.8869 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007015/0.6, allocations: 121.9 kB / 0.8871 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.6021, allocations: 1.431 MB / 0.8885 GB, free: 5.18 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.6026, allocations: 0.8707 MB / 0.8893 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002097/0.6028, allocations: 52.36 kB / 0.8894 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.841e-05/0.6029, allocations: 39.42 kB / 0.8894 GB, free: 4.195 MB / 0.5573 GB Notification: Performance of SimCode: time 3.01e-07/0.6029, allocations: 0 / 0.8894 GB, free: 4.195 MB / 0.5573 GB Notification: Performance of Templates: time 0.3607/0.9636, allocations: 7.136 MB / 0.8964 GB, free: 136.3 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)