Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001316/0.001316, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001114/0.001114, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.293/1.293, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002119, allocations: 292.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9326/0.9326, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00325/0.00325, allocations: 88.23 kB / 0.6822 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.4321, allocations: 86.99 MB / 0.7671 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005065/0.4372, allocations: 4.132 MB / 0.7711 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003401/0.4407, allocations: 2.41 MB / 0.7735 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000432/0.4411, allocations: 12 kB / 0.7735 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.4428, allocations: 0.535 MB / 0.774 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006348/0.4435, allocations: 258 kB / 0.7743 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.4438, allocations: 135.9 kB / 0.7744 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.4448, allocations: 0.8168 MB / 0.7752 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004684/0.4453, allocations: 326.5 kB / 0.7755 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004058/0.4457, allocations: 290.9 kB / 0.7758 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004866/0.4462, allocations: 330.6 kB / 0.7761 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.4464, allocations: 80 kB / 0.7762 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.4466, allocations: 72 kB / 0.7763 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.4468, allocations: 179.4 kB / 0.7764 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004892/0.4473, allocations: 382.3 kB / 0.7768 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008897/0.4482, allocations: 1.001 MB / 0.7778 GB, free: 8.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4482, allocations: 3.938 kB / 0.7778 GB, free: 8.836 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4482, allocations: 0 / 0.7778 GB, free: 8.836 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.4482, allocations: 0 / 0.7778 GB, free: 8.836 MB / 0.545 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.001366/0.4496, allocations: 0.9424 MB / 0.7787 GB, free: 7.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.4496, allocations: 12.03 kB / 0.7787 GB, free: 7.828 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.4498, allocations: 80 kB / 0.7788 GB, free: 7.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005794/0.4503, allocations: 453.7 kB / 0.7792 GB, free: 7.273 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.4504, allocations: 37.38 kB / 0.7792 GB, free: 7.234 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.85e-05/0.4505, allocations: 52.36 kB / 0.7793 GB, free: 7.184 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007311/0.4512, allocations: 426.8 kB / 0.7797 GB, free: 6.762 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.4512, allocations: 4 kB / 0.7797 GB, free: 6.758 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.4513, allocations: 20 kB / 0.7797 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.4513, allocations: 12 kB / 0.7797 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006644/0.452, allocations: 367.8 kB / 0.7801 GB, free: 6.367 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.4539, allocations: 1.52 MB / 0.7816 GB, free: 4.773 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005008/0.4544, allocations: 343 kB / 0.7819 GB, free: 4.426 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/0.4549, allocations: 320 kB / 0.7822 GB, free: 4.113 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.4549, allocations: 8 kB / 0.7822 GB, free: 4.105 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.4549, allocations: 42.44 kB / 0.7823 GB, free: 4.055 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 1.904e-06/0.455, allocations: 0 / 0.7823 GB, free: 4.055 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.0009045/0.4559, allocations: 0.4899 MB / 0.7827 GB, free: 3.559 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.4559, allocations: 55.41 kB / 0.7828 GB, free: 3.492 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005078/0.4564, allocations: 485.9 kB / 0.7832 GB, free: 3.012 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.4565, allocations: 37.7 kB / 0.7833 GB, free: 2.969 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.4566, allocations: 272.4 kB / 0.7835 GB, free: 2.699 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.4567, allocations: 153.8 kB / 0.7837 GB, free: 2.547 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.703e-05/0.4568, allocations: 58.08 kB / 0.7837 GB, free: 2.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.457, allocations: 362.8 kB / 0.7841 GB, free: 2.117 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.4572, allocations: 120.7 kB / 0.7842 GB, free: 2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.4575, allocations: 130.1 kB / 0.7843 GB, free: 1.875 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005023/0.458, allocations: 298 kB / 0.7846 GB, free: 1.582 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.458, allocations: 0 / 0.7846 GB, free: 1.582 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006204/0.4586, allocations: 396.2 kB / 0.785 GB, free: 1.188 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.4586, allocations: 7.938 kB / 0.785 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4587, allocations: 0 / 0.785 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.4587, allocations: 7.984 kB / 0.785 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.4592, allocations: 127.8 kB / 0.7851 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4592, allocations: 0 / 0.7851 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.4594, allocations: 35.69 kB / 0.7852 GB, free: 1.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.4594, allocations: 12 kB / 0.7852 GB, free: 1 MB / 0.545 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.0002019/0.4596, allocations: 201.6 kB / 0.7854 GB, free: 0.793 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.369e-05/0.4597, allocations: 55.28 kB / 0.7854 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.4598, allocations: 69.03 kB / 0.7855 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.4599, allocations: 0 / 0.7855 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4599, allocations: 0 / 0.7855 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.46, allocations: 132.5 kB / 0.7856 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.481e-05/0.46, allocations: 11.98 kB / 0.7856 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.4603, allocations: 16 kB / 0.7856 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.4604, allocations: 23.97 kB / 0.7857 GB, free: 480 kB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00107/0.4614, allocations: 0.5135 MB / 0.7862 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009749/0.4624, allocations: 0.732 MB / 0.7869 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002706/0.4627, allocations: 167.8 kB / 0.787 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003651/0.4631, allocations: 355.1 kB / 0.7874 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of Backend: time 4.51e-07/0.4631, allocations: 0 / 0.7874 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007054/0.4638, allocations: 274.3 kB / 0.7876 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001911/0.4657, allocations: 1.62 MB / 0.7892 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of Templates: time 0.01228/0.478, allocations: 6.934 MB / 0.796 GB, free: 5.957 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)