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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.001016/0.001016, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001034/0.001034, allocations: 189.4 kB / 16.25 MB, free: 6.633 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.421/1.421, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.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.671/1.671, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001521/0.001521, allocations: 67.89 kB / 0.6711 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1802, allocations: 114.6 MB / 0.783 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004834/0.185, allocations: 4.18 MB / 0.7871 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00266/0.1877, allocations: 2.407 MB / 0.7894 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/0.1879, allocations: 12 kB / 0.7895 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.1892, allocations: 0.497 MB / 0.7899 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003431/0.1895, allocations: 218.5 kB / 0.7902 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.1897, allocations: 123.9 kB / 0.7903 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006622/0.1904, allocations: 0.8099 MB / 0.7911 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003879/0.1908, allocations: 322.5 kB / 0.7914 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.191, allocations: 294.9 kB / 0.7917 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000288/0.1913, allocations: 338.6 kB / 0.792 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.289e-05/0.1914, allocations: 72 kB / 0.792 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.144e-05/0.1915, allocations: 76 kB / 0.7921 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.1917, allocations: 175.4 kB / 0.7923 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.1919, allocations: 382.3 kB / 0.7926 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006819/0.1926, allocations: 0.985 MB / 0.7936 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1926, allocations: 3.984 kB / 0.7936 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1926, allocations: 0 / 0.7936 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.1926, allocations: 0 / 0.7936 GB, free: 2.863 MB / 0.6075 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.001205/0.1939, allocations: 0.954 MB / 0.7945 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.1939, allocations: 12.03 kB / 0.7946 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.564e-05/0.194, allocations: 86.7 kB / 0.7946 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.877e-05/0.1941, allocations: 76 kB / 0.7947 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/0.1946, allocations: 453.7 kB / 0.7951 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.1946, allocations: 37.38 kB / 0.7952 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.146e-05/0.1947, allocations: 44.38 kB / 0.7952 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006866/0.1954, allocations: 430.6 kB / 0.7956 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.1954, allocations: 0 / 0.7956 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.1954, allocations: 24 kB / 0.7957 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.1955, allocations: 12 kB / 0.7957 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006493/0.1961, allocations: 367.8 kB / 0.796 GB, free: 304 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.198, allocations: 1.528 MB / 0.7975 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/0.1985, allocations: 346.7 kB / 0.7978 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004505/0.1989, allocations: 308.8 kB / 0.7981 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.199, allocations: 11.88 kB / 0.7981 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.199, allocations: 42.55 kB / 0.7982 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=42): time 1.413e-06/0.199, allocations: 4 kB / 0.7982 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.0009231/0.2, allocations: 497.6 kB / 0.7987 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.654e-05/0.2001, allocations: 55.41 kB / 0.7987 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005092/0.2006, allocations: 485.9 kB / 0.7992 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.2006, allocations: 37.7 kB / 0.7992 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.2008, allocations: 280.3 kB / 0.7995 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.2009, allocations: 145.9 kB / 0.7996 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.524e-05/0.201, allocations: 58.08 kB / 0.7997 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2011, allocations: 366.8 kB / 0.8 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.2014, allocations: 124.6 kB / 0.8001 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.2016, allocations: 129.2 kB / 0.8003 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004616/0.2021, allocations: 294.2 kB / 0.8006 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2021, allocations: 3.938 kB / 0.8006 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005926/0.2027, allocations: 396.4 kB / 0.8009 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2027, allocations: 4 kB / 0.8009 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2027, allocations: 0 / 0.8009 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2027, allocations: 4.766 kB / 0.8009 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/0.2032, allocations: 123.9 kB / 0.8011 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.2032, allocations: 0 / 0.8011 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.2035, allocations: 63.59 kB / 0.8011 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.2035, allocations: 8 kB / 0.8011 GB, free: 10.9 MB / 0.6231 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.0001805/0.2037, allocations: 193.8 kB / 0.8013 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.628e-05/0.2038, allocations: 59.27 kB / 0.8014 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.2039, allocations: 69.05 kB / 0.8014 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2039, allocations: 4 kB / 0.8014 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2039, allocations: 0 / 0.8014 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2039, allocations: 3.984 kB / 0.8014 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/0.2045, allocations: 0.5674 MB / 0.802 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.2045, allocations: 3.938 kB / 0.802 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004994/0.205, allocations: 123.9 kB / 0.8021 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.205, allocations: 4 kB / 0.8021 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.205, allocations: 4 kB / 0.8021 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.205, allocations: 8 kB / 0.8021 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2051, allocations: 0 / 0.8021 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009518/0.206, allocations: 0.6517 MB / 0.8028 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.2061, allocations: 140.3 kB / 0.8029 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.633e-05/0.2062, allocations: 12 kB / 0.8029 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.2065, allocations: 19.98 kB / 0.8029 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.2065, allocations: 27.95 kB / 0.803 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.2066, allocations: 12 kB / 0.803 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003596/0.2069, allocations: 347.1 kB / 0.8033 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2069, allocations: 0 / 0.8033 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003657/0.2073, allocations: 143.6 kB / 0.8034 GB, free: 8.438 MB / 0.6231 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.001197/0.2085, allocations: 1.215 MB / 0.8046 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006965/0.2092, allocations: 339.5 kB / 0.805 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2092, allocations: 4 kB / 0.805 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.2095, allocations: 180.2 kB / 0.8051 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/0.2102, allocations: 137.8 kB / 0.8053 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00606/0.2163, allocations: 5.223 MB / 0.8104 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.2167, allocations: 0.8704 MB / 0.8112 GB, free: 352 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001784/0.2168, allocations: 44.41 kB / 0.8113 GB, free: 304 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.2171, allocations: 191.4 kB / 0.8114 GB, free: 112 kB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/0.2171, allocations: 3.938 kB / 0.8114 GB, free: 108 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.711/1.928, allocations: 11.07 MB / 0.8223 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/1.928, allocations: 272.6 kB / 0.8225 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.659/4.587, allocations: 2.062 kB / 0.8225 GB, free: 5.008 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)