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.SingleUTubeBoundaryCondition.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.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",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.354/1.354, 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.0009946/0.0009946, allocations: 184.7 kB / 326.6 MB, free: 2.215 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.52/1.52, allocations: 205.4 MB / 0.5777 GB, free: 20.52 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.0007376/0.0007376, allocations: 98.42 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003319, allocations: 8.875 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1759, allocations: 106.3 MB / 0.9003 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002253/0.1782, allocations: 1.963 MB / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.1795, allocations: 0.9992 MB / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.1797, allocations: 7.938 kB / 0.9032 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.1799, allocations: 39.75 kB / 0.9033 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.1801, allocations: 59.48 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.1805, allocations: 141.7 kB / 0.9034 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.1807, allocations: 254.8 kB / 0.9037 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1808, allocations: 32.38 kB / 0.9037 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.181, allocations: 99.58 kB / 0.9038 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.1811, allocations: 99.53 kB / 0.9039 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.1812, allocations: 12 kB / 0.9039 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002413/0.1814, allocations: 99.84 kB / 0.904 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.53e-05/0.1815, allocations: 39.83 kB / 0.9041 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.64e-05/0.1815, allocations: 69.58 kB / 0.9041 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.1817, allocations: 219.7 kB / 0.9043 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1818, allocations: 0 / 0.9043 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1818, allocations: 3.938 kB / 0.9043 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.1818, allocations: 0 / 0.9043 GB, free: 60.16 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0007791/0.1826, allocations: 0.5553 MB / 0.9049 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1826, allocations: 8.031 kB / 0.9049 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.927e-05/0.1827, allocations: 46.55 kB / 0.9049 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.1827, allocations: 27.67 kB / 0.905 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.1831, allocations: 285.8 kB / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.1831, allocations: 20.22 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.1832, allocations: 23.98 kB / 0.9053 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.1835, allocations: 212.3 kB / 0.9055 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1835, allocations: 0 / 0.9055 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.1836, allocations: 0 / 0.9055 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1836, allocations: 4 kB / 0.9055 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.1839, allocations: 127.8 kB / 0.9056 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007593/0.1847, allocations: 0.8721 MB / 0.9065 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004406/0.1851, allocations: 211.9 kB / 0.9067 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.1853, allocations: 94.48 kB / 0.9067 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.1853, allocations: 8 kB / 0.9068 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003723/0.1857, allocations: 207.7 kB / 0.9069 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.1857, allocations: 4 kB / 0.907 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.0007777/0.1865, allocations: 373.4 kB / 0.9073 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.1866, allocations: 114.8 kB / 0.9074 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.1867, allocations: 238.5 kB / 0.9076 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.1868, allocations: 41.7 kB / 0.9077 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.1868, allocations: 144.5 kB / 0.9078 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.1869, allocations: 63.25 kB / 0.9079 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.131e-05/0.1869, allocations: 4 kB / 0.9079 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.984e-05/0.187, allocations: 342.8 kB / 0.9082 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.1872, allocations: 80.77 kB / 0.9083 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.1874, allocations: 271.8 kB / 0.9086 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.1877, allocations: 137.6 kB / 0.9087 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1877, allocations: 384 / 0.9087 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006207/0.1883, allocations: 423 kB / 0.9091 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.1884, allocations: 33.7 kB / 0.9091 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.1884, allocations: 8 kB / 0.9091 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1884, allocations: 12.44 kB / 0.9091 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.1886, allocations: 75.84 kB / 0.9092 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.1886, allocations: 12.06 kB / 0.9092 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.1889, allocations: 51.61 kB / 0.9093 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.1889, allocations: 19.98 kB / 0.9093 GB, free: 54.66 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.TBouSte.QAve_flow,TBouSte.QAve_flow,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.iSam,TBouSte.iSam,$whenCondition4,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.iSam,TBouCon.iSam,$whenCondition3,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.iSam,TBouPul.iSam,$whenCondition1,$whenCondition2,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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.0001069/0.189, allocations: 160 kB / 0.9094 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.189, allocations: 39.56 kB / 0.9095 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.619e-05/0.1891, allocations: 21.66 kB / 0.9095 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1891, allocations: 4 kB / 0.9095 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1891, allocations: 0 / 0.9095 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1891, allocations: 7.969 kB / 0.9095 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.1893, allocations: 265.5 kB / 0.9098 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1893, allocations: 0 / 0.9098 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.1895, allocations: 31.92 kB / 0.9098 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1895, allocations: 4 kB / 0.9098 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.1895, allocations: 11.94 kB / 0.9098 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1895, allocations: 0 / 0.9098 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1895, allocations: 0 / 0.9098 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007273/0.1903, allocations: 441.5 kB / 0.9102 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.1903, allocations: 104.8 kB / 0.9103 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.1904, allocations: 12.03 kB / 0.9103 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.1905, allocations: 23.94 kB / 0.9104 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.1906, allocations: 19.97 kB / 0.9104 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.1906, allocations: 11.98 kB / 0.9104 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001026/0.1907, allocations: 166 kB / 0.9106 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1907, allocations: 0 / 0.9106 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003505/0.1911, allocations: 87.98 kB / 0.9106 GB, free: 53.18 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001085/0.1922, allocations: 1.033 MB / 0.9116 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005203/0.1927, allocations: 303.2 kB / 0.9119 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1927, allocations: 0 / 0.9119 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.193, allocations: 113.2 kB / 0.912 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.1933, allocations: 64.47 kB / 0.9121 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.1957, allocations: 1.782 MB / 0.9138 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.1958, allocations: 0.7446 MB / 0.9146 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001413/0.196, allocations: 55.06 kB / 0.9146 GB, free: 48.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.354e-05/0.1961, allocations: 71.41 kB / 0.9147 GB, free: 48.83 MB / 0.6042 GB Notification: Performance of SimCode: time 7.31e-07/0.1961, allocations: 0 / 0.9147 GB, free: 48.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/0.2119, allocations: 6.039 MB / 0.9206 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001324/0.2121, allocations: 238.3 kB / 0.9208 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.249, allocations: 2.344 kB / 0.9208 GB, free: 42.82 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)