Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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) 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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.362/1.362, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009819/0.0009819, allocations: 186.7 kB / 327.6 MB, free: 2.137 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.4 MB / 0.5785 GB, free: 20.46 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008592/0.0008589, allocations: 87.98 kB / 0.6831 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004664, allocations: 11.97 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2112, allocations: 106.3 MB / 0.9013 GB, free: 64 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1788/0.39, allocations: 142.5 MB / 1.04 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000358/0.3904, allocations: 111.9 kB / 1.041 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.463/0.8535, allocations: 22.25 MB / 1.062 GB, free: 147.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.734e-06/0.8535, allocations: 0 / 1.062 GB, free: 147.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.519e-05/0.8535, allocations: 10.41 kB / 1.062 GB, free: 147.5 MB / 0.698 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.001528/0.8551, allocations: 0.84 MB / 1.063 GB, free: 147 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.8551, allocations: 13.84 kB / 1.063 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.8553, allocations: 71.66 kB / 1.063 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000633/0.856, allocations: 453.2 kB / 1.064 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.856, allocations: 36.78 kB / 1.064 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-05/0.8561, allocations: 52.16 kB / 1.064 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000779/0.8569, allocations: 430.1 kB / 1.064 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.8569, allocations: 192 / 1.064 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.857, allocations: 23.05 kB / 1.064 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.857, allocations: 12 kB / 1.064 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006952/0.8577, allocations: 376.5 kB / 1.064 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.8599, allocations: 1.537 MB / 1.066 GB, free: 146.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/0.8604, allocations: 347.7 kB / 1.066 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004963/0.8609, allocations: 356 kB / 1.067 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.861, allocations: 4.438 kB / 1.067 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.861, allocations: 35.97 kB / 1.067 GB, free: 146.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=42): time 1.764e-06/0.861, allocations: 0 / 1.067 GB, free: 146.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.001077/0.8621, allocations: 0.5043 MB / 1.067 GB, free: 146 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.8621, allocations: 64.2 kB / 1.067 GB, free: 145.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007934/0.8629, allocations: 482.3 kB / 1.068 GB, free: 145.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.863, allocations: 31.52 kB / 1.068 GB, free: 145.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.8632, allocations: 276.1 kB / 1.068 GB, free: 145.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.8634, allocations: 146.2 kB / 1.068 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.578e-05/0.8634, allocations: 8.844 kB / 1.068 GB, free: 145.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.8635, allocations: 360 kB / 1.069 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.8638, allocations: 125.5 kB / 1.069 GB, free: 145.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.8641, allocations: 127.3 kB / 1.069 GB, free: 145.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/0.8648, allocations: 298.8 kB / 1.069 GB, free: 145.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.8648, allocations: 2.812 kB / 1.069 GB, free: 145.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007934/0.8656, allocations: 394.2 kB / 1.069 GB, free: 145.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.8656, allocations: 12.38 kB / 1.069 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.8656, allocations: 0 / 1.069 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.8656, allocations: 2.812 kB / 1.069 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005536/0.8662, allocations: 124.8 kB / 1.07 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.8662, allocations: 9.031 kB / 1.07 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.8666, allocations: 61.16 kB / 1.07 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.8666, allocations: 7.594 kB / 1.07 GB, free: 145.1 MB / 0.698 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.0003069/0.8669, allocations: 198.5 kB / 1.07 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.585e-05/0.867, allocations: 52.09 kB / 1.07 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.8671, allocations: 66.2 kB / 1.07 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.8672, allocations: 5.406 kB / 1.07 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.8672, allocations: 0 / 1.07 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.8672, allocations: 2.766 kB / 1.07 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008113/0.868, allocations: 0.5638 MB / 1.07 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.868, allocations: 6.016 kB / 1.07 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/0.8686, allocations: 126.8 kB / 1.071 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.8686, allocations: 5.375 kB / 1.071 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.8686, allocations: 10.73 kB / 1.071 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.8687, allocations: 2.312 kB / 1.071 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8687, allocations: 0 / 1.071 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.8699, allocations: 0.6629 MB / 1.071 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.87, allocations: 139.2 kB / 1.071 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.573e-05/0.8701, allocations: 13.22 kB / 1.071 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.8704, allocations: 25 kB / 1.071 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.8705, allocations: 23.53 kB / 1.071 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.8705, allocations: 12.92 kB / 1.071 GB, free: 144.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00049/0.871, allocations: 345.8 kB / 1.072 GB, free: 144.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.91e-07/0.871, allocations: 0 / 1.072 GB, free: 144.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007688/0.8718, allocations: 151.6 kB / 1.072 GB, free: 144.4 MB / 0.698 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.0005534/0.8723, allocations: 278.8 kB / 1.072 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009443/0.8733, allocations: 335.7 kB / 1.073 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8733, allocations: 0.875 kB / 1.073 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004892/0.8738, allocations: 181.6 kB / 1.073 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.8748, allocations: 112.4 kB / 1.073 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/0.8779, allocations: 1.445 MB / 1.074 GB, free: 143.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005987/0.8785, allocations: 0.8637 MB / 1.075 GB, free: 142.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004026/0.8789, allocations: 55.38 kB / 1.075 GB, free: 142.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.8791, allocations: 35.09 kB / 1.075 GB, free: 142.7 MB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/0.8791, allocations: 4.672 kB / 1.075 GB, free: 142.7 MB / 0.698 GB Notification: Performance of Templates: time 0.01787/0.897, allocations: 7.155 MB / 1.082 GB, free: 142.2 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)