Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001199/0.001199, allocations: 87.41 kB / 16.66 MB, free: 5.742 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.001472/0.001472, allocations: 182.7 kB / 17.58 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.3 MB / 241.6 MB, free: 244 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7874/0.7874, allocations: 115.5 MB / 408.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003673, allocations: 8 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4634/0.4638, allocations: 77.52 MB / 0.5606 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004184/0.468, allocations: 3.757 MB / 0.5643 GB, free: 33.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003437/0.4715, allocations: 2.33 MB / 0.5666 GB, free: 31.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003862/0.4719, allocations: 9.906 kB / 0.5666 GB, free: 31.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.4735, allocations: 0.5017 MB / 0.5671 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005982/0.4741, allocations: 217.6 kB / 0.5673 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.4744, allocations: 118 kB / 0.5674 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008905/0.4753, allocations: 0.8084 MB / 0.5682 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004529/0.4758, allocations: 276.8 kB / 0.5684 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/0.4761, allocations: 244.1 kB / 0.5687 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003537/0.4765, allocations: 284.8 kB / 0.5689 GB, free: 30.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.142e-05/0.4766, allocations: 34.47 kB / 0.569 GB, free: 30.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.665e-05/0.4767, allocations: 36.22 kB / 0.569 GB, free: 30.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.4768, allocations: 134.5 kB / 0.5691 GB, free: 30.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003368/0.4772, allocations: 355.2 kB / 0.5695 GB, free: 30.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.4782, allocations: 0.7855 MB / 0.5702 GB, free: 30.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4782, allocations: 1.812 kB / 0.5702 GB, free: 30.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4782, allocations: 4.875 kB / 0.5702 GB, free: 30.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.4782, allocations: 0 / 0.5702 GB, free: 30.27 MB / 446.1 MB 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.001356/0.4796, allocations: 0.8433 MB / 0.5711 GB, free: 29.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.4797, allocations: 13.69 kB / 0.5711 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.4798, allocations: 72.5 kB / 0.5712 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005759/0.4804, allocations: 466.4 kB / 0.5716 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.4804, allocations: 32.94 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.467e-05/0.4805, allocations: 47.16 kB / 0.5717 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008748/0.4814, allocations: 437.8 kB / 0.5721 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.4814, allocations: 0.7188 kB / 0.5721 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.4815, allocations: 19.59 kB / 0.5721 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.4815, allocations: 13.91 kB / 0.5721 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007765/0.4823, allocations: 376.2 kB / 0.5725 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002582/0.4849, allocations: 1.544 MB / 0.574 GB, free: 27.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006074/0.4855, allocations: 345.4 kB / 0.5743 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005891/0.4861, allocations: 337.8 kB / 0.5746 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.4861, allocations: 4.391 kB / 0.5746 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.4862, allocations: 41.78 kB / 0.5747 GB, free: 27.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.564e-06/0.4862, allocations: 0 / 0.5747 GB, free: 27.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.001149/0.4873, allocations: 0.5048 MB / 0.5752 GB, free: 27.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.4874, allocations: 59.06 kB / 0.5752 GB, free: 27.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007286/0.4881, allocations: 490.6 kB / 0.5757 GB, free: 27.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.4882, allocations: 31.08 kB / 0.5757 GB, free: 27.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.4884, allocations: 275.4 kB / 0.576 GB, free: 26.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.4885, allocations: 146.7 kB / 0.5761 GB, free: 26.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-05/0.4886, allocations: 37.59 kB / 0.5762 GB, free: 26.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.4887, allocations: 359.5 kB / 0.5765 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.489, allocations: 130.2 kB / 0.5766 GB, free: 26.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.4893, allocations: 133.1 kB / 0.5768 GB, free: 26.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005662/0.4899, allocations: 310.5 kB / 0.5771 GB, free: 26.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4899, allocations: 0 / 0.5771 GB, free: 26.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007432/0.4906, allocations: 405.5 kB / 0.5774 GB, free: 25.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.4906, allocations: 5.406 kB / 0.5775 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4907, allocations: 1.094 kB / 0.5775 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.4907, allocations: 3.281 kB / 0.5775 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/0.4913, allocations: 127.3 kB / 0.5776 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.4913, allocations: 2.969 kB / 0.5776 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003883/0.4917, allocations: 47.77 kB / 0.5776 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.4917, allocations: 12.47 kB / 0.5776 GB, free: 25.95 MB / 446.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 (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.0002683/0.492, allocations: 196.8 kB / 0.5778 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.4921, allocations: 56.33 kB / 0.5779 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.4922, allocations: 60.86 kB / 0.5779 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.4923, allocations: 6.281 kB / 0.5779 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.775e-05/0.4923, allocations: 0 / 0.5779 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.4923, allocations: 7.516 kB / 0.578 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009827/0.4933, allocations: 0.5772 MB / 0.5785 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4933, allocations: 1.656 kB / 0.5785 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000605/0.4939, allocations: 131.2 kB / 0.5786 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4939, allocations: 2.562 kB / 0.5786 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.494, allocations: 7.188 kB / 0.5787 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.494, allocations: 1.344 kB / 0.5787 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.494, allocations: 2.75 kB / 0.5787 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.4952, allocations: 0.6671 MB / 0.5793 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.4954, allocations: 136.2 kB / 0.5794 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.472e-05/0.4954, allocations: 10.28 kB / 0.5794 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.4957, allocations: 29.92 kB / 0.5795 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.032e-05/0.4958, allocations: 24.41 kB / 0.5795 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.4959, allocations: 12.39 kB / 0.5795 GB, free: 24.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000475/0.4963, allocations: 353.6 kB / 0.5798 GB, free: 24.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.773e-06/0.4963, allocations: 0.625 kB / 0.5798 GB, free: 24.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005488/0.4969, allocations: 148.9 kB / 0.58 GB, free: 24.62 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0002008/0.4971, allocations: 115.5 kB / 0.5801 GB, free: 24.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00077/0.4979, allocations: 332.2 kB / 0.5804 GB, free: 24.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4979, allocations: 4.562 kB / 0.5804 GB, free: 24.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003551/0.4983, allocations: 184.7 kB / 0.5806 GB, free: 24.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008373/0.4991, allocations: 125.3 kB / 0.5807 GB, free: 24.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.5014, allocations: 1.54 MB / 0.5822 GB, free: 23.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.5019, allocations: 0.8732 MB / 0.5831 GB, free: 22.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.502, allocations: 36.78 kB / 0.5831 GB, free: 22.6 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.502, allocations: 1.156 kB / 0.5831 GB, free: 22.6 MB / 446.1 MB Notification: Performance of Templates: time 0.01433/0.5164, allocations: 6.727 MB / 0.5897 GB, free: 20.1 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)