Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001733/0.001733, allocations: 103.8 kB / 16.27 MB, free: 6.418 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.001958/0.001958, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 292.3 MB / 0.5495 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 67.89 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2691, allocations: 114.6 MB / 0.7841 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.438/0.7072, allocations: 4.144 MB / 0.7881 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00367/0.711, allocations: 2.446 MB / 0.7905 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000279/0.7113, allocations: 10.5 kB / 0.7905 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.7129, allocations: 0.543 MB / 0.791 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004965/0.7134, allocations: 246.3 kB / 0.7913 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.7137, allocations: 145 kB / 0.7914 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006908/0.7144, allocations: 0.8057 MB / 0.7922 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004514/0.7148, allocations: 323.3 kB / 0.7925 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003057/0.7151, allocations: 286.6 kB / 0.7928 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003437/0.7155, allocations: 332.6 kB / 0.7931 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.033e-05/0.7156, allocations: 76.66 kB / 0.7932 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.7157, allocations: 75.44 kB / 0.7933 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.7159, allocations: 168.6 kB / 0.7934 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003617/0.7163, allocations: 392.1 kB / 0.7938 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008088/0.7171, allocations: 0.9766 MB / 0.7947 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.7171, allocations: 0.5625 kB / 0.7947 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7171, allocations: 0.6562 kB / 0.7947 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.7171, allocations: 1.188 kB / 0.7947 GB, free: 45.39 MB / 0.6544 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.001432/0.7186, allocations: 0.9551 MB / 0.7957 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.7186, allocations: 10.97 kB / 0.7957 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.7188, allocations: 74.75 kB / 0.7958 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005639/0.7193, allocations: 457.4 kB / 0.7962 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/0.7194, allocations: 32.78 kB / 0.7962 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.138e-05/0.7195, allocations: 49 kB / 0.7963 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007143/0.7202, allocations: 438.2 kB / 0.7967 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.7202, allocations: 0 / 0.7967 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.7203, allocations: 17.97 kB / 0.7967 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.7203, allocations: 16.61 kB / 0.7967 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006385/0.7209, allocations: 367.3 kB / 0.7971 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.723, allocations: 1.536 MB / 0.7986 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.7236, allocations: 343.4 kB / 0.7989 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004743/0.724, allocations: 324.1 kB / 0.7992 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.7241, allocations: 5.062 kB / 0.7992 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.7241, allocations: 39.62 kB / 0.7992 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=42): time 1.994e-06/0.7241, allocations: 2.562 kB / 0.7993 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.001101/0.7252, allocations: 0.4892 MB / 0.7997 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.7253, allocations: 60.97 kB / 0.7998 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005825/0.7259, allocations: 485.9 kB / 0.8003 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.7259, allocations: 39.38 kB / 0.8003 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.7261, allocations: 274.3 kB / 0.8006 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.7262, allocations: 142.2 kB / 0.8007 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.854e-05/0.7263, allocations: 61.22 kB / 0.8007 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.7264, allocations: 363.5 kB / 0.8011 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.7267, allocations: 125.8 kB / 0.8012 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.7269, allocations: 125 kB / 0.8013 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005034/0.7274, allocations: 297.7 kB / 0.8016 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.7274, allocations: 0 / 0.8016 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006284/0.728, allocations: 397.2 kB / 0.802 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.7281, allocations: 8.406 kB / 0.802 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7281, allocations: 5.312 kB / 0.802 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.7281, allocations: 1.406 kB / 0.802 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004922/0.7286, allocations: 122 kB / 0.8021 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.7286, allocations: 1.906 kB / 0.8021 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.7288, allocations: 38.62 kB / 0.8022 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.7289, allocations: 6.688 kB / 0.8022 GB, free: 41.59 MB / 0.6544 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.0001772/0.7291, allocations: 199.6 kB / 0.8024 GB, free: 41.42 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-05/0.7291, allocations: 54.67 kB / 0.8024 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.7292, allocations: 61.31 kB / 0.8025 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.7293, allocations: 4.375 kB / 0.8025 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.7293, allocations: 2.25 kB / 0.8025 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.7293, allocations: 6.188 kB / 0.8025 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007297/0.73, allocations: 0.571 MB / 0.803 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.73, allocations: 0 / 0.803 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005085/0.7306, allocations: 129.7 kB / 0.8032 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.7306, allocations: 5.594 kB / 0.8032 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.7306, allocations: 8.391 kB / 0.8032 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.7306, allocations: 1 kB / 0.8032 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.7306, allocations: 0.7969 kB / 0.8032 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000959/0.7316, allocations: 0.6478 MB / 0.8038 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.7317, allocations: 140.6 kB / 0.8039 GB, free: 40.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/0.7318, allocations: 12.83 kB / 0.804 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.732, allocations: 11.92 kB / 0.804 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.732, allocations: 25.28 kB / 0.804 GB, free: 40.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.7321, allocations: 10.75 kB / 0.804 GB, free: 40.45 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004433/0.7325, allocations: 349.9 kB / 0.8043 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7325, allocations: 0 / 0.8043 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004604/0.733, allocations: 144.6 kB / 0.8045 GB, free: 40.26 MB / 0.6544 GB 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.000142/0.7331, allocations: 118.7 kB / 0.8046 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007844/0.7339, allocations: 349.6 kB / 0.8049 GB, free: 40.03 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7339, allocations: 5.594 kB / 0.8049 GB, free: 40.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.7343, allocations: 175.6 kB / 0.8051 GB, free: 39.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006753/0.7349, allocations: 120.7 kB / 0.8052 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.737, allocations: 1.235 MB / 0.8064 GB, free: 39.19 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.7374, allocations: 0.8646 MB / 0.8073 GB, free: 38.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.7376, allocations: 41.91 kB / 0.8073 GB, free: 38.48 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.7376, allocations: 3.938 kB / 0.8073 GB, free: 38.47 MB / 0.6544 GB Notification: Performance of Templates: time 0.01574/0.7533, allocations: 6.837 MB / 0.814 GB, free: 37.88 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)