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.001271/0.00127, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001668/0.001669, allocations: 177.3 kB / 15.94 MB, free: 228 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.378/1.378, allocations: 205.4 MB / 222.1 MB, free: 5.539 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.5687/0.5687, allocations: 95.59 MB / 366 MB, free: 10.37 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.0009863/0.0009867, allocations: 12 kB / 446.8 MB, free: 9.371 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3122, allocations: 70.34 MB / 0.505 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001237/0.3135, allocations: 1.158 MB / 0.5061 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009229/0.3145, allocations: 0.8117 MB / 0.5069 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.437e-05/0.3146, allocations: 3.938 kB / 0.5069 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.3147, allocations: 39.81 kB / 0.507 GB, free: 14.46 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.4e-05/0.3148, allocations: 23.95 kB / 0.507 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.3153, allocations: 163.1 kB / 0.5072 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.328e-05/0.3153, allocations: 43.88 kB / 0.5072 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.3154, allocations: 0 / 0.5072 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.2e-05/0.3154, allocations: 15.94 kB / 0.5072 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.123e-05/0.3155, allocations: 11.92 kB / 0.5072 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.3155, allocations: 4 kB / 0.5072 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.3157, allocations: 139.8 kB / 0.5074 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.336e-06/0.3158, allocations: 3.938 kB / 0.5074 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.3158, allocations: 37.69 kB / 0.5074 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.3159, allocations: 77.8 kB / 0.5075 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.3159, allocations: 4 kB / 0.5075 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3159, allocations: 3.984 kB / 0.5075 GB, free: 13.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.3159, allocations: 0 / 0.5075 GB, free: 13.94 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.0002611/0.3162, allocations: 384.8 kB / 0.5079 GB, free: 13.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.3163, allocations: 15.92 kB / 0.5079 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.3163, allocations: 87.19 kB / 0.508 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.3165, allocations: 268.3 kB / 0.5082 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.3165, allocations: 154.6 kB / 0.5084 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.3165, allocations: 154.5 kB / 0.5085 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.124e-05/0.3166, allocations: 101 kB / 0.5086 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3166, allocations: 75.28 kB / 0.5087 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.3166, allocations: 154.6 kB / 0.5088 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.3167, allocations: 158.5 kB / 0.509 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.273e-05/0.3167, allocations: 158.5 kB / 0.5091 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.3169, allocations: 469.8 kB / 0.5096 GB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.484e-05/0.3169, allocations: 165.1 kB / 0.5097 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.3169, allocations: 75.28 kB / 0.5098 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.317, allocations: 109.8 kB / 0.5099 GB, free: 11.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.317, allocations: 0 / 0.5099 GB, free: 11.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.74e-05/0.317, allocations: 37.55 kB / 0.5099 GB, free: 11.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.3171, allocations: 126.7 kB / 0.5101 GB, free: 11.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.3172, allocations: 134 kB / 0.5102 GB, free: 10.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.643e-06/0.3172, allocations: 25.7 kB / 0.5102 GB, free: 10.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.3172, allocations: 92.12 kB / 0.5103 GB, free: 10.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-06/0.3172, allocations: 0 / 0.5103 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.3173, allocations: 8 kB / 0.5103 GB, free: 10.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.374e-05/0.3173, allocations: 310.8 kB / 0.5106 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.3173, allocations: 11.98 kB / 0.5106 GB, free: 10.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.098e-05/0.3173, allocations: 0 / 0.5106 GB, free: 10.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.156e-05/0.3174, allocations: 37.7 kB / 0.5106 GB, free: 10.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3174, allocations: 0 / 0.5106 GB, free: 10.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001204/0.3175, allocations: 87.19 kB / 0.5107 GB, free: 10.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.3176, allocations: 33.7 kB / 0.5108 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3176, allocations: 0 / 0.5108 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.3176, allocations: 4.062 kB / 0.5108 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.3176, allocations: 0 / 0.5108 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3176, allocations: 7.969 kB / 0.5108 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.3176, allocations: 4.047 kB / 0.5108 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.3176, allocations: 0 / 0.5108 GB, free: 10.32 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 5.057e-05/0.3177, allocations: 189.1 kB / 0.511 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.3177, allocations: 108.8 kB / 0.5111 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.3178, allocations: 116.8 kB / 0.5112 GB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/0.3178, allocations: 184.2 kB / 0.5114 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.196e-05/0.3178, allocations: 180.2 kB / 0.5115 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/0.3178, allocations: 180.3 kB / 0.5117 GB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.318, allocations: 409.2 kB / 0.5121 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.318, allocations: 108.9 kB / 0.5122 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.52e-05/0.318, allocations: 109 kB / 0.5123 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.664e-05/0.3181, allocations: 184.2 kB / 0.5125 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.3181, allocations: 176.3 kB / 0.5126 GB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-05/0.3181, allocations: 188.2 kB / 0.5128 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.436e-05/0.3182, allocations: 184.2 kB / 0.513 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.72e-05/0.3182, allocations: 311.7 kB / 0.5133 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.3183, allocations: 182.1 kB / 0.5135 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.3183, allocations: 188.4 kB / 0.5136 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.551e-05/0.3184, allocations: 112.9 kB / 0.5137 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.3184, allocations: 176.3 kB / 0.5139 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.3184, allocations: 117 kB / 0.514 GB, free: 6.762 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.03e-05/0.3185, allocations: 105 kB / 0.5141 GB, free: 6.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3185, allocations: 0 / 0.5141 GB, free: 6.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.3188, allocations: 35.94 kB / 0.5142 GB, free: 6.625 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.0002027/0.319, allocations: 214.5 kB / 0.5144 GB, free: 6.402 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.118e-05/0.319, allocations: 75.39 kB / 0.5144 GB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3191, allocations: 0 / 0.5144 GB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.524e-06/0.3191, allocations: 4.062 kB / 0.5144 GB, free: 6.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.3193, allocations: 0.5224 MB / 0.515 GB, free: 5.785 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002231/0.3196, allocations: 239.8 kB / 0.5152 GB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.059e-05/0.3197, allocations: 0.6887 MB / 0.5159 GB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.007e-05/0.3197, allocations: 7.984 kB / 0.5159 GB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.209e-05/0.3197, allocations: 7.438 kB / 0.5159 GB, free: 4.797 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3197, allocations: 0 / 0.5159 GB, free: 4.797 MB / 382.1 MB Notification: Performance of Templates: time 0.00332/0.323, allocations: 1.485 MB / 0.5173 GB, free: 3.352 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: