Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 118 kB / 16.38 MB, free: 6.02 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.0009859/0.000986, allocations: 185.1 kB / 17.31 MB, free: 5.617 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.332/1.332, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.758/1.758, allocations: 292.3 MB / 0.5496 GB, free: 17.6 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.001444/0.001444, allocations: 72.62 kB / 0.673 GB, free: 5.762 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2421, allocations: 114.6 MB / 0.7848 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.4307/0.6728, allocations: 4.151 MB / 0.7889 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002841/0.6757, allocations: 2.451 MB / 0.7913 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/0.676, allocations: 10.97 kB / 0.7913 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.6773, allocations: 0.5411 MB / 0.7918 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.6777, allocations: 249 kB / 0.7921 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.678, allocations: 142 kB / 0.7922 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006303/0.6786, allocations: 0.8053 MB / 0.793 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004219/0.679, allocations: 330.8 kB / 0.7933 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/0.6793, allocations: 296.1 kB / 0.7936 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.6796, allocations: 323.1 kB / 0.7939 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.916e-05/0.6797, allocations: 76.94 kB / 0.794 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-05/0.6798, allocations: 74.75 kB / 0.794 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.68, allocations: 171.5 kB / 0.7942 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002922/0.6803, allocations: 389.2 kB / 0.7946 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006695/0.681, allocations: 0.9885 MB / 0.7955 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.681, allocations: 0.625 kB / 0.7955 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.543e-06/0.681, allocations: 0 / 0.7955 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.666e-05/0.681, allocations: 0.5938 kB / 0.7955 GB, free: 45.17 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001164/0.6822, allocations: 0.9533 MB / 0.7965 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.6822, allocations: 10.44 kB / 0.7965 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.958e-05/0.6823, allocations: 79.81 kB / 0.7965 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005372/0.6829, allocations: 456.7 kB / 0.797 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.6829, allocations: 37.53 kB / 0.797 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.621e-05/0.683, allocations: 47.31 kB / 0.7971 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00064/0.6836, allocations: 434.8 kB / 0.7975 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.6837, allocations: 0 / 0.7975 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.6837, allocations: 18.69 kB / 0.7975 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.6837, allocations: 13.62 kB / 0.7975 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006094/0.6843, allocations: 372.4 kB / 0.7979 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.6861, allocations: 1.507 MB / 0.7993 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/0.6866, allocations: 344.1 kB / 0.7997 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004273/0.687, allocations: 317.8 kB / 0.8 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.6871, allocations: 4.281 kB / 0.8 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.6871, allocations: 45.42 kB / 0.8 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=42): time 1.654e-06/0.6871, allocations: 0.5 kB / 0.8 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.0008915/0.688, allocations: 0.4927 MB / 0.8005 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.688, allocations: 54.27 kB / 0.8005 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004951/0.6885, allocations: 487.7 kB / 0.801 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.6886, allocations: 33.2 kB / 0.801 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.6887, allocations: 273.4 kB / 0.8013 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.94e-05/0.6888, allocations: 147.8 kB / 0.8014 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.968e-05/0.6889, allocations: 65.88 kB / 0.8015 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.39e-05/0.689, allocations: 362.8 kB / 0.8019 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.6893, allocations: 119.2 kB / 0.802 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.6895, allocations: 131.2 kB / 0.8021 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004778/0.69, allocations: 297.3 kB / 0.8024 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.69, allocations: 2.656 kB / 0.8024 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006042/0.6906, allocations: 398 kB / 0.8028 GB, free: 41.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.6906, allocations: 9.375 kB / 0.8028 GB, free: 41.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.6906, allocations: 0.5625 kB / 0.8028 GB, free: 41.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.6907, allocations: 2.188 kB / 0.8028 GB, free: 41.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/0.6912, allocations: 123.4 kB / 0.8029 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.6912, allocations: 2.984 kB / 0.8029 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.6914, allocations: 35 kB / 0.8029 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.6914, allocations: 12.62 kB / 0.8029 GB, free: 41.33 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 (46): * Single equations (assignments): 46 * 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.0001738/0.6916, allocations: 198.3 kB / 0.8031 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.6917, allocations: 60.34 kB / 0.8032 GB, free: 41.13 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.6918, allocations: 60.89 kB / 0.8032 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-06/0.6918, allocations: 3.438 kB / 0.8032 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.6918, allocations: 3.938 kB / 0.8033 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.995e-05/0.6919, allocations: 131.9 kB / 0.8034 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.351e-05/0.692, allocations: 12.05 kB / 0.8034 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.6922, allocations: 17.3 kB / 0.8034 GB, free: 40.94 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.6923, allocations: 24.38 kB / 0.8034 GB, free: 40.94 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001114/0.6934, allocations: 0.5152 MB / 0.8039 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001003/0.6945, allocations: 0.73 MB / 0.8046 GB, free: 40.26 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002935/0.6948, allocations: 169.2 kB / 0.8048 GB, free: 40.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004506/0.6952, allocations: 348.7 kB / 0.8051 GB, free: 40.03 MB / 0.6544 GB Notification: Performance of Backend: time 7.32e-07/0.6952, allocations: 0 / 0.8051 GB, free: 40.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007665/0.696, allocations: 288.4 kB / 0.8054 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002058/0.6981, allocations: 1.61 MB / 0.807 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.01528/0.7134, allocations: 6.815 MB / 0.8136 GB, free: 38.45 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)