Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.584/2.584, allocations: 285 MB / 292.5 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001365/0.001365, allocations: 196.8 kB / 360.8 MB, free: 7.215 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.3 MB / 0.6192 GB, free: 12.11 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001039/0.001038, allocations: 87.75 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.464e-05/2.473e-05, allocations: 4 kB / 0.8509 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8001/0.8002, allocations: 115.2 MB / 0.9635 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2489/1.049, allocations: 147.9 MB / 1.108 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004415/1.05, allocations: 113.9 kB / 1.108 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.09496/1.145, allocations: 21.91 MB / 1.129 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.495e-06/1.145, allocations: 7.938 kB / 1.129 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.49e-05/1.145, allocations: 8 kB / 1.129 GB, free: 2.613 MB / 0.7292 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.001612/1.146, allocations: 0.7517 MB / 1.13 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/1.146, allocations: 12.03 kB / 1.13 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/1.147, allocations: 75.16 kB / 1.13 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008441/1.147, allocations: 442.9 kB / 1.131 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/1.148, allocations: 16 kB / 1.131 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/1.148, allocations: 29.41 kB / 1.131 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000862/1.149, allocations: 306.5 kB / 1.131 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009205/1.149, allocations: 332 kB / 1.131 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/1.149, allocations: 3.938 kB / 1.131 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/1.15, allocations: 0 / 1.131 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/1.15, allocations: 12 kB / 1.131 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00312/1.153, allocations: 1.432 MB / 1.133 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000647/1.153, allocations: 307.4 kB / 1.133 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005694/1.154, allocations: 272 kB / 1.133 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/1.154, allocations: 7.781 kB / 1.133 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/1.154, allocations: 38.56 kB / 1.133 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=42): time 3.016e-06/1.154, allocations: 0 / 1.133 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42): time 0.0008321/1.155, allocations: 312.8 kB / 1.134 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/1.155, allocations: 55.41 kB / 1.134 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006714/1.156, allocations: 373.3 kB / 1.134 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/1.156, allocations: 31.77 kB / 1.134 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/1.156, allocations: 272.1 kB / 1.134 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/1.156, allocations: 145.9 kB / 1.134 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/1.156, allocations: 0 / 1.134 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001806/1.156, allocations: 358.7 kB / 1.135 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/1.157, allocations: 100.8 kB / 1.135 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/1.157, allocations: 100.9 kB / 1.135 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/1.157, allocations: 113.8 kB / 1.135 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.157, allocations: 4 kB / 1.135 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007783/1.158, allocations: 333.1 kB / 1.135 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/1.158, allocations: 4 kB / 1.135 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.158, allocations: 3.938 kB / 1.135 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/1.158, allocations: 4 kB / 1.135 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009845/1.159, allocations: 127.8 kB / 1.136 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/1.159, allocations: 4 kB / 1.136 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/1.16, allocations: 43.66 kB / 1.136 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/1.16, allocations: 12 kB / 1.136 GB, free: 12.05 MB / 0.7448 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 (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.0001292/1.16, allocations: 108.9 kB / 1.136 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/1.16, allocations: 45.31 kB / 1.136 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/1.16, allocations: 52.97 kB / 1.136 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/1.16, allocations: 8 kB / 1.136 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.16, allocations: 0 / 1.136 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/1.16, allocations: 5.391 kB / 1.136 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009348/1.161, allocations: 0.4975 MB / 1.136 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.161, allocations: 0 / 1.136 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/1.162, allocations: 131.8 kB / 1.136 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/1.162, allocations: 3.984 kB / 1.136 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/1.162, allocations: 4 kB / 1.136 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/1.162, allocations: 8 kB / 1.136 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.162, allocations: 0 / 1.136 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/1.164, allocations: 0.5725 MB / 1.137 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/1.164, allocations: 132.5 kB / 1.137 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.023e-05/1.164, allocations: 0 / 1.137 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/1.164, allocations: 21.98 kB / 1.137 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/1.164, allocations: 19.97 kB / 1.137 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/1.164, allocations: 12 kB / 1.137 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005305/1.165, allocations: 299 kB / 1.137 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.81e-07/1.165, allocations: 3 kB / 1.137 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006727/1.166, allocations: 139.4 kB / 1.138 GB, free: 9.938 MB / 0.7448 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 () * 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.0005071/1.166, allocations: 267.4 kB / 1.138 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006943/1.167, allocations: 271.5 kB / 1.138 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.167, allocations: 0 / 1.138 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000376/1.167, allocations: 163.9 kB / 1.138 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000772/1.168, allocations: 79.94 kB / 1.138 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/1.171, allocations: 0.8819 MB / 1.139 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005989/1.171, allocations: 0.8899 MB / 1.14 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003355/1.172, allocations: 39.39 kB / 1.14 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/1.172, allocations: 35.44 kB / 1.14 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of SimCode: time 1.122e-06/1.172, allocations: 0 / 1.14 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of Templates: time 0.01624/1.188, allocations: 4.836 MB / 1.145 GB, free: 2.578 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)