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.25/2.25, allocations: 253.2 MB / 260.6 MB, free: 7.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001455/0.001455, allocations: 188.8 kB / 319.9 MB, free: 3.027 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.017/2.017, allocations: 205.6 MB / 0.5708 GB, free: 15.25 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.001797/0.001797, allocations: 89.12 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.757e-05/1.757e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2066, allocations: 106.2 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8544/1.061, allocations: 136.6 MB / 1.022 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003488/1.061, allocations: 98.05 kB / 1.022 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02545/1.087, allocations: 5.316 MB / 1.027 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.703e-06/1.087, allocations: 0 / 1.027 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.336e-05/1.087, allocations: 4 kB / 1.027 GB, free: 12.19 MB / 0.6511 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.001121/1.088, allocations: 0.5248 MB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/1.088, allocations: 16.02 kB / 1.028 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.111e-05/1.088, allocations: 31.66 kB / 1.028 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005836/1.089, allocations: 293.8 kB / 1.028 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/1.089, allocations: 7.984 kB / 1.028 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.197e-05/1.089, allocations: 12 kB / 1.028 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002318/1.089, allocations: 61.7 kB / 1.028 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/1.09, allocations: 182.8 kB / 1.028 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/1.09, allocations: 3.938 kB / 1.028 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/1.09, allocations: 4 kB / 1.028 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/1.09, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/1.091, allocations: 0.873 MB / 1.029 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/1.092, allocations: 175.8 kB / 1.029 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/1.092, allocations: 61.41 kB / 1.03 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/1.092, allocations: 0 / 1.03 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004246/1.092, allocations: 187.3 kB / 1.03 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=23): time 2.525e-06/1.092, allocations: 7.938 kB / 1.03 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.0008274/1.093, allocations: 246.5 kB / 1.03 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/1.093, allocations: 126.4 kB / 1.03 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/1.094, allocations: 198.8 kB / 1.03 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/1.094, allocations: 37.06 kB / 1.03 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/1.094, allocations: 134.4 kB / 1.03 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.762e-05/1.094, allocations: 61.56 kB / 1.03 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.639e-05/1.094, allocations: 0 / 1.03 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.094, allocations: 337.7 kB / 1.031 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/1.094, allocations: 55 kB / 1.031 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/1.095, allocations: 226.1 kB / 1.031 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/1.095, allocations: 79.72 kB / 1.031 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/1.095, allocations: 0 / 1.031 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006927/1.095, allocations: 282.2 kB / 1.031 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.175e-05/1.096, allocations: 39.41 kB / 1.031 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/1.096, allocations: 8 kB / 1.031 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.203e-05/1.096, allocations: 12.7 kB / 1.031 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/1.096, allocations: 70.97 kB / 1.032 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/1.096, allocations: 12 kB / 1.032 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/1.097, allocations: 35.67 kB / 1.032 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/1.097, allocations: 26.48 kB / 1.032 GB, free: 7.934 MB / 0.6511 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 () * 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.0001584/1.097, allocations: 135 kB / 1.032 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/1.097, allocations: 23.72 kB / 1.032 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.381e-05/1.097, allocations: 25.7 kB / 1.032 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/1.097, allocations: 7.953 kB / 1.032 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.097, allocations: 0 / 1.032 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.097, allocations: 0 / 1.032 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003846/1.097, allocations: 246.4 kB / 1.032 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/1.097, allocations: 3.938 kB / 1.032 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/1.098, allocations: 31.22 kB / 1.032 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/1.098, allocations: 8 kB / 1.032 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/1.098, allocations: 4 kB / 1.032 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/1.098, allocations: 0 / 1.032 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/1.098, allocations: 0 / 1.032 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009794/1.099, allocations: 387.2 kB / 1.032 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-05/1.099, allocations: 104.4 kB / 1.033 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.445e-05/1.099, allocations: 15.3 kB / 1.033 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/1.099, allocations: 15.98 kB / 1.033 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.982e-05/1.099, allocations: 27.89 kB / 1.033 GB, free: 6.957 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/1.099, allocations: 12.06 kB / 1.033 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001693/1.099, allocations: 149.1 kB / 1.033 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.1, allocations: 0 / 1.033 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005969/1.1, allocations: 91.73 kB / 1.033 GB, free: 6.742 MB / 0.6511 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) * 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.0005095/1.101, allocations: 169.8 kB / 1.033 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005305/1.101, allocations: 229.9 kB / 1.033 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.101, allocations: 0 / 1.033 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002305/1.101, allocations: 82.48 kB / 1.033 GB, free: 6.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/1.102, allocations: 59.52 kB / 1.033 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/1.104, allocations: 0.5964 MB / 1.034 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/1.104, allocations: 0.7485 MB / 1.035 GB, free: 4.926 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002438/1.105, allocations: 43.27 kB / 1.035 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.241e-05/1.105, allocations: 27.42 kB / 1.035 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of SimCode: time 9.32e-07/1.105, allocations: 0 / 1.035 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of Templates: time 0.01182/1.117, allocations: 3.442 MB / 1.038 GB, free: 1.496 MB / 0.6511 GB