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: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.769/1.769, allocations: 288.3 MB / 303.2 MB, free: 8.215 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.001474/0.001474, allocations: 176.7 kB / 371.8 MB, free: 10.26 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.627/1.627, allocations: 205.4 MB / 0.6306 GB, free: 9.988 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.0009497/0.0009497, allocations: 89.03 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004286, allocations: 15.44 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1998, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002123/0.2019, allocations: 1.863 MB / 0.9812 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.2033, allocations: 0.9721 MB / 0.9822 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.2035, allocations: 7.938 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.2037, allocations: 39.7 kB / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.2039, allocations: 83.75 kB / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.2044, allocations: 127.7 kB / 0.9824 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.2046, allocations: 187.6 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.2047, allocations: 40.59 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.2049, allocations: 107.5 kB / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.2051, allocations: 99.59 kB / 0.9829 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.2051, allocations: 8 kB / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000251/0.2054, allocations: 91.8 kB / 0.983 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.2054, allocations: 39.83 kB / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.2055, allocations: 73.56 kB / 0.9831 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.2057, allocations: 215.5 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2057, allocations: 0 / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2057, allocations: 4 kB / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.2057, allocations: 4 kB / 0.9833 GB, free: 23.7 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.0008307/0.2066, allocations: 0.5514 MB / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.2066, allocations: 12.02 kB / 0.9838 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.906e-05/0.2067, allocations: 31.72 kB / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.2071, allocations: 293.6 kB / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.2071, allocations: 12.23 kB / 0.9841 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.2072, allocations: 20 kB / 0.9842 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.2075, allocations: 206.1 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.2076, allocations: 4 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.2076, allocations: 7.984 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.2076, allocations: 4 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.2079, allocations: 127.8 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008484/0.2088, allocations: 0.8724 MB / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.2092, allocations: 211.8 kB / 0.9856 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.2092, allocations: 4.031 kB / 0.9856 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003835/0.2096, allocations: 213 kB / 0.9858 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 1.934e-06/0.2096, allocations: 0 / 0.9858 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.0007731/0.2104, allocations: 377.2 kB / 0.9861 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.2105, allocations: 119 kB / 0.9862 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.2107, allocations: 246.5 kB / 0.9865 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.2107, allocations: 37.7 kB / 0.9865 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.2108, allocations: 140.6 kB / 0.9866 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.2108, allocations: 59.25 kB / 0.9867 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.2108, allocations: 8 kB / 0.9867 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.985e-05/0.2109, allocations: 346.8 kB / 0.987 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.2111, allocations: 81.14 kB / 0.9871 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.2114, allocations: 274.9 kB / 0.9874 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.2116, allocations: 137.9 kB / 0.9875 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.2117, allocations: 3.938 kB / 0.9875 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006263/0.2123, allocations: 418.7 kB / 0.9879 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.2123, allocations: 41.69 kB / 0.9879 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2123, allocations: 12.02 kB / 0.988 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.2124, allocations: 8 kB / 0.988 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.2126, allocations: 76.19 kB / 0.988 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.2126, allocations: 15.92 kB / 0.9881 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.2128, allocations: 47.67 kB / 0.9881 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.2129, allocations: 16 kB / 0.9881 GB, free: 18.34 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.0001185/0.213, allocations: 160 kB / 0.9883 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.213, allocations: 35.7 kB / 0.9883 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.565e-05/0.2131, allocations: 21.66 kB / 0.9883 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2131, allocations: 7.953 kB / 0.9883 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2131, allocations: 0 / 0.9883 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.2131, allocations: 3.984 kB / 0.9883 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.2133, allocations: 269.4 kB / 0.9886 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2133, allocations: 0 / 0.9886 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.2135, allocations: 19.98 kB / 0.9886 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.2135, allocations: 4 kB / 0.9886 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.2135, allocations: 15.98 kB / 0.9886 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.2135, allocations: 0 / 0.9886 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2135, allocations: 3.953 kB / 0.9886 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007386/0.2143, allocations: 457.6 kB / 0.9891 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.2143, allocations: 108.7 kB / 0.9892 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.2144, allocations: 15.97 kB / 0.9892 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.2145, allocations: 19.98 kB / 0.9892 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/0.2146, allocations: 19.97 kB / 0.9892 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.2146, allocations: 11.98 kB / 0.9892 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001084/0.2148, allocations: 166 kB / 0.9894 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2148, allocations: 0 / 0.9894 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003767/0.2152, allocations: 87.92 kB / 0.9895 GB, free: 16.83 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.0003124/0.2155, allocations: 157.9 kB / 0.9896 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005598/0.216, allocations: 312.2 kB / 0.9899 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.2161, allocations: 8.188 kB / 0.9899 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.2163, allocations: 103.9 kB / 0.99 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.2166, allocations: 62.33 kB / 0.9901 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009637/0.2176, allocations: 0.6856 MB / 0.9908 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.2177, allocations: 0.7488 MB / 0.9915 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001387/0.2179, allocations: 50.94 kB / 0.9915 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.2179, allocations: 27.38 kB / 0.9916 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/0.2179, allocations: 0 / 0.9916 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of Templates: time 0.007012/0.2249, allocations: 3.621 MB / 0.9951 GB, free: 11.08 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)