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.356/1.356, allocations: 252 MB / 267 MB, free: 10.96 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.0009827/0.0009828, allocations: 186.4 kB / 326.6 MB, free: 2.207 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.479/1.479, allocations: 205.4 MB / 0.5777 GB, free: 20.56 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.0007515/0.0007516, allocations: 85.19 kB / 0.6823 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003068, allocations: 11 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1701, allocations: 106.3 MB / 0.9003 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001514/0.1717, allocations: 1.182 MB / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1727, allocations: 0.8776 MB / 0.9023 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.617e-05/0.1728, allocations: 8 kB / 0.9023 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.173, allocations: 35.81 kB / 0.9024 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.538e-05/0.1731, allocations: 15.86 kB / 0.9024 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.1735, allocations: 168.4 kB / 0.9025 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.519e-05/0.1736, allocations: 47.72 kB / 0.9026 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.1736, allocations: 7.938 kB / 0.9026 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.662e-05/0.1737, allocations: 23.81 kB / 0.9026 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.937e-05/0.1737, allocations: 7.938 kB / 0.9026 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.1737, allocations: 4 kB / 0.9026 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.174, allocations: 151.8 kB / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.174, allocations: 4 kB / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.174, allocations: 33.64 kB / 0.9028 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.1741, allocations: 80.09 kB / 0.9029 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1742, allocations: 0 / 0.9029 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.755e-06/0.1742, allocations: 4 kB / 0.9029 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.1742, allocations: 0 / 0.9029 GB, free: 61.51 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.0003147/0.1745, allocations: 359.1 kB / 0.9032 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1745, allocations: 8.031 kB / 0.9032 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.496e-05/0.1746, allocations: 105.8 kB / 0.9033 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.846e-05/0.1747, allocations: 83.23 kB / 0.9034 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.1748, allocations: 270.2 kB / 0.9037 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.1749, allocations: 150.6 kB / 0.9038 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.1749, allocations: 150.6 kB / 0.904 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.731e-05/0.175, allocations: 108.9 kB / 0.9041 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.175, allocations: 75.28 kB / 0.9041 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.175, allocations: 150.6 kB / 0.9043 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.1751, allocations: 158.6 kB / 0.9044 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.289e-05/0.1751, allocations: 154.6 kB / 0.9046 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.1753, allocations: 465.9 kB / 0.905 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.742e-05/0.1754, allocations: 173.1 kB / 0.9052 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.226e-05/0.1754, allocations: 84.14 kB / 0.9053 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.1755, allocations: 75.28 kB / 0.9053 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.651e-05/0.1755, allocations: 105.8 kB / 0.9054 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1755, allocations: 0 / 0.9054 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.683e-05/0.1756, allocations: 33.61 kB / 0.9055 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.1756, allocations: 130.7 kB / 0.9056 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.1758, allocations: 140.7 kB / 0.9057 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.903e-06/0.1758, allocations: 25.7 kB / 0.9058 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.1758, allocations: 88.14 kB / 0.9058 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.1758, allocations: 3.938 kB / 0.9058 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.1758, allocations: 3.938 kB / 0.9059 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.835e-05/0.1759, allocations: 322.8 kB / 0.9062 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.1759, allocations: 4 kB / 0.9062 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.147e-05/0.1759, allocations: 4 kB / 0.9062 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.412e-05/0.176, allocations: 4 kB / 0.9062 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.176, allocations: 4.031 kB / 0.9062 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001176/0.1761, allocations: 49.59 kB / 0.9062 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1761, allocations: 4 kB / 0.9062 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.1761, allocations: 7.938 kB / 0.9062 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1762, allocations: 0 / 0.9062 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.1762, allocations: 0 / 0.9062 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1762, allocations: 0 / 0.9062 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.1762, allocations: 4 kB / 0.9062 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.1762, allocations: 0 / 0.9062 GB, free: 57.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.028e-05/0.1763, allocations: 193.1 kB / 0.9064 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.1763, allocations: 112.8 kB / 0.9065 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.1764, allocations: 112.8 kB / 0.9066 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/0.1764, allocations: 180.2 kB / 0.9068 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.11e-05/0.1764, allocations: 184.3 kB / 0.907 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/0.1765, allocations: 176.3 kB / 0.9072 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.1766, allocations: 425.1 kB / 0.9076 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/0.1767, allocations: 101 kB / 0.9077 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/0.1767, allocations: 104.9 kB / 0.9078 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.154e-05/0.1767, allocations: 184.3 kB / 0.9079 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.1768, allocations: 176.3 kB / 0.9081 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.984e-05/0.1768, allocations: 188.4 kB / 0.9083 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.948e-05/0.1768, allocations: 180.3 kB / 0.9085 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.211e-05/0.1769, allocations: 315.6 kB / 0.9088 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.177, allocations: 189.9 kB / 0.9089 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.177, allocations: 180.3 kB / 0.9091 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.619e-05/0.1771, allocations: 105 kB / 0.9092 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.1771, allocations: 180.2 kB / 0.9094 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.1772, allocations: 101 kB / 0.9095 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.74e-05/0.1772, allocations: 109.8 kB / 0.9096 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1772, allocations: 0 / 0.9096 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000284/0.1775, allocations: 31.94 kB / 0.9096 GB, free: 54.16 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 (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.0003719/0.1779, allocations: 0.8555 MB / 0.9104 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.47e-05/0.178, allocations: 37.7 kB / 0.9105 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.178, allocations: 0 / 0.9105 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.785e-06/0.178, allocations: 3.984 kB / 0.9105 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.1784, allocations: 0.5264 MB / 0.911 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006215/0.179, allocations: 0.5681 MB / 0.9116 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.1792, allocations: 0.6848 MB / 0.9122 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.979e-05/0.1792, allocations: 4.031 kB / 0.9122 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.1792, allocations: 15.44 kB / 0.9122 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.1792, allocations: 0 / 0.9122 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01131/0.1905, allocations: 2.483 MB / 0.9147 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001374/0.1907, allocations: 233 kB / 0.9149 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/1.712, allocations: 0 / 0.9149 GB, free: 48.85 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)