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.001314/0.001314, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01207/0.01207, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.826/1.826, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.62 MB / 366.4 MB, free: 10.23 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.0005939/0.000594, allocations: 16 kB / 447.5 MB, free: 8.953 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4087, allocations: 70.33 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001319/0.41, allocations: 1.197 MB / 0.5068 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.4111, allocations: 0.9512 MB / 0.5078 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.4112, allocations: 4 kB / 0.5078 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.4114, allocations: 47.81 kB / 0.5078 GB, free: 14.12 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.301e-05/0.4115, allocations: 11.86 kB / 0.5078 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.4119, allocations: 175.3 kB / 0.508 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.417e-05/0.412, allocations: 43.75 kB / 0.508 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.412, allocations: 3.984 kB / 0.508 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.361e-05/0.4121, allocations: 15.88 kB / 0.5081 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.83e-05/0.4121, allocations: 11.94 kB / 0.5081 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.4122, allocations: 0 / 0.5081 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/0.4124, allocations: 151.8 kB / 0.5082 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.816e-06/0.4124, allocations: 3.938 kB / 0.5082 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.4125, allocations: 49.56 kB / 0.5083 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.4126, allocations: 117.7 kB / 0.5084 GB, free: 13.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4126, allocations: 4 kB / 0.5084 GB, free: 13.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4127, allocations: 0 / 0.5084 GB, free: 13.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.4127, allocations: 4 kB / 0.5084 GB, free: 13.54 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.0003302/0.413, allocations: 385 kB / 0.5088 GB, free: 13.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.4131, allocations: 11.98 kB / 0.5088 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.4131, allocations: 88.12 kB / 0.5089 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.4134, allocations: 259.5 kB / 0.5091 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/0.4134, allocations: 154.9 kB / 0.5092 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/0.4135, allocations: 154.9 kB / 0.5094 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.688e-05/0.4135, allocations: 117.2 kB / 0.5095 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.4136, allocations: 79.28 kB / 0.5096 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/0.4136, allocations: 150.6 kB / 0.5097 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.862e-05/0.4137, allocations: 158.6 kB / 0.5099 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.368e-05/0.4137, allocations: 150.6 kB / 0.51 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002869/0.414, allocations: 465.8 kB / 0.5105 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.131e-05/0.4141, allocations: 169.1 kB / 0.5106 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.4141, allocations: 84.14 kB / 0.5107 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.4142, allocations: 75.28 kB / 0.5108 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.4142, allocations: 113.8 kB / 0.5109 GB, free: 10.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.4142, allocations: 0 / 0.5109 GB, free: 10.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.836e-05/0.4143, allocations: 25.7 kB / 0.5109 GB, free: 10.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.4144, allocations: 134.6 kB / 0.511 GB, free: 10.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.4146, allocations: 143.7 kB / 0.5112 GB, free: 10.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.4146, allocations: 25.7 kB / 0.5112 GB, free: 10.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.4146, allocations: 96.12 kB / 0.5113 GB, free: 10.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-06/0.4146, allocations: 0 / 0.5113 GB, free: 10.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.4147, allocations: 9.719 kB / 0.5113 GB, free: 10.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.016e-05/0.4147, allocations: 322.8 kB / 0.5116 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.269e-05/0.4148, allocations: 4 kB / 0.5116 GB, free: 10.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.422e-05/0.4148, allocations: 0 / 0.5116 GB, free: 10.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.27e-05/0.4149, allocations: 46.59 kB / 0.5117 GB, free: 9.953 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4149, allocations: 4.031 kB / 0.5117 GB, free: 9.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001576/0.415, allocations: 79.33 kB / 0.5117 GB, free: 9.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.867e-05/0.4151, allocations: 37.69 kB / 0.5118 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4151, allocations: 0 / 0.5118 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.4151, allocations: 3.938 kB / 0.5118 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.854e-06/0.4151, allocations: 0 / 0.5118 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.4151, allocations: 4 kB / 0.5118 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/0.4152, allocations: 3.906 kB / 0.5118 GB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.4152, allocations: 0 / 0.5118 GB, free: 9.805 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 8.476e-05/0.4153, allocations: 193.2 kB / 0.512 GB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.4154, allocations: 112.8 kB / 0.5121 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.4154, allocations: 112.8 kB / 0.5122 GB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.301e-05/0.4154, allocations: 176.3 kB / 0.5124 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.876e-05/0.4155, allocations: 184.3 kB / 0.5125 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.447e-05/0.4155, allocations: 184.1 kB / 0.5127 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.4158, allocations: 417.3 kB / 0.5131 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-05/0.4158, allocations: 108.9 kB / 0.5132 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.47e-05/0.4158, allocations: 108.9 kB / 0.5133 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.561e-05/0.4159, allocations: 176.3 kB / 0.5135 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.4159, allocations: 184.2 kB / 0.5137 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.37e-05/0.4159, allocations: 180.3 kB / 0.5138 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.944e-05/0.416, allocations: 184.4 kB / 0.514 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.4161, allocations: 303.9 kB / 0.5143 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.4162, allocations: 193.9 kB / 0.5145 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.593e-05/0.4162, allocations: 180.2 kB / 0.5146 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.4163, allocations: 112.9 kB / 0.5148 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.4163, allocations: 176.3 kB / 0.5149 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.4164, allocations: 105 kB / 0.515 GB, free: 6.262 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.816e-05/0.4164, allocations: 97.3 kB / 0.5151 GB, free: 6.168 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.42e-07/0.4164, allocations: 0 / 0.5151 GB, free: 6.168 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.4168, allocations: 47.86 kB / 0.5152 GB, free: 6.121 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.00028/0.417, allocations: 210.5 kB / 0.5154 GB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.4172, allocations: 79.33 kB / 0.5154 GB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4172, allocations: 0 / 0.5154 GB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.4172, allocations: 0 / 0.5154 GB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.4177, allocations: 0.538 MB / 0.516 GB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.418, allocations: 239.8 kB / 0.5162 GB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.4182, allocations: 0.6848 MB / 0.5169 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.53e-05/0.4182, allocations: 7.938 kB / 0.5169 GB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.748e-05/0.4183, allocations: 11.44 kB / 0.5169 GB, free: 4.281 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4183, allocations: 0 / 0.5169 GB, free: 4.281 MB / 382.1 MB Notification: Performance of Templates: time 0.003756/0.422, allocations: 1.513 MB / 0.5184 GB, free: 2.809 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: