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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5158/0.5158, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001132, allocations: 100.7 kB / 420 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 63.84 kB / 0.4891 GB, free: 7.664 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3585, allocations: 70.05 MB / 0.5575 GB, free: 44.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004577/0.3632, allocations: 4.161 MB / 0.5616 GB, free: 41.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002793/0.366, allocations: 2.376 MB / 0.5639 GB, free: 38.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005325/0.3665, allocations: 8 kB / 0.5639 GB, free: 38.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.3681, allocations: 0.494 MB / 0.5644 GB, free: 38.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006558/0.3688, allocations: 218.5 kB / 0.5646 GB, free: 37.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.3691, allocations: 111.9 kB / 0.5647 GB, free: 37.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008052/0.3699, allocations: 0.8253 MB / 0.5655 GB, free: 37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003862/0.3703, allocations: 280.1 kB / 0.5658 GB, free: 36.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002541/0.3706, allocations: 262.9 kB / 0.566 GB, free: 36.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.3708, allocations: 322.5 kB / 0.5663 GB, free: 36.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.32e-05/0.3709, allocations: 48 kB / 0.5664 GB, free: 36.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.899e-05/0.371, allocations: 48 kB / 0.5664 GB, free: 36.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.3711, allocations: 143.4 kB / 0.5666 GB, free: 35.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.3714, allocations: 358.3 kB / 0.5669 GB, free: 35.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005678/0.372, allocations: 0.9693 MB / 0.5679 GB, free: 34.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.372, allocations: 0 / 0.5679 GB, free: 34.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.372, allocations: 0 / 0.5679 GB, free: 34.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.372, allocations: 4 kB / 0.5679 GB, free: 34.59 MB / 410.7 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.001348/0.3734, allocations: 0.95 MB / 0.5688 GB, free: 33.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3734, allocations: 12.03 kB / 0.5688 GB, free: 33.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.3735, allocations: 72.09 kB / 0.5689 GB, free: 33.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/0.374, allocations: 453.7 kB / 0.5693 GB, free: 33.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.3741, allocations: 33.38 kB / 0.5693 GB, free: 32.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.779e-05/0.3741, allocations: 48.38 kB / 0.5694 GB, free: 32.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005714/0.3747, allocations: 434.8 kB / 0.5698 GB, free: 32.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.3747, allocations: 4 kB / 0.5698 GB, free: 32.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.3748, allocations: 20 kB / 0.5698 GB, free: 32.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.3748, allocations: 12 kB / 0.5698 GB, free: 32.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005559/0.3753, allocations: 363.8 kB / 0.5702 GB, free: 32.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.3769, allocations: 1.535 MB / 0.5717 GB, free: 30.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004101/0.3773, allocations: 343.2 kB / 0.572 GB, free: 30.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003662/0.3777, allocations: 324.6 kB / 0.5723 GB, free: 29.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.3777, allocations: 11.98 kB / 0.5723 GB, free: 29.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.3777, allocations: 42.5 kB / 0.5724 GB, free: 29.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.443e-06/0.3777, allocations: 0 / 0.5724 GB, free: 29.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007533/0.3785, allocations: 0.4892 MB / 0.5728 GB, free: 29.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.3785, allocations: 59.39 kB / 0.5729 GB, free: 29.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/0.3789, allocations: 485.9 kB / 0.5734 GB, free: 28.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.379, allocations: 30.47 kB / 0.5734 GB, free: 28.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.3791, allocations: 280.4 kB / 0.5737 GB, free: 28.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.392e-05/0.3792, allocations: 145.8 kB / 0.5738 GB, free: 28.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.518e-05/0.3792, allocations: 62.08 kB / 0.5739 GB, free: 28.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.963e-05/0.3793, allocations: 358.8 kB / 0.5742 GB, free: 27.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.3795, allocations: 120.7 kB / 0.5743 GB, free: 27.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.3797, allocations: 129.2 kB / 0.5744 GB, free: 27.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.3801, allocations: 306.1 kB / 0.5747 GB, free: 27.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3801, allocations: 0 / 0.5747 GB, free: 27.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005308/0.3807, allocations: 396.3 kB / 0.5751 GB, free: 26.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3807, allocations: 4.625 kB / 0.5751 GB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3807, allocations: 0 / 0.5751 GB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3807, allocations: 4 kB / 0.5751 GB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004354/0.3812, allocations: 131.8 kB / 0.5752 GB, free: 26.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.3812, allocations: 0 / 0.5752 GB, free: 26.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.3814, allocations: 51.66 kB / 0.5753 GB, free: 26.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.3814, allocations: 8 kB / 0.5753 GB, free: 26.72 MB / 410.7 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.0001434/0.3816, allocations: 193.8 kB / 0.5755 GB, free: 26.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.3817, allocations: 55.28 kB / 0.5755 GB, free: 26.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.3818, allocations: 65.09 kB / 0.5756 GB, free: 26.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3818, allocations: 4 kB / 0.5756 GB, free: 26.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3818, allocations: 0 / 0.5756 GB, free: 26.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3818, allocations: 3.984 kB / 0.5756 GB, free: 26.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004681/0.3823, allocations: 0.5712 MB / 0.5762 GB, free: 25.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3823, allocations: 0 / 0.5762 GB, free: 25.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004482/0.3827, allocations: 131.8 kB / 0.5763 GB, free: 25.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.3827, allocations: 7.938 kB / 0.5763 GB, free: 25.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.3828, allocations: 12 kB / 0.5763 GB, free: 25.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3828, allocations: 0 / 0.5763 GB, free: 25.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3828, allocations: 4 kB / 0.5763 GB, free: 25.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004178/0.387, allocations: 3.825 MB / 0.5801 GB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-05/0.3871, allocations: 128.5 kB / 0.5802 GB, free: 21.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.3871, allocations: 11.94 kB / 0.5802 GB, free: 21.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.3873, allocations: 19.98 kB / 0.5802 GB, free: 21.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.3874, allocations: 23.97 kB / 0.5802 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.3874, allocations: 8 kB / 0.5802 GB, free: 21.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002856/0.3877, allocations: 359.1 kB / 0.5806 GB, free: 21.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3877, allocations: 4 kB / 0.5806 GB, free: 21.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005708/0.3883, allocations: 223.4 kB / 0.5808 GB, free: 20.87 MB / 410.7 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.0001136/0.3884, allocations: 111.2 kB / 0.5809 GB, free: 20.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004897/0.3889, allocations: 332.5 kB / 0.5812 GB, free: 20.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3889, allocations: 0 / 0.5812 GB, free: 20.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.3892, allocations: 183.6 kB / 0.5814 GB, free: 20.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006709/0.3899, allocations: 121.9 kB / 0.5815 GB, free: 20.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.3916, allocations: 1.703 MB / 0.5832 GB, free: 18.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.3918, allocations: 0.8746 MB / 0.584 GB, free: 17.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.3921, allocations: 64.38 kB / 0.5841 GB, free: 17.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.3922, allocations: 39.42 kB / 0.5841 GB, free: 17.39 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3922, allocations: 0 / 0.5841 GB, free: 17.39 MB / 410.7 MB Notification: Performance of Templates: time 0.01153/0.4037, allocations: 6.662 MB / 0.5906 GB, free: 10.86 MB / 410.7 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)