Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 107.4 kB / 16.37 MB, free: 6.262 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.001787/0.001787, allocations: 189.9 kB / 17.3 MB, free: 5.848 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.38/1.38, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.793/1.793, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 67.91 kB / 0.673 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2449, allocations: 114.5 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004561/0.2495, allocations: 3.046 MB / 0.7878 GB, free: 96 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4134/0.663, allocations: 2.18 MB / 0.7899 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.6632, allocations: 6.031 kB / 0.7899 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.6645, allocations: 0.4957 MB / 0.7904 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.6648, allocations: 147.5 kB / 0.7906 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.6649, allocations: 63.62 kB / 0.7906 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004059/0.6653, allocations: 450.9 kB / 0.791 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.6655, allocations: 148.3 kB / 0.7912 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.6657, allocations: 155.9 kB / 0.7913 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.6659, allocations: 183.1 kB / 0.7915 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.666, allocations: 33.91 kB / 0.7915 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.509e-05/0.666, allocations: 34.62 kB / 0.7916 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.918e-05/0.6661, allocations: 99.56 kB / 0.7917 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.6663, allocations: 225.4 kB / 0.7919 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003747/0.6667, allocations: 0.5388 MB / 0.7924 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.6667, allocations: 1.875 kB / 0.7924 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6667, allocations: 0 / 0.7924 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.6667, allocations: 0 / 0.7924 GB, free: 46.26 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009203/0.6676, allocations: 0.699 MB / 0.7931 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.6677, allocations: 8.688 kB / 0.7931 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.42e-05/0.6678, allocations: 54.53 kB / 0.7932 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.6682, allocations: 377.4 kB / 0.7935 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.6682, allocations: 18.25 kB / 0.7935 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.6683, allocations: 23.69 kB / 0.7936 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.6686, allocations: 203.8 kB / 0.7938 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.6687, allocations: 4.5 kB / 0.7938 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.6687, allocations: 3.625 kB / 0.7938 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.495e-06/0.6687, allocations: 9.5 kB / 0.7938 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/0.6691, allocations: 164.8 kB / 0.7939 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009623/0.67, allocations: 0.8562 MB / 0.7948 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.6703, allocations: 161.2 kB / 0.7949 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.6705, allocations: 111 kB / 0.795 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.6705, allocations: 3.5 kB / 0.795 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.6706, allocations: 37.91 kB / 0.7951 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.512e-06/0.6706, allocations: 3.938 kB / 0.7951 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.000531/0.6711, allocations: 256.3 kB / 0.7953 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/0.6711, allocations: 54.88 kB / 0.7954 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.6716, allocations: 416.5 kB / 0.7958 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.6716, allocations: 32.42 kB / 0.7958 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.6717, allocations: 208 kB / 0.796 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.222e-05/0.6717, allocations: 56.31 kB / 0.796 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.6718, allocations: 37.22 kB / 0.7961 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.508e-05/0.6719, allocations: 345.6 kB / 0.7964 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.672, allocations: 61.06 kB / 0.7965 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.6721, allocations: 61.78 kB / 0.7965 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.6724, allocations: 134.2 kB / 0.7967 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6724, allocations: 0 / 0.7967 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003356/0.6728, allocations: 208.5 kB / 0.7969 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.6728, allocations: 4.281 kB / 0.7969 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.6728, allocations: 0 / 0.7969 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.6728, allocations: 3.938 kB / 0.7969 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.6731, allocations: 55.2 kB / 0.7969 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.6731, allocations: 3.875 kB / 0.7969 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.6732, allocations: 21.98 kB / 0.7969 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.6732, allocations: 7.5 kB / 0.7969 GB, free: 44.13 MB / 0.6544 GB 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001249/0.6734, allocations: 166.6 kB / 0.7971 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.6734, allocations: 39.42 kB / 0.7971 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.049e-05/0.6735, allocations: 37.62 kB / 0.7972 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.6735, allocations: 7.312 kB / 0.7972 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.6735, allocations: 0 / 0.7972 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/0.6736, allocations: 122.2 kB / 0.7973 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.6736, allocations: 3.75 kB / 0.7973 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.6738, allocations: 18.11 kB / 0.7973 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.6739, allocations: 10 kB / 0.7973 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005341/0.6744, allocations: 293.7 kB / 0.7976 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005092/0.6749, allocations: 462.3 kB / 0.7981 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001447/0.6751, allocations: 77.08 kB / 0.7981 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000281/0.6754, allocations: 303 kB / 0.7984 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of Backend: time 6.82e-07/0.6754, allocations: 0 / 0.7984 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005442/0.6759, allocations: 172.9 kB / 0.7986 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001486/0.6774, allocations: 1.229 MB / 0.7998 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of Templates: time 0.01009/0.6875, allocations: 4.282 MB / 0.804 GB, free: 42.36 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)