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.26/2.26, allocations: 252.6 MB / 265.2 MB, free: 5.73 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.001495/0.001494, allocations: 177.3 kB / 324.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.97/1.97, allocations: 205.4 MB / 0.5754 GB, free: 10.52 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.001169/0.001169, allocations: 90.7 kB / 0.6797 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.82e-05/3.83e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.197, allocations: 106.2 MB / 0.8949 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8388/1.036, allocations: 136.3 MB / 1.028 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/1.036, allocations: 89.69 kB / 1.028 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02573/1.062, allocations: 5.32 MB / 1.033 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.473e-06/1.062, allocations: 0 / 1.033 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.321e-05/1.062, allocations: 4 kB / 1.033 GB, free: 9.523 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.001106/1.063, allocations: 0.5296 MB / 1.034 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.063, allocations: 12.03 kB / 1.034 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.313e-05/1.063, allocations: 27.67 kB / 1.034 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005336/1.064, allocations: 293.2 kB / 1.034 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/1.064, allocations: 19.59 kB / 1.034 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.953e-05/1.064, allocations: 18.06 kB / 1.034 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/1.064, allocations: 190.2 kB / 1.034 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/1.065, allocations: 0 / 1.034 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/1.065, allocations: 0 / 1.034 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/1.065, allocations: 4 kB / 1.034 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/1.065, allocations: 84.22 kB / 1.034 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/1.066, allocations: 0.9109 MB / 1.035 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/1.067, allocations: 197.4 kB / 1.036 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/1.067, allocations: 58.98 kB / 1.036 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/1.067, allocations: 11.89 kB / 1.036 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004398/1.068, allocations: 192.5 kB / 1.036 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=23): time 3.036e-06/1.068, allocations: 0 / 1.036 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.0007352/1.068, allocations: 251.3 kB / 1.036 GB, free: 6.824 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/1.068, allocations: 118.8 kB / 1.036 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/1.069, allocations: 215.3 kB / 1.036 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/1.069, allocations: 40.69 kB / 1.036 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/1.069, allocations: 145.6 kB / 1.037 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.53e-05/1.069, allocations: 61.81 kB / 1.037 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/1.069, allocations: 7.312 kB / 1.037 GB, free: 6.297 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.069, allocations: 340.6 kB / 1.037 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/1.069, allocations: 54 kB / 1.037 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/1.07, allocations: 235 kB / 1.037 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/1.07, allocations: 117.3 kB / 1.037 GB, free: 5.547 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/1.07, allocations: 4 kB / 1.037 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007999/1.071, allocations: 359.5 kB / 1.038 GB, free: 5.234 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.131e-05/1.071, allocations: 37.66 kB / 1.038 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.071, allocations: 4 kB / 1.038 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/1.071, allocations: 8 kB / 1.038 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/1.071, allocations: 75.86 kB / 1.038 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/1.071, allocations: 12 kB / 1.038 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/1.072, allocations: 45.8 kB / 1.038 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/1.072, allocations: 23 kB / 1.038 GB, free: 5.039 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.0001593/1.072, allocations: 141.3 kB / 1.038 GB, free: 4.906 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.358e-05/1.072, allocations: 26.34 kB / 1.038 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.609e-05/1.072, allocations: 30.84 kB / 1.038 GB, free: 4.859 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/1.072, allocations: 4 kB / 1.038 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.072, allocations: 0 / 1.038 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/1.072, allocations: 4 kB / 1.038 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/1.073, allocations: 270 kB / 1.038 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.073, allocations: 0 / 1.038 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/1.073, allocations: 27.92 kB / 1.038 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/1.073, allocations: 0 / 1.038 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/1.073, allocations: 11.11 kB / 1.038 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/1.073, allocations: 7.953 kB / 1.038 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.073, allocations: 4 kB / 1.038 GB, free: 4.523 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009037/1.074, allocations: 384.6 kB / 1.039 GB, free: 4.191 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.716e-05/1.074, allocations: 108.4 kB / 1.039 GB, free: 4.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.935e-05/1.074, allocations: 11.25 kB / 1.039 GB, free: 4.062 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/1.074, allocations: 22.97 kB / 1.039 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.846e-05/1.075, allocations: 18.91 kB / 1.039 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/1.075, allocations: 16.08 kB / 1.039 GB, free: 4.012 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002029/1.075, allocations: 167.4 kB / 1.039 GB, free: 3.871 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.075, allocations: 0 / 1.039 GB, free: 3.871 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005837/1.075, allocations: 93.23 kB / 1.039 GB, free: 3.789 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.0005045/1.076, allocations: 185.5 kB / 1.039 GB, free: 3.609 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005834/1.077, allocations: 258.2 kB / 1.04 GB, free: 3.391 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.077, allocations: 0 / 1.04 GB, free: 3.391 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000278/1.077, allocations: 86.23 kB / 1.04 GB, free: 3.328 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/1.077, allocations: 60.61 kB / 1.04 GB, free: 3.285 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/1.079, allocations: 0.593 MB / 1.04 GB, free: 2.711 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/1.08, allocations: 0.7485 MB / 1.041 GB, free: 1.938 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002517/1.08, allocations: 54.86 kB / 1.041 GB, free: 1.879 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.889e-05/1.08, allocations: 26.75 kB / 1.041 GB, free: 1.855 MB / 0.6511 GB Notification: Performance of SimCode: time 1.172e-06/1.08, allocations: 0 / 1.041 GB, free: 1.855 MB / 0.6511 GB Notification: Performance of Templates: time 0.01242/1.093, allocations: 3.669 MB / 1.045 GB, free: 14.27 MB / 0.6667 GB