Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json 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/Complex 4.0.0+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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 193.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6766/0.6766, allocations: 95.48 MB / 365.2 MB, free: 9.871 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 67.91 kB / 445.4 MB, free: 9.59 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3426, allocations: 69.07 MB / 0.5024 GB, free: 17.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002968/0.3456, allocations: 1.478 MB / 0.5038 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.3469, allocations: 0.9431 MB / 0.5047 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.099e-05/0.347, allocations: 3.938 kB / 0.5047 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.3472, allocations: 35.81 kB / 0.5048 GB, free: 14.91 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Data/BaseClasses.mo:121:5-123:32:writable] Warning: In relation matSoi.c == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Data/BaseClasses.mo:121:5-123:32:writable] Warning: In relation matSoi.d == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Data/BaseClasses.mo:121:5-123:32:writable] Warning: In relation matFil.c == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Data/BaseClasses.mo:121:5-123:32:writable] Warning: In relation matFil.d == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 5.826e-05/0.3473, allocations: 31.78 kB / 0.5048 GB, free: 14.88 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Fluid/HeatExchangers/Boreholes/BaseClasses/singleUTubeResistances.mo:64:3-66:74:writable] Warning: beta was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.3478, allocations: 186.8 kB / 0.505 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.689e-05/0.3479, allocations: 43.73 kB / 0.505 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.153e-05/0.3479, allocations: 12 kB / 0.505 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.212e-05/0.348, allocations: 11.94 kB / 0.505 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.411e-05/0.3481, allocations: 15.88 kB / 0.5051 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.3481, allocations: 0 / 0.5051 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.3484, allocations: 147.8 kB / 0.5052 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.3484, allocations: 3.938 kB / 0.5052 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.3484, allocations: 19.88 kB / 0.5052 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.3486, allocations: 125.7 kB / 0.5053 GB, free: 14.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3486, allocations: 3.938 kB / 0.5054 GB, free: 14.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3487, allocations: 0 / 0.5054 GB, free: 14.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3487, allocations: 4 kB / 0.5054 GB, free: 14.32 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003648/0.349, allocations: 396.9 kB / 0.5057 GB, free: 13.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3491, allocations: 15.98 kB / 0.5057 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.3491, allocations: 80.12 kB / 0.5058 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.3493, allocations: 267.5 kB / 0.5061 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.3494, allocations: 150.9 kB / 0.5062 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.3494, allocations: 154.9 kB / 0.5064 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.435e-05/0.3494, allocations: 113.3 kB / 0.5065 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.3495, allocations: 79.22 kB / 0.5066 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.3495, allocations: 150.6 kB / 0.5067 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.3495, allocations: 150.6 kB / 0.5068 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.867e-05/0.3496, allocations: 158.5 kB / 0.507 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.3498, allocations: 465.9 kB / 0.5074 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.741e-05/0.3498, allocations: 169.1 kB / 0.5076 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.81e-05/0.3499, allocations: 80.14 kB / 0.5077 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.3499, allocations: 75.28 kB / 0.5077 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.3499, allocations: 117.7 kB / 0.5079 GB, free: 11.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.3499, allocations: 0 / 0.5079 GB, free: 11.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.153e-05/0.35, allocations: 37.61 kB / 0.5079 GB, free: 11.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.35, allocations: 126.7 kB / 0.508 GB, free: 11.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.3501, allocations: 136 kB / 0.5081 GB, free: 11.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.3502, allocations: 25.7 kB / 0.5082 GB, free: 11.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.3502, allocations: 88.14 kB / 0.5083 GB, free: 11.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.3502, allocations: 8 kB / 0.5083 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.3502, allocations: 13.72 kB / 0.5083 GB, free: 11.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.924e-05/0.3503, allocations: 318.8 kB / 0.5086 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.65e-05/0.3503, allocations: 4 kB / 0.5086 GB, free: 10.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.908e-05/0.3503, allocations: 8 kB / 0.5086 GB, free: 10.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.908e-05/0.3504, allocations: 46.48 kB / 0.5086 GB, free: 10.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3504, allocations: 0 / 0.5086 GB, free: 10.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000145/0.3505, allocations: 79.25 kB / 0.5087 GB, free: 10.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.3506, allocations: 37.69 kB / 0.5087 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3506, allocations: 8.047 kB / 0.5088 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.3506, allocations: 4 kB / 0.5088 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.3506, allocations: 0 / 0.5088 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3506, allocations: 0 / 0.5088 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.494e-05/0.3507, allocations: 0 / 0.5088 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.3507, allocations: 4 kB / 0.5088 GB, free: 10.57 MB / 382.1 MB 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.581e-05/0.3507, allocations: 181.1 kB / 0.5089 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.3508, allocations: 124.8 kB / 0.5091 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.3508, allocations: 116.9 kB / 0.5092 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.552e-05/0.3509, allocations: 180.2 kB / 0.5093 GB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.764e-05/0.3509, allocations: 176.3 kB / 0.5095 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.603e-05/0.3509, allocations: 180.2 kB / 0.5097 GB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.3511, allocations: 425.1 kB / 0.5101 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/0.3511, allocations: 109 kB / 0.5102 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.745e-05/0.3511, allocations: 108.9 kB / 0.5103 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.82e-05/0.3512, allocations: 180.3 kB / 0.5105 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/0.3512, allocations: 180.2 kB / 0.5106 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.757e-05/0.3512, allocations: 180.2 kB / 0.5108 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.853e-05/0.3513, allocations: 176.3 kB / 0.511 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.329e-05/0.3514, allocations: 315.7 kB / 0.5113 GB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.3514, allocations: 189.9 kB / 0.5115 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.3514, allocations: 188.2 kB / 0.5116 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.3515, allocations: 104.9 kB / 0.5117 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.3516, allocations: 184.2 kB / 0.5119 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.3516, allocations: 101 kB / 0.512 GB, free: 7.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.431e-05/0.3517, allocations: 109 kB / 0.5121 GB, free: 6.914 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3517, allocations: 0 / 0.5121 GB, free: 6.914 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000345/0.352, allocations: 35.94 kB / 0.5121 GB, free: 6.879 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002774/0.3523, allocations: 214.5 kB / 0.5124 GB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.3525, allocations: 67.41 kB / 0.5124 GB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.3525, allocations: 8.062 kB / 0.5124 GB, free: 6.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.3525, allocations: 3.938 kB / 0.5124 GB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.3529, allocations: 459.7 kB / 0.5129 GB, free: 6.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.3531, allocations: 238.8 kB / 0.5131 GB, free: 5.852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.3533, allocations: 0.6846 MB / 0.5138 GB, free: 5.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.831e-05/0.3533, allocations: 0 / 0.5138 GB, free: 5.141 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.219e-05/0.3533, allocations: 11.44 kB / 0.5138 GB, free: 5.129 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3533, allocations: 3.938 kB / 0.5138 GB, free: 5.125 MB / 382.1 MB Notification: Performance of Templates: time 0.003729/0.357, allocations: 1.555 MB / 0.5153 GB, free: 3.617 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)