Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.001162/0.001162, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001214/0.001214, allocations: 191.1 kB / 16.14 MB, free: 6.707 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.182/1.182, allocations: 205.1 MB / 222 MB, free: 4.996 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.528/1.528, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001516/0.001516, allocations: 70.09 kB / 0.671 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2117, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004142/0.2159, allocations: 3.094 MB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002453/0.2184, allocations: 2.154 MB / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.2186, allocations: 4 kB / 0.788 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.2196, allocations: 474.1 kB / 0.7884 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.2199, allocations: 139.1 kB / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.604e-05/0.22, allocations: 47.97 kB / 0.7886 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003739/0.2203, allocations: 469.8 kB / 0.789 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.2205, allocations: 127.9 kB / 0.7892 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.2207, allocations: 139.4 kB / 0.7893 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.2209, allocations: 179.2 kB / 0.7895 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.2209, allocations: 24 kB / 0.7895 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.557e-05/0.221, allocations: 24 kB / 0.7895 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.528e-05/0.2211, allocations: 91.61 kB / 0.7896 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.2212, allocations: 202.9 kB / 0.7898 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.2216, allocations: 0.5254 MB / 0.7903 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2216, allocations: 0 / 0.7903 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.91e-07/0.2216, allocations: 0 / 0.7903 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2216, allocations: 4 kB / 0.7903 GB, free: 6.203 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008462/0.2225, allocations: 0.7122 MB / 0.791 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.2225, allocations: 12.03 kB / 0.791 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.677e-05/0.2226, allocations: 50.73 kB / 0.7911 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.818e-05/0.2226, allocations: 52.38 kB / 0.7911 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.223, allocations: 370.1 kB / 0.7915 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.2231, allocations: 16.81 kB / 0.7915 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.2231, allocations: 24.38 kB / 0.7915 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.2235, allocations: 203.4 kB / 0.7917 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2235, allocations: 7.938 kB / 0.7917 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.2235, allocations: 11.94 kB / 0.7917 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2235, allocations: 4 kB / 0.7917 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003612/0.2239, allocations: 165.7 kB / 0.7919 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.2249, allocations: 0.8661 MB / 0.7927 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.2252, allocations: 158.5 kB / 0.7929 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.2254, allocations: 108.8 kB / 0.793 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.2254, allocations: 0 / 0.793 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.2255, allocations: 42.56 kB / 0.793 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.032e-06/0.2255, allocations: 0 / 0.793 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0005248/0.226, allocations: 256.8 kB / 0.7933 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.226, allocations: 55.41 kB / 0.7933 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.2264, allocations: 421.7 kB / 0.7937 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.2265, allocations: 29.7 kB / 0.7937 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.2266, allocations: 204.2 kB / 0.7939 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.2267, allocations: 63.09 kB / 0.794 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.2267, allocations: 33.72 kB / 0.794 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2268, allocations: 346.8 kB / 0.7944 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.227, allocations: 51.97 kB / 0.7944 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.2271, allocations: 59.92 kB / 0.7945 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.2274, allocations: 143.5 kB / 0.7946 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2274, allocations: 3.938 kB / 0.7946 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003446/0.2277, allocations: 205.2 kB / 0.7948 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.026e-06/0.2278, allocations: 4 kB / 0.7948 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2278, allocations: 3.938 kB / 0.7948 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.345e-06/0.2278, allocations: 4 kB / 0.7948 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.228, allocations: 51.95 kB / 0.7949 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.228, allocations: 4 kB / 0.7949 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.2282, allocations: 23.83 kB / 0.7949 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.2282, allocations: 4 kB / 0.7949 GB, free: 1.246 MB / 0.6075 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 (20): * Single equations (assignments): 20 * 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.0001306/0.2283, allocations: 162.4 kB / 0.7951 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.2284, allocations: 43.53 kB / 0.7951 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.986e-05/0.2285, allocations: 47.52 kB / 0.7951 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2285, allocations: 0 / 0.7951 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.2285, allocations: 4 kB / 0.7951 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2285, allocations: 0 / 0.7951 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.2288, allocations: 373.3 kB / 0.7955 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2288, allocations: 7.984 kB / 0.7955 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.2291, allocations: 47.97 kB / 0.7956 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2291, allocations: 0 / 0.7956 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.2291, allocations: 7.938 kB / 0.7956 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.2291, allocations: 7.938 kB / 0.7956 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2291, allocations: 0 / 0.7956 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005355/0.2297, allocations: 382.8 kB / 0.7959 GB, free: 108 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.071e-05/0.2298, allocations: 112.8 kB / 0.796 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.2298, allocations: 15.94 kB / 0.7961 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.23, allocations: 11.89 kB / 0.7961 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.23, allocations: 15.98 kB / 0.7961 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.423e-06/0.2301, allocations: 4.062 kB / 0.7961 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002847/0.2303, allocations: 303.2 kB / 0.7964 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2303, allocations: 0 / 0.7964 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002784/0.2306, allocations: 71.84 kB / 0.7964 GB, free: 15.56 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0007739/0.2314, allocations: 0.9252 MB / 0.7973 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002976/0.2317, allocations: 142.4 kB / 0.7975 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.2317, allocations: 0 / 0.7975 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.2319, allocations: 79.91 kB / 0.7976 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005363/0.2324, allocations: 89.55 kB / 0.7976 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/0.2366, allocations: 3.649 MB / 0.8012 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.2369, allocations: 0.799 MB / 0.802 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001168/0.237, allocations: 38.94 kB / 0.802 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.2371, allocations: 115.4 kB / 0.8021 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.2372, allocations: 0 / 0.8021 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.2665, allocations: 7.496 MB / 0.8095 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/0.2668, allocations: 265.5 kB / 0.8097 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.089, allocations: 4 kB / 0.8097 GB, free: 2.031 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)