Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 194.7 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.6/1.6, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 69.08 kB / 0.6709 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1756, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.00318/0.1788, allocations: 2.399 MB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1801, allocations: 1.034 MB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.376e-05/0.1802, allocations: 7.938 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.1804, allocations: 39.75 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.1806, allocations: 83.39 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.1809, allocations: 134.8 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.1811, allocations: 270.8 kB / 0.7867 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.109e-05/0.1812, allocations: 36.33 kB / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.1813, allocations: 107.5 kB / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1814, allocations: 111.4 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.1815, allocations: 12 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002224/0.1817, allocations: 99.91 kB / 0.787 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.1817, allocations: 39.83 kB / 0.7871 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.1819, allocations: 115.3 kB / 0.7872 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.1822, allocations: 303.1 kB / 0.7875 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1822, allocations: 0 / 0.7875 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.11e-07/0.1822, allocations: 0 / 0.7875 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.1822, allocations: 0 / 0.7875 GB, free: 9.121 MB / 0.6075 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.0008299/0.183, allocations: 0.5942 MB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.1831, allocations: 8.031 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.187e-05/0.1831, allocations: 46.73 kB / 0.7881 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.1832, allocations: 32.66 kB / 0.7881 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.1835, allocations: 287 kB / 0.7884 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1836, allocations: 20.53 kB / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.1836, allocations: 16.38 kB / 0.7884 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.184, allocations: 213.5 kB / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.184, allocations: 3.906 kB / 0.7886 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.184, allocations: 4 kB / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.184, allocations: 4 kB / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.1844, allocations: 111.8 kB / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008464/0.1852, allocations: 0.8683 MB / 0.7896 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004478/0.1857, allocations: 203.9 kB / 0.7898 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.1859, allocations: 78.55 kB / 0.7899 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.1859, allocations: 7.938 kB / 0.7899 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003832/0.1863, allocations: 200.9 kB / 0.7901 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 2.966e-06/0.1863, allocations: 0 / 0.7901 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0007951/0.1871, allocations: 353 kB / 0.7904 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.1872, allocations: 122.7 kB / 0.7905 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1874, allocations: 246.5 kB / 0.7908 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1874, allocations: 41.7 kB / 0.7908 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/0.1875, allocations: 140.6 kB / 0.7909 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.1876, allocations: 63.19 kB / 0.791 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.668e-05/0.1877, allocations: 77.97 kB / 0.7911 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1878, allocations: 342.8 kB / 0.7914 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.188, allocations: 72.77 kB / 0.7915 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.1883, allocations: 270.9 kB / 0.7917 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.1888, allocations: 376.5 kB / 0.7921 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1888, allocations: 0 / 0.7921 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006545/0.1894, allocations: 399.3 kB / 0.7925 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.1895, allocations: 37.69 kB / 0.7925 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1895, allocations: 4 kB / 0.7925 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1895, allocations: 12.25 kB / 0.7925 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.1897, allocations: 63.84 kB / 0.7926 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.1897, allocations: 19.95 kB / 0.7926 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.19, allocations: 44.02 kB / 0.7926 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.19, allocations: 32.19 kB / 0.7927 GB, free: 3.277 MB / 0.6075 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 (TBouSte.QAve_flow,$PRE.TBouSte.QAve_flow,TBouSte.UOld,$PRE.TBouSte.UOld,TBouSte.port.T,$PRE.TBouSte.port.T,TBouSte.iSam,$PRE.TBouSte.iSam,$whenCondition4,TBouCon.QAve_flow,$PRE.TBouCon.QAve_flow,TBouCon.UOld,$PRE.TBouCon.UOld,TBouCon.port.T,$PRE.TBouCon.port.T,TBouCon.iSam,$PRE.TBouCon.iSam,$whenCondition3,TBouPul.QAve_flow,$PRE.TBouPul.QAve_flow,TBouPul.UOld,$PRE.TBouPul.UOld,TBouPul.port.T,$PRE.TBouPul.port.T,TBouPul.iSam,$PRE.TBouPul.iSam,$whenCondition1,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.1901, allocations: 157 kB / 0.7928 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.1902, allocations: 27.7 kB / 0.7928 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.902e-05/0.1902, allocations: 33.64 kB / 0.7929 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1902, allocations: 0 / 0.7929 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1903, allocations: 11.88 kB / 0.7929 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1903, allocations: 3.984 kB / 0.7929 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.1905, allocations: 265.4 kB / 0.7931 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1905, allocations: 0 / 0.7931 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.1906, allocations: 23.97 kB / 0.7932 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1907, allocations: 0 / 0.7932 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.1907, allocations: 7.984 kB / 0.7932 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1907, allocations: 4 kB / 0.7932 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1907, allocations: 3.938 kB / 0.7932 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007809/0.1915, allocations: 414.2 kB / 0.7936 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.1915, allocations: 96.86 kB / 0.7937 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.1916, allocations: 8 kB / 0.7937 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.1918, allocations: 19.97 kB / 0.7937 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.1918, allocations: 31.91 kB / 0.7937 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.1919, allocations: 8 kB / 0.7937 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000123/0.192, allocations: 166 kB / 0.7939 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.192, allocations: 0 / 0.7939 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003512/0.1923, allocations: 83.92 kB / 0.794 GB, free: 1.84 MB / 0.6075 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 (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.001199/0.1935, allocations: 1.021 MB / 0.795 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005214/0.1941, allocations: 284.2 kB / 0.7952 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1941, allocations: 4.375 kB / 0.7952 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.1943, allocations: 111.8 kB / 0.7953 GB, free: 396 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.1947, allocations: 59.27 kB / 0.7954 GB, free: 340 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003466/0.1982, allocations: 3.072 MB / 0.7984 GB, free: 13 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.1984, allocations: 0.7404 MB / 0.7991 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001365/0.1986, allocations: 50.95 kB / 0.7992 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.178e-05/0.1987, allocations: 75.41 kB / 0.7992 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of SimCode: time 1.473e-06/0.1987, allocations: 0 / 0.7992 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.399/1.598, allocations: 6.141 MB / 0.8052 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/1.598, allocations: 251.6 kB / 0.8055 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.121/3.719, allocations: 0.625 kB / 0.8055 GB, free: 5.941 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)