Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.34/1.34, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009833/0.0009833, allocations: 178.3 kB / 326.6 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.4 MB / 0.5777 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000773/0.0007733, allocations: 85.23 kB / 0.6823 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003625, allocations: 9.062 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1995, allocations: 106.4 MB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00273/0.2023, allocations: 2.602 MB / 0.9029 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002395/0.2047, allocations: 1.988 MB / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002862/0.205, allocations: 4 kB / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.2062, allocations: 426.1 kB / 0.9052 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.2065, allocations: 127.2 kB / 0.9054 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001184/0.2066, allocations: 43.91 kB / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004241/0.2071, allocations: 415.8 kB / 0.9058 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.2073, allocations: 115 kB / 0.9059 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.2075, allocations: 139.4 kB / 0.906 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.2077, allocations: 163.3 kB / 0.9062 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.211e-05/0.2078, allocations: 20 kB / 0.9062 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.2078, allocations: 16 kB / 0.9062 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.688e-05/0.2079, allocations: 75.67 kB / 0.9063 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.775e-05/0.208, allocations: 109.5 kB / 0.9064 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.2083, allocations: 434.7 kB / 0.9068 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2083, allocations: 0 / 0.9068 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2083, allocations: 0 / 0.9068 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.2083, allocations: 0 / 0.9068 GB, free: 57.5 MB / 0.6042 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.000817/0.2091, allocations: 0.6539 MB / 0.9075 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2092, allocations: 8.031 kB / 0.9075 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.819e-05/0.2092, allocations: 58.53 kB / 0.9075 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.949e-05/0.2093, allocations: 47.39 kB / 0.9076 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.2097, allocations: 361.1 kB / 0.9079 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.2098, allocations: 24.44 kB / 0.9079 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.2098, allocations: 16 kB / 0.908 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.2102, allocations: 207.3 kB / 0.9082 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.2102, allocations: 0 / 0.9082 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.2102, allocations: 11.98 kB / 0.9082 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2102, allocations: 8 kB / 0.9082 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003529/0.2106, allocations: 173.6 kB / 0.9083 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.2116, allocations: 0.874 MB / 0.9092 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.2119, allocations: 162.6 kB / 0.9094 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.2121, allocations: 116.8 kB / 0.9095 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.2121, allocations: 3.984 kB / 0.9095 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.2122, allocations: 34.56 kB / 0.9095 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.204e-06/0.2122, allocations: 7.984 kB / 0.9095 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005824/0.2128, allocations: 263.7 kB / 0.9098 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.2128, allocations: 51.41 kB / 0.9098 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/0.2132, allocations: 417.7 kB / 0.9102 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.2132, allocations: 33.7 kB / 0.9102 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.2133, allocations: 204.2 kB / 0.9104 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/0.2134, allocations: 67.03 kB / 0.9105 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/0.2134, allocations: 4 kB / 0.9105 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.876e-05/0.2135, allocations: 346.8 kB / 0.9108 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.2136, allocations: 67.86 kB / 0.9109 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.2137, allocations: 70.53 kB / 0.911 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.2139, allocations: 67.92 kB / 0.911 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2139, allocations: 0 / 0.911 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003477/0.2143, allocations: 217.1 kB / 0.9112 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2143, allocations: 4 kB / 0.9112 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2143, allocations: 0 / 0.9112 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2143, allocations: 4 kB / 0.9112 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.2146, allocations: 59.91 kB / 0.9113 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2146, allocations: 4 kB / 0.9113 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.2148, allocations: 23.83 kB / 0.9113 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.2148, allocations: 8 kB / 0.9113 GB, free: 52.64 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.2149, allocations: 165.8 kB / 0.9115 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.215, allocations: 35.53 kB / 0.9115 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.23e-05/0.2151, allocations: 39.59 kB / 0.9116 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2151, allocations: 4 kB / 0.9116 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.2151, allocations: 3.984 kB / 0.9116 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2151, allocations: 4 kB / 0.9116 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.2154, allocations: 381.2 kB / 0.9119 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2154, allocations: 0 / 0.9119 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.2157, allocations: 55.91 kB / 0.912 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.2157, allocations: 3.984 kB / 0.912 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.2157, allocations: 4 kB / 0.912 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.2157, allocations: 4 kB / 0.912 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2158, allocations: 4 kB / 0.912 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005194/0.2163, allocations: 392.8 kB / 0.9124 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.576e-05/0.2164, allocations: 120.6 kB / 0.9125 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.2164, allocations: 4 kB / 0.9125 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.2166, allocations: 15.98 kB / 0.9125 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.2166, allocations: 7.984 kB / 0.9125 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.2167, allocations: 4 kB / 0.9125 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000257/0.2169, allocations: 303.1 kB / 0.9128 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2169, allocations: 64 / 0.9128 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002761/0.2172, allocations: 75.84 kB / 0.9129 GB, free: 50.95 MB / 0.6042 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 (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.0007192/0.2179, allocations: 0.9371 MB / 0.9138 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003098/0.2182, allocations: 155.9 kB / 0.914 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2183, allocations: 0 / 0.914 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.2184, allocations: 87.78 kB / 0.914 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005505/0.219, allocations: 89.44 kB / 0.9141 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.2219, allocations: 2.209 MB / 0.9163 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.2221, allocations: 0.7914 MB / 0.9171 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001299/0.2223, allocations: 38.95 kB / 0.9171 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.2224, allocations: 116.8 kB / 0.9172 GB, free: 46.44 MB / 0.6042 GB Notification: Performance of SimCode: time 9.21e-07/0.2224, allocations: 0 / 0.9172 GB, free: 46.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.2392, allocations: 7.198 MB / 0.9242 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/0.2394, allocations: 266.3 kB / 0.9245 GB, free: 39.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/2.443, allocations: 0 / 0.9245 GB, free: 39.19 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)