Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.29/2.29, allocations: 251.3 MB / 266.2 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 183.3 kB / 325.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.249/2.249, allocations: 205.4 MB / 0.5767 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009409/0.0009409, allocations: 109.1 kB / 0.6813 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.0004679, allocations: 11.53 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1998, allocations: 106.3 MB / 0.899 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002917/0.2027, allocations: 1.967 MB / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001831/0.2046, allocations: 0.9877 MB / 0.9019 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.2048, allocations: 7.938 kB / 0.9019 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.205, allocations: 43.69 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.2053, allocations: 71.45 kB / 0.9021 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005343/0.2058, allocations: 127.7 kB / 0.9022 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.2061, allocations: 258.8 kB / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.2062, allocations: 36.39 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.2064, allocations: 103.5 kB / 0.9026 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.2066, allocations: 99.53 kB / 0.9026 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.2067, allocations: 8 kB / 0.9027 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003253/0.207, allocations: 95.91 kB / 0.9027 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.2071, allocations: 39.83 kB / 0.9028 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.652e-05/0.2071, allocations: 73.56 kB / 0.9029 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.2075, allocations: 219.7 kB / 0.9031 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2075, allocations: 0 / 0.9031 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2075, allocations: 4 kB / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.2075, allocations: 0 / 0.9031 GB, free: 61.29 MB / 0.6042 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.00111/0.2086, allocations: 0.5554 MB / 0.9036 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2087, allocations: 8.031 kB / 0.9036 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.871e-05/0.2088, allocations: 24.66 kB / 0.9036 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/0.2093, allocations: 295.1 kB / 0.9039 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.2094, allocations: 16.61 kB / 0.9039 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.616e-05/0.2094, allocations: 16.38 kB / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005573/0.21, allocations: 216.6 kB / 0.9042 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.21, allocations: 0 / 0.9042 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.2101, allocations: 7.984 kB / 0.9042 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.2101, allocations: 4 kB / 0.9042 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005947/0.2107, allocations: 119.8 kB / 0.9043 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.2119, allocations: 0.8722 MB / 0.9051 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007254/0.2126, allocations: 215.8 kB / 0.9053 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.213, allocations: 94.59 kB / 0.9054 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.213, allocations: 0 / 0.9054 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006085/0.2136, allocations: 218.5 kB / 0.9056 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 2.445e-06/0.2137, allocations: 3.938 kB / 0.9056 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.001372/0.215, allocations: 377.4 kB / 0.906 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.2151, allocations: 118.8 kB / 0.9061 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.2154, allocations: 242.6 kB / 0.9064 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.2155, allocations: 45.62 kB / 0.9064 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/0.2156, allocations: 136.5 kB / 0.9065 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.284e-05/0.2156, allocations: 67.23 kB / 0.9066 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/0.2157, allocations: 8 kB / 0.9066 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.768e-05/0.2157, allocations: 338.8 kB / 0.9069 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.2161, allocations: 88.75 kB / 0.907 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/0.2165, allocations: 259.1 kB / 0.9073 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/0.217, allocations: 145.6 kB / 0.9074 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.217, allocations: 0 / 0.9074 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001086/0.2181, allocations: 419 kB / 0.9078 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.097e-05/0.2181, allocations: 39.83 kB / 0.9078 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.2182, allocations: 4 kB / 0.9078 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.079e-05/0.2182, allocations: 8 kB / 0.9078 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.2186, allocations: 71.84 kB / 0.9079 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.2186, allocations: 19.86 kB / 0.9079 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.219, allocations: 43.67 kB / 0.908 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.2191, allocations: 20 kB / 0.908 GB, free: 55.84 MB / 0.6042 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.0001888/0.2193, allocations: 160 kB / 0.9081 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.2194, allocations: 23.72 kB / 0.9082 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.842e-05/0.2194, allocations: 29.7 kB / 0.9082 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.2195, allocations: 7.938 kB / 0.9082 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.2195, allocations: 7.875 kB / 0.9082 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.2195, allocations: 0 / 0.9082 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.2198, allocations: 265.4 kB / 0.9085 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.2198, allocations: 4 kB / 0.9085 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.2201, allocations: 19.98 kB / 0.9085 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.2201, allocations: 0 / 0.9085 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.2201, allocations: 11.98 kB / 0.9085 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.2201, allocations: 4 kB / 0.9085 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.2201, allocations: 3.938 kB / 0.9085 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.2215, allocations: 439.1 kB / 0.9089 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.794e-05/0.2215, allocations: 100.8 kB / 0.909 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.929e-05/0.2216, allocations: 8.031 kB / 0.909 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.2219, allocations: 19.98 kB / 0.909 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.222, allocations: 31.89 kB / 0.9091 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/0.2221, allocations: 8 kB / 0.9091 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001731/0.2223, allocations: 170 kB / 0.9092 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2223, allocations: 0 / 0.9092 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005671/0.2228, allocations: 79.98 kB / 0.9093 GB, free: 54.38 MB / 0.6042 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.0004225/0.2233, allocations: 185.1 kB / 0.9095 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009104/0.2242, allocations: 307.8 kB / 0.9098 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2242, allocations: 0 / 0.9098 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004128/0.2247, allocations: 115.9 kB / 0.9099 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005497/0.2252, allocations: 54.62 kB / 0.91 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.2268, allocations: 0.6981 MB / 0.9106 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.227, allocations: 0.7371 MB / 0.9114 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002482/0.2273, allocations: 54.92 kB / 0.9114 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.099e-05/0.2274, allocations: 31.44 kB / 0.9114 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of SimCode: time 8.52e-07/0.2274, allocations: 0 / 0.9114 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of Templates: time 0.0105/0.2379, allocations: 3.602 MB / 0.915 GB, free: 48.6 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)