Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.83/2.83, allocations: 287.5 MB / 303.2 MB, free: 8.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001286/0.001285, allocations: 179.1 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.4 MB / 0.6305 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009543/0.0009542, allocations: 96.45 kB / 0.7438 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004735, allocations: 12.22 kB / 0.8668 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2054, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8948/1.1, allocations: 146.5 MB / 1.122 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003902/1.101, allocations: 118.5 kB / 1.123 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06988/1.171, allocations: 18.03 MB / 1.14 GB, free: 27.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.844e-06/1.171, allocations: 0 / 1.14 GB, free: 27.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.48e-05/1.171, allocations: 7.375 kB / 1.14 GB, free: 27.36 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001161/1.172, allocations: 0.6499 MB / 1.141 GB, free: 26.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/1.172, allocations: 11.69 kB / 1.141 GB, free: 26.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.073e-05/1.172, allocations: 47.58 kB / 1.141 GB, free: 26.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005618/1.173, allocations: 367.8 kB / 1.141 GB, free: 26.49 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/1.173, allocations: 18.22 kB / 1.141 GB, free: 26.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.697e-05/1.173, allocations: 18.88 kB / 1.141 GB, free: 26.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005473/1.173, allocations: 211.3 kB / 1.141 GB, free: 26.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/1.173, allocations: 192 / 1.141 GB, free: 26.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/1.173, allocations: 17.97 kB / 1.141 GB, free: 26.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/1.173, allocations: 3.906 kB / 1.141 GB, free: 26.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005793/1.174, allocations: 173.5 kB / 1.142 GB, free: 26.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/1.175, allocations: 0.879 MB / 1.142 GB, free: 25.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004156/1.176, allocations: 164.8 kB / 1.143 GB, free: 25.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/1.176, allocations: 114 kB / 1.143 GB, free: 25.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/1.176, allocations: 3.844 kB / 1.143 GB, free: 25.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/1.176, allocations: 30.56 kB / 1.143 GB, free: 25.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.124e-06/1.176, allocations: 0 / 1.143 GB, free: 25.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0008598/1.177, allocations: 278.2 kB / 1.143 GB, free: 25.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/1.177, allocations: 55.34 kB / 1.143 GB, free: 25.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006098/1.178, allocations: 417.1 kB / 1.143 GB, free: 25.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/1.178, allocations: 28.7 kB / 1.143 GB, free: 25.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/1.178, allocations: 207.4 kB / 1.144 GB, free: 25.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/1.178, allocations: 62.16 kB / 1.144 GB, free: 25.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/1.178, allocations: 3.938 kB / 1.144 GB, free: 25.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.178, allocations: 348.3 kB / 1.144 GB, free: 24.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/1.179, allocations: 55.78 kB / 1.144 GB, free: 24.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/1.179, allocations: 68.98 kB / 1.144 GB, free: 24.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/1.179, allocations: 142.8 kB / 1.144 GB, free: 24.83 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.179, allocations: 0 / 1.144 GB, free: 24.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005683/1.18, allocations: 227.8 kB / 1.145 GB, free: 24.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/1.18, allocations: 3.844 kB / 1.145 GB, free: 24.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/1.18, allocations: 0 / 1.145 GB, free: 24.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.18, allocations: 0 / 1.145 GB, free: 24.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/1.18, allocations: 58.31 kB / 1.145 GB, free: 24.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/1.18, allocations: 4 kB / 1.145 GB, free: 24.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/1.181, allocations: 31.39 kB / 1.145 GB, free: 24.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/1.181, allocations: 3.875 kB / 1.145 GB, free: 24.72 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 (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.0002083/1.181, allocations: 169.6 kB / 1.145 GB, free: 24.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.865e-05/1.181, allocations: 35.06 kB / 1.145 GB, free: 24.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.378e-05/1.181, allocations: 37.88 kB / 1.145 GB, free: 24.56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/1.181, allocations: 11.88 kB / 1.145 GB, free: 24.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.181, allocations: 0 / 1.145 GB, free: 24.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/1.181, allocations: 3.984 kB / 1.145 GB, free: 24.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/1.182, allocations: 376 kB / 1.145 GB, free: 24.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.182, allocations: 0 / 1.145 GB, free: 24.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004373/1.182, allocations: 62.25 kB / 1.145 GB, free: 24.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/1.182, allocations: 3.984 kB / 1.145 GB, free: 24.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/1.182, allocations: 3.688 kB / 1.145 GB, free: 24.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/1.182, allocations: 3.938 kB / 1.145 GB, free: 24.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.182, allocations: 7.844 kB / 1.145 GB, free: 24.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008546/1.183, allocations: 384.1 kB / 1.146 GB, free: 24.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/1.183, allocations: 115.8 kB / 1.146 GB, free: 23.97 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.908e-05/1.183, allocations: 3.812 kB / 1.146 GB, free: 23.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/1.183, allocations: 19.2 kB / 1.146 GB, free: 23.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/1.184, allocations: 7.953 kB / 1.146 GB, free: 23.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/1.184, allocations: 7.5 kB / 1.146 GB, free: 23.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004203/1.184, allocations: 298.7 kB / 1.146 GB, free: 23.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.184, allocations: 7.938 kB / 1.146 GB, free: 23.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004727/1.185, allocations: 81.44 kB / 1.146 GB, free: 23.83 MB / 0.698 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 () * Number of clocked 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.000393/1.185, allocations: 270.5 kB / 1.146 GB, free: 23.69 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005196/1.185, allocations: 151.4 kB / 1.147 GB, free: 23.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.185, allocations: 0 / 1.147 GB, free: 23.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/1.186, allocations: 83.56 kB / 1.147 GB, free: 23.65 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008092/1.187, allocations: 98.55 kB / 1.147 GB, free: 23.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/1.188, allocations: 0.8919 MB / 1.148 GB, free: 23.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/1.189, allocations: 0.7982 MB / 1.148 GB, free: 22.29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001925/1.189, allocations: 38.02 kB / 1.148 GB, free: 22.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.883e-05/1.189, allocations: 22.66 kB / 1.149 GB, free: 22.26 MB / 0.698 GB Notification: Performance of SimCode: time 7.51e-07/1.189, allocations: 0 / 1.149 GB, free: 22.26 MB / 0.698 GB Notification: Performance of Templates: time 0.01386/1.203, allocations: 5.257 MB / 1.154 GB, free: 19.7 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)