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.001135/0.001135, allocations: 104.5 kB / 16.27 MB, free: 5.965 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.00147/0.00147, allocations: 193.7 kB / 17.2 MB, free: 5.594 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.324/1.324, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7386/0.7386, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 0.4911 GB, free: 7.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.356, allocations: 77.93 MB / 0.5672 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006094/0.3622, allocations: 4.131 MB / 0.5713 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004056/0.3663, allocations: 2.413 MB / 0.5736 GB, free: 28.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003058/0.3666, allocations: 9.469 kB / 0.5736 GB, free: 28.17 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.3684, allocations: 0.5324 MB / 0.5741 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005015/0.3689, allocations: 250.1 kB / 0.5744 GB, free: 27.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.3692, allocations: 139 kB / 0.5745 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007446/0.3699, allocations: 0.8023 MB / 0.5753 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004845/0.3704, allocations: 325.1 kB / 0.5756 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.3707, allocations: 295 kB / 0.5759 GB, free: 26.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003443/0.3711, allocations: 328.5 kB / 0.5762 GB, free: 26.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.455e-05/0.3712, allocations: 75.56 kB / 0.5763 GB, free: 26.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.3713, allocations: 73.75 kB / 0.5764 GB, free: 26.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.3715, allocations: 178.2 kB / 0.5765 GB, free: 26.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.3718, allocations: 380.3 kB / 0.5769 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009783/0.3728, allocations: 0.9881 MB / 0.5778 GB, free: 26.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3728, allocations: 1.375 kB / 0.5778 GB, free: 26.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3728, allocations: 0.6094 kB / 0.5778 GB, free: 26.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.3728, allocations: 0 / 0.5778 GB, free: 26.07 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.001268/0.3741, allocations: 0.9495 MB / 0.5788 GB, free: 25.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3741, allocations: 11.19 kB / 0.5788 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.3743, allocations: 75.75 kB / 0.5789 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/0.3747, allocations: 457 kB / 0.5793 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.3748, allocations: 38.5 kB / 0.5793 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.3748, allocations: 51.62 kB / 0.5794 GB, free: 24.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006665/0.3755, allocations: 431.4 kB / 0.5798 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.3755, allocations: 0.6094 kB / 0.5798 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.3756, allocations: 21.91 kB / 0.5798 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.3756, allocations: 12.38 kB / 0.5798 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006727/0.3763, allocations: 368.9 kB / 0.5802 GB, free: 24.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.378, allocations: 1.538 MB / 0.5817 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004877/0.3785, allocations: 348.2 kB / 0.582 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004397/0.379, allocations: 323.9 kB / 0.5823 GB, free: 23.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.379, allocations: 5.344 kB / 0.5823 GB, free: 23.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.379, allocations: 39.97 kB / 0.5824 GB, free: 23.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.144e-06/0.379, allocations: 0.5 kB / 0.5824 GB, free: 23.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008531/0.3799, allocations: 0.4949 MB / 0.5828 GB, free: 22.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.3799, allocations: 57.72 kB / 0.5829 GB, free: 22.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004474/0.3804, allocations: 486.7 kB / 0.5834 GB, free: 22.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.3804, allocations: 31.2 kB / 0.5834 GB, free: 22.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.3805, allocations: 275.5 kB / 0.5837 GB, free: 22.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.168e-05/0.3806, allocations: 146.3 kB / 0.5838 GB, free: 22.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.319e-05/0.3807, allocations: 62.27 kB / 0.5839 GB, free: 22.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.479e-05/0.3808, allocations: 362.6 kB / 0.5842 GB, free: 21.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.381, allocations: 123.7 kB / 0.5843 GB, free: 21.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.3812, allocations: 125.3 kB / 0.5844 GB, free: 21.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004707/0.3817, allocations: 304.5 kB / 0.5847 GB, free: 21.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3817, allocations: 0.6875 kB / 0.5847 GB, free: 21.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006072/0.3823, allocations: 398.2 kB / 0.5851 GB, free: 21.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3824, allocations: 6.281 kB / 0.5851 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3824, allocations: 0 / 0.5851 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3824, allocations: 1.406 kB / 0.5851 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000481/0.3829, allocations: 125.5 kB / 0.5852 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3829, allocations: 5.875 kB / 0.5852 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.3831, allocations: 32.77 kB / 0.5853 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.3831, allocations: 11.09 kB / 0.5853 GB, free: 21.19 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.0001723/0.3833, allocations: 201.7 kB / 0.5855 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.301e-05/0.3834, allocations: 58.94 kB / 0.5855 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.355e-05/0.3835, allocations: 59.23 kB / 0.5856 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3835, allocations: 9.969 kB / 0.5856 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.3835, allocations: 0 / 0.5856 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3835, allocations: 4.609 kB / 0.5856 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005175/0.3841, allocations: 0.571 MB / 0.5862 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3841, allocations: 0.5625 kB / 0.5862 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004855/0.3846, allocations: 129.6 kB / 0.5863 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3846, allocations: 1.188 kB / 0.5863 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.3846, allocations: 12 kB / 0.5863 GB, free: 20.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3846, allocations: 2.125 kB / 0.5863 GB, free: 20.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3846, allocations: 0 / 0.5863 GB, free: 20.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008634/0.3855, allocations: 0.6523 MB / 0.5869 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.798e-05/0.3856, allocations: 136.7 kB / 0.5871 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/0.3857, allocations: 10.5 kB / 0.5871 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.3859, allocations: 13.2 kB / 0.5871 GB, free: 19.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/0.3859, allocations: 23.78 kB / 0.5871 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.386, allocations: 14.53 kB / 0.5871 GB, free: 19.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003488/0.3863, allocations: 348.8 kB / 0.5875 GB, free: 19.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3863, allocations: 0 / 0.5875 GB, free: 19.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004131/0.3867, allocations: 145.4 kB / 0.5876 GB, free: 19.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.0001275/0.3869, allocations: 114.8 kB / 0.5877 GB, free: 19.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006648/0.3875, allocations: 341.4 kB / 0.588 GB, free: 19.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3876, allocations: 0 / 0.588 GB, free: 19.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002632/0.3878, allocations: 183.4 kB / 0.5882 GB, free: 19.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006611/0.3885, allocations: 134 kB / 0.5883 GB, free: 19.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.3902, allocations: 1.201 MB / 0.5895 GB, free: 18.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.3905, allocations: 0.8709 MB / 0.5904 GB, free: 17.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001766/0.3906, allocations: 54.22 kB / 0.5904 GB, free: 17.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.477e-05/0.3907, allocations: 34.94 kB / 0.5904 GB, free: 17.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3908, allocations: 0.9375 kB / 0.5904 GB, free: 17.64 MB / 446.1 MB Notification: Performance of Templates: time 0.009174/0.3999, allocations: 5.939 MB / 0.5962 GB, free: 12.87 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)