Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 96.97 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 175.9 kB / 16.57 MB, free: 6.395 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.356/1.356, allocations: 223.2 MB / 240.5 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6879/0.6879, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.000353, allocations: 20.53 kB / 493 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1789, allocations: 77.1 MB / 0.5568 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001506/0.1804, allocations: 1.066 MB / 0.5578 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.183, allocations: 1.621 MB / 0.5594 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/0.1831, allocations: 4 kB / 0.5594 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.672e-05/0.1832, allocations: 7.938 kB / 0.5594 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.1833, allocations: 23.95 kB / 0.5594 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002363/0.1857, allocations: 0.9175 MB / 0.5603 GB, free: 8.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.658e-05/0.1858, allocations: 31.95 kB / 0.5604 GB, free: 7.988 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.1858, allocations: 0 / 0.5604 GB, free: 7.988 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.347e-05/0.1859, allocations: 31.84 kB / 0.5604 GB, free: 7.957 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.063e-05/0.186, allocations: 31.91 kB / 0.5604 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.186, allocations: 8 kB / 0.5604 GB, free: 7.918 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009162/0.1869, allocations: 0.6279 MB / 0.561 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.212e-05/0.187, allocations: 67.81 kB / 0.5611 GB, free: 7.223 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.1871, allocations: 49.56 kB / 0.5612 GB, free: 7.168 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006755/0.1878, allocations: 0.5461 MB / 0.5617 GB, free: 6.621 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.1878, allocations: 3.938 kB / 0.5617 GB, free: 6.617 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1878, allocations: 0 / 0.5617 GB, free: 6.617 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1878, allocations: 0 / 0.5617 GB, free: 6.617 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007423/0.1885, allocations: 0.5721 MB / 0.5623 GB, free: 5.996 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.757e-05/0.1886, allocations: 11.98 kB / 0.5623 GB, free: 5.984 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.327e-05/0.1887, allocations: 50.55 kB / 0.5623 GB, free: 5.926 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.1887, allocations: 23.72 kB / 0.5623 GB, free: 5.902 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.189, allocations: 209.7 kB / 0.5625 GB, free: 5.656 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.189, allocations: 3.953 kB / 0.5625 GB, free: 5.652 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.189, allocations: 0 / 0.5625 GB, free: 5.652 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1892, allocations: 105.7 kB / 0.5626 GB, free: 5.543 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.1892, allocations: 0 / 0.5626 GB, free: 5.543 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.1892, allocations: 0 / 0.5626 GB, free: 5.543 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1892, allocations: 0 / 0.5626 GB, free: 5.543 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.1893, allocations: 79.91 kB / 0.5627 GB, free: 5.465 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.1896, allocations: 285.8 kB / 0.563 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.1897, allocations: 122.5 kB / 0.5631 GB, free: 5.008 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.1898, allocations: 3.953 kB / 0.5631 GB, free: 5.004 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1898, allocations: 34.59 kB / 0.5631 GB, free: 4.961 MB / 430.1 MB Notification: Performance of pre-optimization done (n=32): time 1.062e-06/0.1898, allocations: 0 / 0.5631 GB, free: 4.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004966/0.1903, allocations: 422.9 kB / 0.5635 GB, free: 4.523 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.1904, allocations: 59.38 kB / 0.5636 GB, free: 4.453 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.1906, allocations: 257 kB / 0.5638 GB, free: 4.191 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1906, allocations: 25.7 kB / 0.5639 GB, free: 4.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.288e-05/0.1907, allocations: 132.6 kB / 0.564 GB, free: 4.023 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.744e-05/0.1908, allocations: 98.45 kB / 0.5641 GB, free: 3.926 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.1908, allocations: 0 / 0.5641 GB, free: 3.926 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.191, allocations: 342.8 kB / 0.5644 GB, free: 3.582 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.357e-05/0.1911, allocations: 67.98 kB / 0.5645 GB, free: 3.516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-05/0.1912, allocations: 80.75 kB / 0.5646 GB, free: 3.438 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1913, allocations: 108.2 kB / 0.5647 GB, free: 3.332 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1913, allocations: 0 / 0.5647 GB, free: 3.332 MB / 430.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002318/0.1916, allocations: 225.2 kB / 0.5649 GB, free: 3.105 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.1916, allocations: 8 kB / 0.5649 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.1916, allocations: 0 / 0.5649 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.1917, allocations: 0 / 0.5649 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.334e-06/0.1917, allocations: 0 / 0.5649 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.1917, allocations: 0 / 0.5649 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.308e-05/0.1917, allocations: 15.83 kB / 0.5649 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1918, allocations: 0 / 0.5649 GB, free: 3.082 MB / 430.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.1919, allocations: 157.8 kB / 0.5651 GB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.1919, allocations: 31.61 kB / 0.5651 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/0.1923, allocations: 255.4 kB / 0.5653 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1923, allocations: 0 / 0.5653 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1923, allocations: 0 / 0.5653 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.1923, allocations: 3.984 kB / 0.5653 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.1925, allocations: 285.9 kB / 0.5656 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1925, allocations: 4 kB / 0.5656 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-07/0.1925, allocations: 0 / 0.5656 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1925, allocations: 4 kB / 0.5656 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.1925, allocations: 7.891 kB / 0.5656 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1925, allocations: 0 / 0.5656 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1925, allocations: 0 / 0.5656 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.1928, allocations: 256.7 kB / 0.5659 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.637e-05/0.1929, allocations: 100.7 kB / 0.566 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.1929, allocations: 4.031 kB / 0.566 GB, free: 1.891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.027e-05/0.1929, allocations: 7.953 kB / 0.566 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.193, allocations: 0 / 0.566 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.193, allocations: 0 / 0.566 GB, free: 1.883 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.1931, allocations: 188.4 kB / 0.5661 GB, free: 1.703 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1931, allocations: 0 / 0.5661 GB, free: 1.703 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006367/0.1938, allocations: 211.9 kB / 0.5664 GB, free: 1.496 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001184/0.195, allocations: 1.004 MB / 0.5673 GB, free: 476 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003055/0.1953, allocations: 273.5 kB / 0.5676 GB, free: 196 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1953, allocations: 0 / 0.5676 GB, free: 196 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.1955, allocations: 177.6 kB / 0.5678 GB, free: 12 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.1957, allocations: 20.58 kB / 0.5678 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.1976, allocations: 1.566 MB / 0.5693 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.1979, allocations: 0.7673 MB / 0.5701 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.237e-05/0.198, allocations: 11.98 kB / 0.5701 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.198, allocations: 53.2 kB / 0.5701 GB, free: 13.52 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1981, allocations: 0 / 0.5701 GB, free: 13.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06069/0.2588, allocations: 7.368 MB / 0.5773 GB, free: 6.418 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/0.259, allocations: 267.5 kB / 0.5776 GB, free: 6.066 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/2.286, allocations: 0 / 0.5776 GB, free: 6.066 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) Environment - environmentSimulation: