Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.521/1.521, allocations: 288.4 MB / 303.6 MB, free: 8.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009226/0.0009226, allocations: 172.5 kB / 372.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.243/1.243, allocations: 205.4 MB / 0.631 GB, free: 9.871 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008253/0.0008254, allocations: 96.97 kB / 0.7444 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006712/0.0006713, allocations: 13.16 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1807, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002119/0.1828, allocations: 1.964 MB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.1841, allocations: 0.984 MB / 0.9831 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.1843, allocations: 11.94 kB / 0.9831 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.1845, allocations: 35.77 kB / 0.9831 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.1847, allocations: 63.47 kB / 0.9832 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.1851, allocations: 127.7 kB / 0.9833 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.1853, allocations: 266.8 kB / 0.9836 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1854, allocations: 32.34 kB / 0.9836 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.1856, allocations: 95.56 kB / 0.9837 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.1857, allocations: 107.5 kB / 0.9838 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.1857, allocations: 8 kB / 0.9838 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002409/0.186, allocations: 103.8 kB / 0.9839 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.731e-05/0.186, allocations: 43.78 kB / 0.9839 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.736e-05/0.1861, allocations: 129.2 kB / 0.9841 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.1864, allocations: 215.5 kB / 0.9843 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1864, allocations: 0 / 0.9843 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1864, allocations: 3.938 kB / 0.9843 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.1864, allocations: 0 / 0.9843 GB, free: 23.05 MB / 0.6198 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.0007991/0.1872, allocations: 0.5515 MB / 0.9848 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.645e-05/0.1873, allocations: 12.03 kB / 0.9848 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.286e-05/0.1873, allocations: 46.73 kB / 0.9849 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.1874, allocations: 32.55 kB / 0.9849 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.1878, allocations: 298.9 kB / 0.9852 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.1878, allocations: 12.61 kB / 0.9852 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.1878, allocations: 20.36 kB / 0.9852 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.1882, allocations: 210.3 kB / 0.9854 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1882, allocations: 3.938 kB / 0.9854 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.1882, allocations: 8 kB / 0.9854 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1882, allocations: 8 kB / 0.9854 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003171/0.1886, allocations: 115.8 kB / 0.9855 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007954/0.1894, allocations: 0.8722 MB / 0.9864 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.1898, allocations: 215.9 kB / 0.9866 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.19, allocations: 86.55 kB / 0.9867 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.19, allocations: 4 kB / 0.9867 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003588/0.1904, allocations: 217.8 kB / 0.9869 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 1.823e-06/0.1904, allocations: 0 / 0.9869 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.0007472/0.1911, allocations: 373.1 kB / 0.9872 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.1912, allocations: 118.7 kB / 0.9874 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.1914, allocations: 246.5 kB / 0.9876 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.1914, allocations: 37.7 kB / 0.9876 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.1915, allocations: 148.5 kB / 0.9878 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.1915, allocations: 59.2 kB / 0.9878 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.1915, allocations: 15.94 kB / 0.9878 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.685e-05/0.1916, allocations: 334.8 kB / 0.9882 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.1918, allocations: 88.75 kB / 0.9882 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.192, allocations: 259.2 kB / 0.9885 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004384/0.1925, allocations: 400.7 kB / 0.9889 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1925, allocations: 4 kB / 0.9889 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006069/0.1931, allocations: 415.1 kB / 0.9893 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.1931, allocations: 33.7 kB / 0.9893 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.1931, allocations: 8 kB / 0.9893 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1932, allocations: 8 kB / 0.9893 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.1934, allocations: 71.83 kB / 0.9894 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.1934, allocations: 15.88 kB / 0.9894 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.1936, allocations: 55.73 kB / 0.9895 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.1936, allocations: 16 kB / 0.9895 GB, free: 17.21 MB / 0.6198 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.0001044/0.1937, allocations: 165.5 kB / 0.9896 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.1938, allocations: 27.66 kB / 0.9897 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.333e-05/0.1938, allocations: 25.7 kB / 0.9897 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1938, allocations: 7.984 kB / 0.9897 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.1939, allocations: 7.938 kB / 0.9897 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.1939, allocations: 0 / 0.9897 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.1941, allocations: 265.4 kB / 0.9899 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1941, allocations: 0 / 0.9899 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.1942, allocations: 28.36 kB / 0.99 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1942, allocations: 0 / 0.99 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.1942, allocations: 7.984 kB / 0.99 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1942, allocations: 4 kB / 0.99 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1942, allocations: 11.88 kB / 0.99 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007001/0.1949, allocations: 433.2 kB / 0.9904 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.195, allocations: 104.8 kB / 0.9905 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.195, allocations: 8 kB / 0.9905 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.1952, allocations: 27.97 kB / 0.9905 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-05/0.1953, allocations: 23.91 kB / 0.9906 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.1953, allocations: 12.23 kB / 0.9906 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.666e-05/0.1954, allocations: 166 kB / 0.9907 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1954, allocations: 0 / 0.9907 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003403/0.1958, allocations: 83.84 kB / 0.9908 GB, free: 15.73 MB / 0.6198 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.00104/0.1968, allocations: 1.038 MB / 0.9918 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004976/0.1973, allocations: 308.5 kB / 0.9921 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1973, allocations: 0 / 0.9921 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.1976, allocations: 115.9 kB / 0.9922 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.1979, allocations: 68.58 kB / 0.9923 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.2002, allocations: 1.799 MB / 0.9941 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.2003, allocations: 0.7485 MB / 0.9948 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.2004, allocations: 46.89 kB / 0.9948 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.101e-05/0.2005, allocations: 71.41 kB / 0.9949 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.2005, allocations: 8 kB / 0.9949 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5529/0.7535, allocations: 6.069 MB / 1.001 GB, free: 5.531 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.7537, allocations: 237.3 kB / 1.001 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/2.99, allocations: 4 kB / 1.001 GB, free: 5.289 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)