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.001172/0.001171, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001272/0.001273, allocations: 190.9 kB / 16.13 MB, free: 6.664 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.583/1.583, allocations: 205.1 MB / 222 MB, free: 5 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.5981/0.5981, allocations: 95.48 MB / 364.8 MB, free: 10.13 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.00135/0.00135, allocations: 71.91 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3963, allocations: 69.07 MB / 0.5017 GB, free: 17.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002762/0.3991, allocations: 1.52 MB / 0.5032 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.4005, allocations: 0.9745 MB / 0.5042 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.034e-05/0.4006, allocations: 3.938 kB / 0.5042 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.4009, allocations: 39.81 kB / 0.5042 GB, free: 15.09 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 6.245e-05/0.401, allocations: 15.86 kB / 0.5042 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.4015, allocations: 175.3 kB / 0.5044 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.922e-05/0.4016, allocations: 39.75 kB / 0.5044 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.4016, allocations: 0 / 0.5044 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.133e-05/0.4017, allocations: 23.86 kB / 0.5044 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.803e-05/0.4018, allocations: 15.94 kB / 0.5045 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.4018, allocations: 0 / 0.5045 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002886/0.4021, allocations: 143.8 kB / 0.5046 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.4021, allocations: 3.938 kB / 0.5046 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.4022, allocations: 23.86 kB / 0.5046 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.4024, allocations: 117.7 kB / 0.5047 GB, free: 14.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4024, allocations: 0 / 0.5047 GB, free: 14.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4024, allocations: 0 / 0.5047 GB, free: 14.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.4024, allocations: 4 kB / 0.5047 GB, free: 14.55 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.0004568/0.4029, allocations: 400.9 kB / 0.5051 GB, free: 14.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.4029, allocations: 15.92 kB / 0.5051 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.729e-05/0.403, allocations: 84.12 kB / 0.5052 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.4032, allocations: 266.1 kB / 0.5055 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.4033, allocations: 150.9 kB / 0.5056 GB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.4033, allocations: 154.9 kB / 0.5058 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.811e-05/0.4034, allocations: 113.2 kB / 0.5059 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.4034, allocations: 79.22 kB / 0.5059 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.4035, allocations: 154.6 kB / 0.5061 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/0.4035, allocations: 154.5 kB / 0.5062 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.929e-05/0.4035, allocations: 154.5 kB / 0.5064 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000221/0.4037, allocations: 461.9 kB / 0.5068 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.841e-05/0.4038, allocations: 165.1 kB / 0.507 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.4038, allocations: 88.12 kB / 0.5071 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.4039, allocations: 75.28 kB / 0.5071 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.4039, allocations: 113.8 kB / 0.5072 GB, free: 11.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.4039, allocations: 4 kB / 0.5072 GB, free: 11.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.639e-05/0.404, allocations: 33.55 kB / 0.5073 GB, free: 11.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.404, allocations: 130.7 kB / 0.5074 GB, free: 11.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.4042, allocations: 129.8 kB / 0.5075 GB, free: 11.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.4042, allocations: 25.7 kB / 0.5076 GB, free: 11.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.4042, allocations: 92.12 kB / 0.5076 GB, free: 11.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.4042, allocations: 0 / 0.5076 GB, free: 11.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.4043, allocations: 17.72 kB / 0.5077 GB, free: 11.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.908e-05/0.4043, allocations: 318.8 kB / 0.508 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.397e-05/0.4044, allocations: 7.984 kB / 0.508 GB, free: 11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.718e-05/0.4044, allocations: 4 kB / 0.508 GB, free: 11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.867e-05/0.4044, allocations: 50.53 kB / 0.508 GB, free: 10.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4044, allocations: 0 / 0.508 GB, free: 10.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001288/0.4046, allocations: 83.23 kB / 0.5081 GB, free: 10.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.4046, allocations: 33.7 kB / 0.5081 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.4046, allocations: 0 / 0.5081 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.4046, allocations: 64 / 0.5081 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.034e-06/0.4046, allocations: 7.984 kB / 0.5081 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.4047, allocations: 0 / 0.5081 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.616e-05/0.4047, allocations: 4 kB / 0.5081 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.4047, allocations: 3.984 kB / 0.5081 GB, free: 10.79 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 6.572e-05/0.4048, allocations: 185.1 kB / 0.5083 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.4048, allocations: 116.8 kB / 0.5084 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.4049, allocations: 108.9 kB / 0.5085 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/0.4049, allocations: 184.2 kB / 0.5087 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.001e-05/0.4049, allocations: 180.2 kB / 0.5089 GB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.348e-05/0.405, allocations: 184.2 kB / 0.5091 GB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.4051, allocations: 417.2 kB / 0.5095 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/0.4051, allocations: 109 kB / 0.5096 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.836e-05/0.4052, allocations: 108.9 kB / 0.5097 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.95e-05/0.4052, allocations: 180.2 kB / 0.5098 GB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.4052, allocations: 180.3 kB / 0.51 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.707e-05/0.4053, allocations: 184.4 kB / 0.5102 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.82e-05/0.4053, allocations: 180.2 kB / 0.5104 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.042e-05/0.4054, allocations: 319.7 kB / 0.5107 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.4054, allocations: 189.9 kB / 0.5108 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.4055, allocations: 184.2 kB / 0.511 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.567e-05/0.4056, allocations: 105 kB / 0.5111 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.4056, allocations: 180.2 kB / 0.5113 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.4056, allocations: 109 kB / 0.5114 GB, free: 7.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.097e-05/0.4057, allocations: 101.6 kB / 0.5115 GB, free: 7.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4057, allocations: 0 / 0.5115 GB, free: 7.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002891/0.406, allocations: 43.92 kB / 0.5115 GB, free: 7.094 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.0002322/0.4062, allocations: 210.5 kB / 0.5117 GB, free: 6.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.4063, allocations: 75.39 kB / 0.5118 GB, free: 6.789 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4063, allocations: 0 / 0.5118 GB, free: 6.789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.146e-06/0.4063, allocations: 8 kB / 0.5118 GB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.4068, allocations: 0.5263 MB / 0.5123 GB, free: 6.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.4071, allocations: 244.7 kB / 0.5126 GB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.4073, allocations: 0.6809 MB / 0.5132 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.113e-05/0.4073, allocations: 0 / 0.5132 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.288e-05/0.4073, allocations: 11.44 kB / 0.5132 GB, free: 5.266 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4073, allocations: 0 / 0.5132 GB, free: 5.266 MB / 382.1 MB Notification: Performance of Templates: time 0.003751/0.4111, allocations: 1.52 MB / 0.5147 GB, free: 3.785 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)