Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",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.348/1.348, allocations: 252 MB / 267.3 MB, free: 10.86 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.001032/0.001032, allocations: 179.3 kB / 327 MB, free: 2.094 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.622/1.622, allocations: 205.4 MB / 0.578 GB, free: 20.17 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.0007073/0.0007073, allocations: 74.39 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003633, allocations: 12.25 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2105, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001612/0.2121, allocations: 1.201 MB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.2134, allocations: 0.9549 MB / 0.903 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.537e-05/0.2135, allocations: 3.938 kB / 0.903 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.2137, allocations: 47.81 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.57e-05/0.2138, allocations: 15.86 kB / 0.9031 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/0.2143, allocations: 179.9 kB / 0.9033 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.322e-05/0.2144, allocations: 43.69 kB / 0.9033 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.2144, allocations: 3.984 kB / 0.9033 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.264e-05/0.2145, allocations: 15.94 kB / 0.9033 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.101e-05/0.2145, allocations: 15.88 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.2145, allocations: 0 / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002954/0.2148, allocations: 147.8 kB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.2149, allocations: 11.98 kB / 0.9035 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.2149, allocations: 41.58 kB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.2151, allocations: 123.9 kB / 0.9037 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2151, allocations: 0 / 0.9037 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2151, allocations: 0 / 0.9037 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2151, allocations: 4 kB / 0.9037 GB, free: 60.55 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002622/0.2154, allocations: 359.3 kB / 0.904 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.2154, allocations: 8.031 kB / 0.904 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.266e-05/0.2155, allocations: 106 kB / 0.9041 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.2155, allocations: 88.22 kB / 0.9042 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.2157, allocations: 267.4 kB / 0.9044 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.2157, allocations: 150.9 kB / 0.9046 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.2157, allocations: 150.9 kB / 0.9047 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.574e-05/0.2158, allocations: 109 kB / 0.9048 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2158, allocations: 75.28 kB / 0.9049 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.2158, allocations: 158.6 kB / 0.9051 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/0.2159, allocations: 150.6 kB / 0.9052 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.114e-05/0.2159, allocations: 154.6 kB / 0.9054 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.2161, allocations: 457.9 kB / 0.9058 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.68e-05/0.2162, allocations: 181.1 kB / 0.906 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/0.2162, allocations: 80.14 kB / 0.906 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.2162, allocations: 75.28 kB / 0.9061 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.2162, allocations: 109.8 kB / 0.9062 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.2162, allocations: 0 / 0.9062 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.435e-05/0.2163, allocations: 29.7 kB / 0.9062 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.2163, allocations: 134.7 kB / 0.9064 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2165, allocations: 133.7 kB / 0.9065 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.2165, allocations: 25.7 kB / 0.9065 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.2165, allocations: 92.12 kB / 0.9066 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-06/0.2165, allocations: 3.938 kB / 0.9066 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.2165, allocations: 7.875 kB / 0.9066 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.719e-05/0.2166, allocations: 322.8 kB / 0.9069 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.2166, allocations: 0 / 0.9069 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.116e-05/0.2166, allocations: 8 kB / 0.9069 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.941e-05/0.2167, allocations: 12.86 kB / 0.907 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2167, allocations: 0 / 0.907 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001048/0.2168, allocations: 57.53 kB / 0.907 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2168, allocations: 6.5 kB / 0.907 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.2168, allocations: 0 / 0.907 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2168, allocations: 0 / 0.907 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.625e-06/0.2168, allocations: 8 kB / 0.907 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2168, allocations: 0 / 0.907 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.2169, allocations: 3.938 kB / 0.907 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.2169, allocations: 64 / 0.907 GB, free: 56.86 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.715e-05/0.217, allocations: 189.1 kB / 0.9072 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.217, allocations: 112.9 kB / 0.9073 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.217, allocations: 116.8 kB / 0.9074 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/0.2171, allocations: 180.2 kB / 0.9076 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.659e-05/0.2171, allocations: 176.3 kB / 0.9078 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.612e-05/0.2171, allocations: 188.2 kB / 0.9079 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.2173, allocations: 413.2 kB / 0.9083 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.2173, allocations: 109.1 kB / 0.9084 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.414e-05/0.2173, allocations: 104.9 kB / 0.9085 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.256e-05/0.2173, allocations: 180.3 kB / 0.9087 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.2174, allocations: 184.2 kB / 0.9089 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-05/0.2174, allocations: 184.2 kB / 0.9091 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.467e-05/0.2174, allocations: 180.3 kB / 0.9092 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.545e-05/0.2175, allocations: 299.8 kB / 0.9095 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.2176, allocations: 197.9 kB / 0.9097 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.2176, allocations: 184.3 kB / 0.9099 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.717e-05/0.2177, allocations: 105 kB / 0.91 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.2177, allocations: 180.2 kB / 0.9102 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.2177, allocations: 105 kB / 0.9103 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.332e-05/0.2178, allocations: 103.2 kB / 0.9104 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2178, allocations: 0 / 0.9104 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002598/0.218, allocations: 31.94 kB / 0.9104 GB, free: 53.19 MB / 0.6042 GB 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 (0): * Single equations (assignments): 0 * 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.0004123/0.2185, allocations: 0.8671 MB / 0.9112 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.233e-05/0.2185, allocations: 29.7 kB / 0.9113 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2186, allocations: 4 kB / 0.9113 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.2186, allocations: 8 kB / 0.9113 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.219, allocations: 0.5322 MB / 0.9118 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008748/0.2198, allocations: 1.473 MB / 0.9132 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.22, allocations: 0.6809 MB / 0.9139 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.457e-05/0.22, allocations: 12.36 kB / 0.9139 GB, free: 49.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.22, allocations: 19.38 kB / 0.9139 GB, free: 49.42 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.22, allocations: 0 / 0.9139 GB, free: 49.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/0.2328, allocations: 2.508 MB / 0.9164 GB, free: 47.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/0.233, allocations: 248.9 kB / 0.9166 GB, free: 46.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.063, allocations: 0 / 0.9166 GB, free: 46.87 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)