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.0009424/0.0009425, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009173/0.0009173, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.6997/0.6997, allocations: 95.63 MB / 366 MB, free: 10.32 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.0006312/0.0006315, allocations: 20 kB / 446.9 MB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4367, allocations: 70.34 MB / 0.5051 GB, free: 16.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001534/0.4383, allocations: 1.178 MB / 0.5062 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.4394, allocations: 0.8739 MB / 0.5071 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.4395, allocations: 0 / 0.5071 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.4398, allocations: 31.83 kB / 0.5071 GB, free: 14.37 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 7.233e-05/0.4398, allocations: 15.86 kB / 0.5071 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.4403, allocations: 175.2 kB / 0.5073 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.376e-05/0.4404, allocations: 39.75 kB / 0.5073 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.513e-05/0.4404, allocations: 3.984 kB / 0.5073 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.234e-05/0.4405, allocations: 11.94 kB / 0.5074 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.394e-05/0.4405, allocations: 19.81 kB / 0.5074 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.426e-06/0.4406, allocations: 0 / 0.5074 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.4408, allocations: 147.8 kB / 0.5075 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.776e-06/0.4408, allocations: 3.938 kB / 0.5075 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.4409, allocations: 29.7 kB / 0.5076 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.441, allocations: 89.77 kB / 0.5076 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.441, allocations: 3.938 kB / 0.5076 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.441, allocations: 0 / 0.5076 GB, free: 13.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.441, allocations: 0 / 0.5076 GB, free: 13.84 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.0003145/0.4414, allocations: 388.8 kB / 0.508 GB, free: 13.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.4414, allocations: 11.98 kB / 0.508 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.4415, allocations: 83.19 kB / 0.5081 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.4417, allocations: 262.1 kB / 0.5084 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/0.4417, allocations: 166.5 kB / 0.5085 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.4417, allocations: 150.6 kB / 0.5087 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.271e-05/0.4418, allocations: 105 kB / 0.5088 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.4418, allocations: 75.28 kB / 0.5088 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.4418, allocations: 150.6 kB / 0.509 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.4419, allocations: 150.6 kB / 0.5091 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.816e-05/0.4419, allocations: 154.6 kB / 0.5093 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.4421, allocations: 465.9 kB / 0.5097 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.194e-05/0.4422, allocations: 177.1 kB / 0.5099 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.4422, allocations: 80.14 kB / 0.5099 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.4422, allocations: 79.28 kB / 0.51 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.4423, allocations: 105.8 kB / 0.5101 GB, free: 11.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.4423, allocations: 0 / 0.5101 GB, free: 11.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.562e-05/0.4423, allocations: 37.55 kB / 0.5102 GB, free: 11.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.4424, allocations: 126.7 kB / 0.5103 GB, free: 10.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.4425, allocations: 132 kB / 0.5104 GB, free: 10.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.4425, allocations: 29.7 kB / 0.5104 GB, free: 10.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.4426, allocations: 96.12 kB / 0.5105 GB, free: 10.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.4426, allocations: 0 / 0.5105 GB, free: 10.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-06/0.4426, allocations: 0 / 0.5105 GB, free: 10.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.723e-05/0.4426, allocations: 314.8 kB / 0.5108 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.4426, allocations: 7.938 kB / 0.5108 GB, free: 10.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.142e-05/0.4427, allocations: 7.984 kB / 0.5108 GB, free: 10.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.454e-05/0.4427, allocations: 33.7 kB / 0.5109 GB, free: 10.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4427, allocations: 0 / 0.5109 GB, free: 10.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001439/0.4429, allocations: 87.28 kB / 0.511 GB, free: 10.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.4429, allocations: 37.64 kB / 0.511 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4429, allocations: 4 kB / 0.511 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.4429, allocations: 0 / 0.511 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.4429, allocations: 0 / 0.511 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4429, allocations: 0 / 0.511 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.554e-05/0.443, allocations: 0 / 0.511 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.443, allocations: 4 kB / 0.511 GB, free: 10.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.337e-05/0.4431, allocations: 185.1 kB / 0.5112 GB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.4431, allocations: 116.9 kB / 0.5113 GB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.4431, allocations: 120.7 kB / 0.5114 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.556e-05/0.4432, allocations: 176.3 kB / 0.5116 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.948e-05/0.4432, allocations: 180.2 kB / 0.5117 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.471e-05/0.4432, allocations: 180.2 kB / 0.5119 GB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.4434, allocations: 417.2 kB / 0.5123 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.4434, allocations: 108.9 kB / 0.5124 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.523e-05/0.4435, allocations: 105 kB / 0.5125 GB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.054e-05/0.4435, allocations: 188.2 kB / 0.5127 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.4435, allocations: 184.2 kB / 0.5129 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.807e-05/0.4436, allocations: 176.3 kB / 0.513 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.617e-05/0.4436, allocations: 188.2 kB / 0.5132 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.169e-05/0.4437, allocations: 308 kB / 0.5135 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.4437, allocations: 186 kB / 0.5137 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.4437, allocations: 184.2 kB / 0.5139 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.301e-05/0.4438, allocations: 108.9 kB / 0.514 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.4439, allocations: 184.2 kB / 0.5141 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.4439, allocations: 101 kB / 0.5142 GB, free: 6.594 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.928e-05/0.4439, allocations: 109.1 kB / 0.5143 GB, free: 6.488 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4439, allocations: 0 / 0.5143 GB, free: 6.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.4442, allocations: 35.94 kB / 0.5144 GB, free: 6.453 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 (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.0002278/0.4444, allocations: 218.5 kB / 0.5146 GB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.4446, allocations: 75.33 kB / 0.5147 GB, free: 6.141 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4446, allocations: 4 kB / 0.5147 GB, free: 6.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.4446, allocations: 4 kB / 0.5147 GB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.445, allocations: 0.5185 MB / 0.5152 GB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.4452, allocations: 243.8 kB / 0.5154 GB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.4454, allocations: 0.6848 MB / 0.5161 GB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.88e-05/0.4454, allocations: 0 / 0.5161 GB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.022e-05/0.4454, allocations: 15.44 kB / 0.5161 GB, free: 4.621 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4454, allocations: 0 / 0.5161 GB, free: 4.621 MB / 382.1 MB Notification: Performance of Templates: time 0.003696/0.4491, allocations: 1.483 MB / 0.5175 GB, free: 3.18 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: