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 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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.332/2.332, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001602/0.001602, allocations: 171.3 kB / 325.6 MB, free: 2.82 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.477/2.477, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001095/0.001095, allocations: 105 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007231/0.0007236, allocations: 14.84 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2129, allocations: 106.3 MB / 0.8989 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002789/0.2158, allocations: 1.874 MB / 0.9007 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.2176, allocations: 0.9762 MB / 0.9017 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.2177, allocations: 7.938 kB / 0.9017 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.218, allocations: 39.73 kB / 0.9017 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.2182, allocations: 75.77 kB / 0.9018 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.2187, allocations: 137.6 kB / 0.9019 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.219, allocations: 191.6 kB / 0.9021 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.2191, allocations: 28.39 kB / 0.9021 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.2193, allocations: 107.6 kB / 0.9022 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.2195, allocations: 103.5 kB / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.2195, allocations: 8 kB / 0.9023 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003093/0.2198, allocations: 87.92 kB / 0.9024 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.778e-05/0.2199, allocations: 39.83 kB / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.035e-05/0.22, allocations: 69.58 kB / 0.9025 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.2203, allocations: 231.6 kB / 0.9028 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2203, allocations: 0 / 0.9028 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2204, allocations: 0 / 0.9028 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.2204, allocations: 0 / 0.9028 GB, free: 61.42 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.001131/0.2215, allocations: 0.5552 MB / 0.9033 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2216, allocations: 8.031 kB / 0.9033 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.026e-05/0.2217, allocations: 27.67 kB / 0.9033 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005527/0.2222, allocations: 289.8 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.2223, allocations: 16.22 kB / 0.9036 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.367e-05/0.2223, allocations: 16 kB / 0.9036 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000574/0.2229, allocations: 212.2 kB / 0.9038 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.223, allocations: 0 / 0.9038 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.223, allocations: 8 kB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.223, allocations: 4 kB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005859/0.2236, allocations: 127.7 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.2249, allocations: 0.8723 MB / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007299/0.2256, allocations: 219.8 kB / 0.905 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.2257, allocations: 8.062 kB / 0.905 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006111/0.2263, allocations: 202.6 kB / 0.9052 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 4.598e-06/0.2263, allocations: 8 kB / 0.9052 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.001384/0.2277, allocations: 373.1 kB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.2278, allocations: 122.9 kB / 0.9057 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.2281, allocations: 238.5 kB / 0.9059 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.2281, allocations: 41.7 kB / 0.906 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.517e-05/0.2283, allocations: 140.5 kB / 0.9061 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/0.2283, allocations: 63.25 kB / 0.9062 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/0.2284, allocations: 4.375 kB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.092e-05/0.2284, allocations: 346.8 kB / 0.9065 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.2288, allocations: 80.77 kB / 0.9066 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.2292, allocations: 270.9 kB / 0.9068 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/0.2297, allocations: 149.5 kB / 0.907 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.2297, allocations: 0 / 0.907 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0011/0.2308, allocations: 415 kB / 0.9074 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/0.2309, allocations: 37.69 kB / 0.9074 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.2309, allocations: 8 kB / 0.9074 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/0.2309, allocations: 8 kB / 0.9074 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.2313, allocations: 71.84 kB / 0.9075 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.2314, allocations: 11.94 kB / 0.9075 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.2318, allocations: 55.69 kB / 0.9076 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.2318, allocations: 20 kB / 0.9076 GB, free: 56.06 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.0001948/0.232, allocations: 156 kB / 0.9077 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.2321, allocations: 27.67 kB / 0.9078 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.533e-05/0.2322, allocations: 25.7 kB / 0.9078 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.2322, allocations: 8 kB / 0.9078 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2322, allocations: 256 / 0.9078 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.2322, allocations: 3.984 kB / 0.9078 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.2326, allocations: 265.4 kB / 0.9081 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.2327, allocations: 7.984 kB / 0.9081 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/0.233, allocations: 19.98 kB / 0.9081 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/0.233, allocations: 3.984 kB / 0.9081 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.019e-05/0.2331, allocations: 15.94 kB / 0.9081 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.129e-05/0.2332, allocations: 4 kB / 0.9081 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.2332, allocations: 4 kB / 0.9081 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/0.2353, allocations: 468.9 kB / 0.9086 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.2355, allocations: 96.77 kB / 0.9086 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.2357, allocations: 12.03 kB / 0.9087 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004746/0.2362, allocations: 23.98 kB / 0.9087 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.2364, allocations: 23.97 kB / 0.9087 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/0.2364, allocations: 11.98 kB / 0.9087 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004035/0.2369, allocations: 166 kB / 0.9089 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.403e-06/0.2369, allocations: 0 / 0.9089 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001239/0.2381, allocations: 79.98 kB / 0.9089 GB, free: 54.55 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.0006456/0.2388, allocations: 180.1 kB / 0.9091 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00171/0.2406, allocations: 304.3 kB / 0.9094 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.2406, allocations: 0 / 0.9094 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007529/0.2414, allocations: 112.1 kB / 0.9095 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007497/0.2422, allocations: 56.47 kB / 0.9096 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.2447, allocations: 0.6825 MB / 0.9102 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.245, allocations: 0.7488 MB / 0.911 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003867/0.2454, allocations: 50.88 kB / 0.911 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.2456, allocations: 23.44 kB / 0.911 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of SimCode: time 2.655e-06/0.2456, allocations: 0 / 0.911 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.0173/0.2629, allocations: 3.605 MB / 0.9146 GB, free: 48.8 MB / 0.6042 GB