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.293/1.293, allocations: 251.5 MB / 266.7 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.0009059/0.0009059, allocations: 184.4 kB / 325.9 MB, free: 2.648 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.361/1.361, allocations: 205 MB / 0.576 GB, free: 20.96 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.0006967/0.0006968, allocations: 86.31 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003013/0.0003013, allocations: 13.5 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1594, allocations: 105.4 MB / 0.8962 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001207/0.1606, allocations: 1.205 MB / 0.8974 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009678/0.1616, allocations: 0.9713 MB / 0.8983 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.1617, allocations: 4 kB / 0.8983 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.1618, allocations: 43.75 kB / 0.8984 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 1.96e-05/0.1619, allocations: 15.92 kB / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.1622, allocations: 168.5 kB / 0.8986 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.256e-05/0.1623, allocations: 47.69 kB / 0.8986 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.357e-05/0.1623, allocations: 8.281 kB / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.814e-05/0.1624, allocations: 19.86 kB / 0.8986 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.452e-05/0.1624, allocations: 15.94 kB / 0.8987 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.1624, allocations: 0 / 0.8987 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002195/0.1627, allocations: 147.8 kB / 0.8988 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.1627, allocations: 7.922 kB / 0.8988 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.1627, allocations: 23.86 kB / 0.8988 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.1628, allocations: 119.6 kB / 0.8989 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1629, allocations: 0 / 0.8989 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1629, allocations: 0 / 0.8989 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.1629, allocations: 4 kB / 0.8989 GB, free: 65.22 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.0002206/0.1631, allocations: 367.3 kB / 0.8993 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1631, allocations: 12.03 kB / 0.8993 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.429e-05/0.1632, allocations: 110 kB / 0.8994 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.1632, allocations: 80.22 kB / 0.8995 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1633, allocations: 259.5 kB / 0.8997 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.1634, allocations: 154.9 kB / 0.8999 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1634, allocations: 158.9 kB / 0.9 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.557e-05/0.1634, allocations: 105.1 kB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1635, allocations: 75.28 kB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.1635, allocations: 150.6 kB / 0.9003 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.1635, allocations: 150.6 kB / 0.9005 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.004e-05/0.1635, allocations: 158.5 kB / 0.9006 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.1637, allocations: 465.9 kB / 0.9011 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.034e-05/0.1637, allocations: 173.1 kB / 0.9012 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.1638, allocations: 80.14 kB / 0.9013 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.1638, allocations: 83.28 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.1638, allocations: 109.8 kB / 0.9015 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.1638, allocations: 0 / 0.9015 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 5.406e-05/0.1639, allocations: 33.64 kB / 0.9015 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.1639, allocations: 126.7 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.923e-05/0.164, allocations: 140.2 kB / 0.9018 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.061e-06/0.164, allocations: 25.7 kB / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.708e-05/0.164, allocations: 96.12 kB / 0.9019 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.164, allocations: 0 / 0.9019 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/0.1641, allocations: 13.72 kB / 0.9019 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.071e-05/0.1641, allocations: 318.8 kB / 0.9022 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.1641, allocations: 4 kB / 0.9022 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.508e-06/0.1641, allocations: 4 kB / 0.9022 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.571e-05/0.1642, allocations: 16.8 kB / 0.9023 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1642, allocations: 0 / 0.9023 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.972e-05/0.1643, allocations: 57.53 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.1643, allocations: 12 kB / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.1643, allocations: 0 / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1643, allocations: 0 / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.293e-06/0.1643, allocations: 4 kB / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1643, allocations: 0 / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.1644, allocations: 0 / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.1644, allocations: 0 / 0.9023 GB, free: 61.51 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.188e-05/0.1644, allocations: 185.1 kB / 0.9025 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.1645, allocations: 112.8 kB / 0.9026 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.364e-05/0.1645, allocations: 120.8 kB / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/0.1645, allocations: 180.3 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.296e-05/0.1645, allocations: 180.2 kB / 0.9031 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-05/0.1646, allocations: 180.3 kB / 0.9032 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.1647, allocations: 417.1 kB / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.1647, allocations: 112.9 kB / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-05/0.1647, allocations: 101.1 kB / 0.9038 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.041e-05/0.1648, allocations: 180.2 kB / 0.904 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.1648, allocations: 180.3 kB / 0.9042 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.082e-05/0.1648, allocations: 188.2 kB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.887e-05/0.1648, allocations: 176.3 kB / 0.9045 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.589e-05/0.1649, allocations: 307.8 kB / 0.9048 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.1649, allocations: 193.9 kB / 0.905 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.165, allocations: 180.2 kB / 0.9052 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.081e-05/0.165, allocations: 112.9 kB / 0.9053 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.165, allocations: 184.2 kB / 0.9055 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.1651, allocations: 105 kB / 0.9056 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.407e-05/0.1651, allocations: 103.2 kB / 0.9057 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1651, allocations: 0 / 0.9057 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002391/0.1653, allocations: 28 kB / 0.9057 GB, free: 57.83 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.0002999/0.1657, allocations: 0.8631 MB / 0.9065 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.883e-05/0.1657, allocations: 37.69 kB / 0.9066 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1657, allocations: 4 kB / 0.9066 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.1657, allocations: 0 / 0.9066 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.1661, allocations: 0.5315 MB / 0.9071 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00072/0.1668, allocations: 1.457 MB / 0.9085 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.861e-05/0.1669, allocations: 0.6848 MB / 0.9092 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.797e-05/0.1669, allocations: 8.312 kB / 0.9092 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.91e-05/0.167, allocations: 19.44 kB / 0.9092 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.167, allocations: 0 / 0.9092 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3293/0.4963, allocations: 2.511 MB / 0.9117 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.4965, allocations: 252.1 kB / 0.9119 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.165, allocations: 0 / 0.9119 GB, free: 51.53 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)