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.001442/0.001442, allocations: 102.9 kB / 16.52 MB, free: 6.281 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.001405/0.001405, allocations: 195.9 kB / 17.44 MB, free: 5.902 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.349/1.349, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7289/0.7289, allocations: 115.3 MB / 406.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 67.91 kB / 493.6 MB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4357/0.437, allocations: 76.17 MB / 0.5564 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005199/0.4423, allocations: 4.149 MB / 0.5605 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00364/0.446, allocations: 2.37 MB / 0.5628 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003356/0.4463, allocations: 10.78 kB / 0.5628 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.4481, allocations: 0.5025 MB / 0.5633 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005343/0.4486, allocations: 215.1 kB / 0.5635 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.4489, allocations: 123.1 kB / 0.5636 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008057/0.4497, allocations: 0.8089 MB / 0.5644 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004216/0.4501, allocations: 288.8 kB / 0.5647 GB, free: 30.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003498/0.4505, allocations: 259.7 kB / 0.5649 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.4508, allocations: 323.4 kB / 0.5652 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.51e-05/0.4509, allocations: 46.25 kB / 0.5653 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.451, allocations: 49.09 kB / 0.5653 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.4512, allocations: 144.1 kB / 0.5655 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003417/0.4516, allocations: 352.9 kB / 0.5658 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008918/0.4525, allocations: 0.8055 MB / 0.5666 GB, free: 29.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4525, allocations: 0 / 0.5666 GB, free: 29.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4525, allocations: 0 / 0.5666 GB, free: 29.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.4525, allocations: 2.094 kB / 0.5666 GB, free: 29.84 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.001424/0.4539, allocations: 0.9557 MB / 0.5675 GB, free: 29.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.454, allocations: 14.58 kB / 0.5675 GB, free: 29.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.4541, allocations: 73.09 kB / 0.5676 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000566/0.4547, allocations: 457 kB / 0.568 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.4547, allocations: 33.12 kB / 0.5681 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.623e-05/0.4548, allocations: 51.72 kB / 0.5681 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007948/0.4556, allocations: 432.4 kB / 0.5685 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.4557, allocations: 0 / 0.5685 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.4557, allocations: 20.88 kB / 0.5685 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.4557, allocations: 12.47 kB / 0.5686 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000729/0.4565, allocations: 366.4 kB / 0.5689 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/0.4587, allocations: 1.535 MB / 0.5704 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005405/0.4592, allocations: 338.8 kB / 0.5707 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005103/0.4598, allocations: 324.2 kB / 0.571 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.4598, allocations: 4.75 kB / 0.571 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.4598, allocations: 42.73 kB / 0.5711 GB, free: 27.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.433e-06/0.4598, allocations: 0.5 kB / 0.5711 GB, free: 27.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.001004/0.4609, allocations: 0.4917 MB / 0.5716 GB, free: 26.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.4609, allocations: 58.28 kB / 0.5716 GB, free: 26.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006047/0.4615, allocations: 486.9 kB / 0.5721 GB, free: 26.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.4615, allocations: 35.2 kB / 0.5721 GB, free: 26.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.4617, allocations: 268.8 kB / 0.5724 GB, free: 26.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.4618, allocations: 150.9 kB / 0.5725 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.562e-05/0.4619, allocations: 62.66 kB / 0.5726 GB, free: 26.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.462, allocations: 364.8 kB / 0.5729 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.4623, allocations: 118.6 kB / 0.573 GB, free: 25.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.4625, allocations: 127.9 kB / 0.5732 GB, free: 25.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005226/0.4631, allocations: 298.4 kB / 0.5734 GB, free: 25.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4631, allocations: 0.6875 kB / 0.5734 GB, free: 25.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006746/0.4638, allocations: 397.5 kB / 0.5738 GB, free: 25.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4638, allocations: 6 kB / 0.5738 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4638, allocations: 1.531 kB / 0.5738 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.4638, allocations: 4.125 kB / 0.5738 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005222/0.4644, allocations: 125.2 kB / 0.574 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.4644, allocations: 1.375 kB / 0.574 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.4647, allocations: 54.11 kB / 0.574 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.4647, allocations: 6.875 kB / 0.574 GB, free: 25.44 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.0001967/0.4649, allocations: 198 kB / 0.5742 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-05/0.465, allocations: 50.75 kB / 0.5743 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.4651, allocations: 67.42 kB / 0.5743 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.4651, allocations: 4.125 kB / 0.5743 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.4651, allocations: 3.719 kB / 0.5743 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.4652, allocations: 2.156 kB / 0.5743 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007357/0.4659, allocations: 0.5814 MB / 0.5749 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4659, allocations: 5.312 kB / 0.5749 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/0.4664, allocations: 127.8 kB / 0.575 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.4664, allocations: 4.328 kB / 0.575 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.4665, allocations: 7.969 kB / 0.575 GB, free: 24.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4665, allocations: 5.031 kB / 0.575 GB, free: 24.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4665, allocations: 1.719 kB / 0.575 GB, free: 24.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009972/0.4675, allocations: 0.6518 MB / 0.5757 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.4676, allocations: 136.6 kB / 0.5758 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.4677, allocations: 11.97 kB / 0.5758 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.4679, allocations: 22.67 kB / 0.5758 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/0.468, allocations: 25.73 kB / 0.5759 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.468, allocations: 11.64 kB / 0.5759 GB, free: 24.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000412/0.4684, allocations: 349.5 kB / 0.5762 GB, free: 24.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4685, allocations: 0.75 kB / 0.5762 GB, free: 24.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004612/0.4689, allocations: 140.8 kB / 0.5763 GB, free: 24.11 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.0001676/0.4691, allocations: 118.6 kB / 0.5765 GB, free: 24.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007063/0.4698, allocations: 322.7 kB / 0.5768 GB, free: 23.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4698, allocations: 0 / 0.5768 GB, free: 23.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003353/0.4702, allocations: 180.8 kB / 0.5769 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000927/0.4711, allocations: 124.3 kB / 0.5771 GB, free: 23.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.4734, allocations: 1.451 MB / 0.5785 GB, free: 22.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/0.4739, allocations: 0.8685 MB / 0.5793 GB, free: 22.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.4741, allocations: 37.41 kB / 0.5794 GB, free: 22.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4741, allocations: 3.938 kB / 0.5794 GB, free: 22.12 MB / 446.1 MB Notification: Performance of Templates: time 0.01324/0.4873, allocations: 6.823 MB / 0.586 GB, free: 19.99 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)