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.001187/0.001187, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001166/0.001166, allocations: 189.6 kB / 16.25 MB, free: 6.625 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.21/1.21, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.538/1.538, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001204/0.001204, allocations: 67.31 kB / 0.6711 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1755, allocations: 114.6 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.003292/0.1788, allocations: 2.383 MB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.1801, allocations: 1.03 MB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.079e-05/0.1802, allocations: 11.94 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.1804, allocations: 47.75 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.1805, allocations: 63.42 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.1809, allocations: 147.7 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000243/0.1811, allocations: 298.8 kB / 0.7869 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.332e-05/0.1812, allocations: 36.27 kB / 0.7869 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.1814, allocations: 107.6 kB / 0.787 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1815, allocations: 111.5 kB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.1815, allocations: 16 kB / 0.7871 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.1817, allocations: 123.8 kB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.1818, allocations: 47.83 kB / 0.7873 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.889e-05/0.1819, allocations: 119.4 kB / 0.7874 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.1822, allocations: 307 kB / 0.7877 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1822, allocations: 4 kB / 0.7877 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1822, allocations: 0 / 0.7877 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.1822, allocations: 0 / 0.7877 GB, free: 8.918 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.0008511/0.1831, allocations: 0.5942 MB / 0.7883 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.1831, allocations: 12.03 kB / 0.7883 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.1832, allocations: 46.72 kB / 0.7883 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.1832, allocations: 24.66 kB / 0.7884 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.1836, allocations: 287 kB / 0.7886 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.1836, allocations: 20.59 kB / 0.7886 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.1837, allocations: 20.38 kB / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.184, allocations: 204.4 kB / 0.7889 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1841, allocations: 11.84 kB / 0.7889 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.1841, allocations: 4 kB / 0.7889 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1841, allocations: 4 kB / 0.7889 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.1844, allocations: 103.8 kB / 0.789 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008475/0.1853, allocations: 0.876 MB / 0.7898 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/0.1857, allocations: 191.9 kB / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.1859, allocations: 82.73 kB / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.1859, allocations: 7.984 kB / 0.7901 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003733/0.1863, allocations: 200.8 kB / 0.7903 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.533e-06/0.1863, allocations: 7.938 kB / 0.7903 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.000772/0.1871, allocations: 353 kB / 0.7906 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.1872, allocations: 122.8 kB / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.1874, allocations: 246.5 kB / 0.791 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.1874, allocations: 33.7 kB / 0.791 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.768e-05/0.1875, allocations: 148.5 kB / 0.7912 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.1875, allocations: 59.2 kB / 0.7912 GB, free: 5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.543e-05/0.1876, allocations: 77.97 kB / 0.7913 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1877, allocations: 338.8 kB / 0.7916 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.188, allocations: 84.75 kB / 0.7917 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.1882, allocations: 251 kB / 0.7919 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004848/0.1887, allocations: 388.7 kB / 0.7923 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1887, allocations: 0 / 0.7923 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006444/0.1894, allocations: 406.6 kB / 0.7927 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.1894, allocations: 33.7 kB / 0.7927 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1894, allocations: 4 kB / 0.7927 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1895, allocations: 8.625 kB / 0.7927 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.1897, allocations: 75.83 kB / 0.7928 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.1897, allocations: 16.27 kB / 0.7928 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.1899, allocations: 39.64 kB / 0.7929 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.1899, allocations: 20 kB / 0.7929 GB, free: 3.086 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.0001313/0.1901, allocations: 172.5 kB / 0.7931 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.1901, allocations: 23.72 kB / 0.7931 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/0.1902, allocations: 25.7 kB / 0.7931 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1902, allocations: 7.938 kB / 0.7931 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1902, allocations: 3.938 kB / 0.7931 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.1902, allocations: 4 kB / 0.7931 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.1904, allocations: 265.4 kB / 0.7934 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1905, allocations: 0 / 0.7934 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.1906, allocations: 15.98 kB / 0.7934 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1906, allocations: 4 kB / 0.7934 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.1906, allocations: 11.98 kB / 0.7934 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1906, allocations: 0 / 0.7934 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/0.1906, allocations: 11.94 kB / 0.7934 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007371/0.1914, allocations: 414.6 kB / 0.7938 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.1914, allocations: 96.83 kB / 0.7939 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.1915, allocations: 19.97 kB / 0.7939 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.1916, allocations: 11.98 kB / 0.7939 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.1917, allocations: 27.91 kB / 0.794 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.1917, allocations: 15.98 kB / 0.794 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001285/0.1919, allocations: 166 kB / 0.7941 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1919, allocations: 0 / 0.7941 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003372/0.1922, allocations: 83.92 kB / 0.7942 GB, free: 1.633 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.001153/0.1934, allocations: 1.012 MB / 0.7952 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005203/0.1939, allocations: 315.8 kB / 0.7955 GB, free: 280 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1939, allocations: 0 / 0.7955 GB, free: 280 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.1941, allocations: 99.89 kB / 0.7956 GB, free: 180 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.1945, allocations: 73.33 kB / 0.7957 GB, free: 108 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.1978, allocations: 3.064 MB / 0.7987 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.1981, allocations: 0.7407 MB / 0.7994 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001336/0.1982, allocations: 50.94 kB / 0.7994 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.659e-05/0.1983, allocations: 71.41 kB / 0.7995 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.1983, allocations: 0 / 0.7995 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.369/0.5673, allocations: 6.327 MB / 0.8057 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/0.5675, allocations: 251.5 kB / 0.8059 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.383, allocations: 4 kB / 0.8059 GB, free: 5.559 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)