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: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001587/0.001587, allocations: 190.9 kB / 16.14 MB, free: 6.738 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.329/1.329, allocations: 205.1 MB / 222 MB, free: 4.777 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.678/1.678, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001318/0.001318, allocations: 68.14 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1851, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.003325/0.1885, allocations: 2.386 MB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.19, allocations: 1.05 MB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.984e-05/0.1901, allocations: 7.938 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.1904, allocations: 39.75 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.1906, allocations: 75.34 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.1909, allocations: 146.8 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.1912, allocations: 270.8 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1913, allocations: 36.59 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.1914, allocations: 103.5 kB / 0.7867 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.1915, allocations: 111.5 kB / 0.7868 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.1916, allocations: 8 kB / 0.7868 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002421/0.1918, allocations: 95.86 kB / 0.7869 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.1919, allocations: 39.83 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.192, allocations: 115.4 kB / 0.787 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.1923, allocations: 299 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1923, allocations: 3.938 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.42e-07/0.1924, allocations: 0 / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.1924, allocations: 0 / 0.7873 GB, free: 9.223 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.0009244/0.1933, allocations: 0.5943 MB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1933, allocations: 8.031 kB / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/0.1934, allocations: 28.66 kB / 0.7879 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.1938, allocations: 287 kB / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.1938, allocations: 20.59 kB / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.1939, allocations: 24.31 kB / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003909/0.1943, allocations: 204.6 kB / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1943, allocations: 0 / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.1943, allocations: 11.94 kB / 0.7885 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1944, allocations: 4 kB / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003463/0.1947, allocations: 107.8 kB / 0.7886 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009339/0.1956, allocations: 0.8799 MB / 0.7894 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004669/0.1961, allocations: 199.9 kB / 0.7896 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.1963, allocations: 78.61 kB / 0.7897 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.1964, allocations: 7.984 kB / 0.7897 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004461/0.1968, allocations: 193.8 kB / 0.7899 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.473e-06/0.1968, allocations: 0 / 0.7899 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0008549/0.1977, allocations: 361 kB / 0.7902 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.1978, allocations: 118.8 kB / 0.7903 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.198, allocations: 250.4 kB / 0.7906 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.198, allocations: 33.7 kB / 0.7906 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.421e-05/0.1981, allocations: 140.6 kB / 0.7908 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/0.1982, allocations: 63.19 kB / 0.7908 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-05/0.1983, allocations: 74.06 kB / 0.7909 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1984, allocations: 342.8 kB / 0.7912 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.1986, allocations: 84.7 kB / 0.7913 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.1989, allocations: 251 kB / 0.7915 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005219/0.1994, allocations: 384.5 kB / 0.7919 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.1995, allocations: 4 kB / 0.7919 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006858/0.2001, allocations: 398.4 kB / 0.7923 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.2002, allocations: 33.7 kB / 0.7923 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2002, allocations: 8.75 kB / 0.7923 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.2002, allocations: 8 kB / 0.7923 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.2005, allocations: 79.81 kB / 0.7924 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.2005, allocations: 15.88 kB / 0.7924 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.2007, allocations: 39.67 kB / 0.7925 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.2008, allocations: 20 kB / 0.7925 GB, free: 3.441 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.0001426/0.2009, allocations: 160.8 kB / 0.7926 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.201, allocations: 31.62 kB / 0.7927 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.449e-05/0.201, allocations: 25.7 kB / 0.7927 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.201, allocations: 4 kB / 0.7927 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.201, allocations: 8.125 kB / 0.7927 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.201, allocations: 0 / 0.7927 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.2013, allocations: 277.3 kB / 0.793 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2013, allocations: 0 / 0.793 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.2015, allocations: 15.98 kB / 0.793 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2015, allocations: 7.984 kB / 0.793 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.2015, allocations: 8 kB / 0.793 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.2015, allocations: 4 kB / 0.793 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.2015, allocations: 3.938 kB / 0.793 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008292/0.2023, allocations: 413 kB / 0.7934 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.2024, allocations: 105.2 kB / 0.7935 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.2025, allocations: 8 kB / 0.7935 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.2026, allocations: 11.98 kB / 0.7935 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.2027, allocations: 23.91 kB / 0.7935 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.2027, allocations: 15.92 kB / 0.7936 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001419/0.2029, allocations: 170 kB / 0.7937 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2029, allocations: 0 / 0.7937 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004099/0.2033, allocations: 91.92 kB / 0.7938 GB, free: 1.988 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.0003823/0.2037, allocations: 167.5 kB / 0.794 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006468/0.2044, allocations: 299 kB / 0.7942 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2044, allocations: 0 / 0.7942 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.2046, allocations: 101.3 kB / 0.7943 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.205, allocations: 60.45 kB / 0.7944 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.2062, allocations: 0.6658 MB / 0.7951 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.2064, allocations: 0.7449 MB / 0.7958 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001403/0.2066, allocations: 46.94 kB / 0.7958 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.2066, allocations: 31.44 kB / 0.7959 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of SimCode: time 4e-07/0.2066, allocations: 0 / 0.7959 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of Templates: time 0.006961/0.2136, allocations: 3.741 MB / 0.7995 GB, free: 12.14 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (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 & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)