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.001172/0.001172, allocations: 109.4 kB / 15.69 MB, free: 128 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.001178/0.001178, allocations: 186.5 kB / 16.62 MB, free: 6.613 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.344/1.344, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.645/1.645, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.002502/0.002503, allocations: 69.14 kB / 0.6718 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2196, allocations: 114.5 MB / 0.7837 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005013/0.2247, allocations: 4.149 MB / 0.7877 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003207/0.228, allocations: 2.461 MB / 0.7901 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003226/0.2283, allocations: 12 kB / 0.7901 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.2299, allocations: 0.5324 MB / 0.7907 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005312/0.2304, allocations: 246.1 kB / 0.7909 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.2307, allocations: 139.8 kB / 0.791 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008058/0.2315, allocations: 0.813 MB / 0.7918 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004161/0.2319, allocations: 326.5 kB / 0.7921 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003383/0.2323, allocations: 294.9 kB / 0.7924 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.2326, allocations: 322.6 kB / 0.7927 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.22e-05/0.2327, allocations: 76 kB / 0.7928 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-05/0.2328, allocations: 72 kB / 0.7929 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.233, allocations: 179.4 kB / 0.793 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002824/0.2333, allocations: 378.3 kB / 0.7934 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007527/0.234, allocations: 1.001 MB / 0.7944 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.234, allocations: 0 / 0.7944 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.234, allocations: 0 / 0.7944 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.234, allocations: 4 kB / 0.7944 GB, free: 2.219 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.001287/0.2353, allocations: 0.9501 MB / 0.7953 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2354, allocations: 12.03 kB / 0.7953 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.966e-05/0.2355, allocations: 90.7 kB / 0.7954 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.984e-05/0.2356, allocations: 76 kB / 0.7955 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006479/0.2362, allocations: 457.7 kB / 0.7959 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.2363, allocations: 41.38 kB / 0.7959 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.881e-05/0.2364, allocations: 48.38 kB / 0.796 GB, free: 472 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007098/0.2371, allocations: 430.6 kB / 0.7964 GB, free: 36 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.2371, allocations: 0 / 0.7964 GB, free: 36 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.2372, allocations: 16 kB / 0.7964 GB, free: 20 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.2372, allocations: 12 kB / 0.7964 GB, free: 8 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006788/0.2379, allocations: 367.8 kB / 0.7968 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.2398, allocations: 1.527 MB / 0.7983 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004951/0.2403, allocations: 342.9 kB / 0.7986 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000465/0.2408, allocations: 316.8 kB / 0.7989 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.2408, allocations: 7.938 kB / 0.7989 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.2409, allocations: 38.5 kB / 0.7989 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=42): time 2.124e-06/0.2409, allocations: 0 / 0.7989 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.0009508/0.2418, allocations: 0.4948 MB / 0.7994 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.2419, allocations: 55.41 kB / 0.7995 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000532/0.2424, allocations: 489.9 kB / 0.7999 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.2425, allocations: 33.7 kB / 0.8 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.2427, allocations: 276.3 kB / 0.8002 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.2428, allocations: 153.8 kB / 0.8004 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.613e-05/0.2429, allocations: 58.08 kB / 0.8004 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.243, allocations: 362.8 kB / 0.8008 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.2433, allocations: 124.7 kB / 0.8009 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.2435, allocations: 141.1 kB / 0.801 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.2439, allocations: 290.2 kB / 0.8013 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.244, allocations: 0 / 0.8013 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006086/0.2446, allocations: 392.4 kB / 0.8017 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2446, allocations: 4 kB / 0.8017 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2446, allocations: 4 kB / 0.8017 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2446, allocations: 0.7656 kB / 0.8017 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.2451, allocations: 127.9 kB / 0.8018 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.2451, allocations: 0 / 0.8018 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.2453, allocations: 39.67 kB / 0.8019 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.2454, allocations: 12 kB / 0.8019 GB, free: 10.26 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.0002129/0.2456, allocations: 193.7 kB / 0.8021 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.26e-05/0.2457, allocations: 59.28 kB / 0.8021 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.2458, allocations: 65.05 kB / 0.8022 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.2458, allocations: 4 kB / 0.8022 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.2458, allocations: 0 / 0.8022 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.2458, allocations: 3.984 kB / 0.8022 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006683/0.2465, allocations: 0.5711 MB / 0.8027 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2465, allocations: 3.938 kB / 0.8027 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004905/0.247, allocations: 123.9 kB / 0.8029 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.587e-06/0.247, allocations: 4 kB / 0.8029 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.2471, allocations: 8 kB / 0.8029 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.2471, allocations: 11.98 kB / 0.8029 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.2471, allocations: 3.984 kB / 0.8029 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009585/0.2481, allocations: 0.639 MB / 0.8035 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.2482, allocations: 148.3 kB / 0.8037 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.082e-05/0.2483, allocations: 8 kB / 0.8037 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.2485, allocations: 23.92 kB / 0.8037 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.2486, allocations: 19.97 kB / 0.8037 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.2486, allocations: 12 kB / 0.8037 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003972/0.249, allocations: 351.1 kB / 0.8041 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.249, allocations: 0 / 0.8041 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004091/0.2494, allocations: 139.7 kB / 0.8042 GB, free: 7.801 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.2506, allocations: 1.212 MB / 0.8054 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005736/0.2512, allocations: 319.5 kB / 0.8057 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2512, allocations: 0 / 0.8057 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002743/0.2515, allocations: 187.8 kB / 0.8059 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006845/0.2522, allocations: 119.8 kB / 0.806 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005987/0.2582, allocations: 4.842 MB / 0.8107 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.2586, allocations: 0.8743 MB / 0.8115 GB, free: 132 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002147/0.2589, allocations: 52.39 kB / 0.8116 GB, free: 80 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.2591, allocations: 191.4 kB / 0.8118 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of SimCode: time 7.51e-07/0.2591, allocations: 0 / 0.8118 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.2908, allocations: 11.24 MB / 0.8228 GB, free: 4.93 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/7.984, allocations: 19.86 kB / 0.8228 GB, free: 4.922 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)