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.155/2.155, allocations: 251.1 MB / 266.1 MB, free: 11.57 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.001552/0.001552, allocations: 183 kB / 325.6 MB, free: 2.797 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.223/2.223, allocations: 205.4 MB / 0.5766 GB, free: 20.71 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.001191/0.001191, allocations: 94.89 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004596, allocations: 15.27 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2026, allocations: 106.3 MB / 0.8989 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2267/0.4293, allocations: 136.4 MB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003471/0.4298, allocations: 103.9 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02568/0.4554, allocations: 5.33 MB / 1.037 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4555, allocations: 0 / 1.037 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.4555, allocations: 8 kB / 1.037 GB, free: 3.348 MB / 0.6823 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.001442/0.457, allocations: 0.5791 MB / 1.038 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.457, allocations: 8.031 kB / 1.038 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.4571, allocations: 27.67 kB / 1.038 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005675/0.4577, allocations: 297.9 kB / 1.038 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.4578, allocations: 16.22 kB / 1.038 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.167e-05/0.4579, allocations: 24 kB / 1.038 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000651/0.4585, allocations: 208.3 kB / 1.039 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.4586, allocations: 4 kB / 1.039 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.4586, allocations: 4 kB / 1.039 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.4586, allocations: 4 kB / 1.039 GB, free: 2.066 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006327/0.4593, allocations: 131.8 kB / 1.039 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.4609, allocations: 0.9192 MB / 1.04 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008425/0.4618, allocations: 227.8 kB / 1.04 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.4618, allocations: 7.969 kB / 1.04 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006718/0.4625, allocations: 215.8 kB / 1.04 GB, free: 472 kB / 0.6823 GB Notification: Performance of pre-optimization done (n=23): time 3.797e-06/0.4625, allocations: 0 / 1.04 GB, free: 472 kB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.001538/0.4641, allocations: 385.1 kB / 1.04 GB, free: 80 kB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.4642, allocations: 122.9 kB / 1.04 GB, free: 15.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.4646, allocations: 221.5 kB / 1.041 GB, free: 15.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/0.4646, allocations: 37.7 kB / 1.041 GB, free: 15.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.4648, allocations: 144.5 kB / 1.041 GB, free: 15.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.95e-05/0.4649, allocations: 63.23 kB / 1.041 GB, free: 15.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.4649, allocations: 8 kB / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4651, allocations: 338.8 kB / 1.041 GB, free: 15.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.4655, allocations: 84.75 kB / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005084/0.466, allocations: 266.9 kB / 1.042 GB, free: 14.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/0.4665, allocations: 141.6 kB / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.4665, allocations: 0 / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001245/0.4678, allocations: 410.8 kB / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/0.4678, allocations: 41.66 kB / 1.042 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.4679, allocations: 4 kB / 1.042 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/0.4679, allocations: 8.469 kB / 1.042 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/0.4683, allocations: 75.84 kB / 1.042 GB, free: 13.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.306e-05/0.4684, allocations: 16.31 kB / 1.042 GB, free: 13.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004108/0.4688, allocations: 47.58 kB / 1.042 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.4688, allocations: 20 kB / 1.042 GB, free: 13.91 MB / 0.698 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.0002531/0.4691, allocations: 159.9 kB / 1.042 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.691e-05/0.4692, allocations: 35.69 kB / 1.043 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.241e-05/0.4693, allocations: 29.61 kB / 1.043 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.4693, allocations: 4 kB / 1.043 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.4693, allocations: 3.984 kB / 1.043 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4693, allocations: 0 / 1.043 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.4697, allocations: 265.4 kB / 1.043 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.4698, allocations: 0 / 1.043 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.47, allocations: 27.97 kB / 1.043 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.47, allocations: 4.375 kB / 1.043 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.829e-05/0.4701, allocations: 11.98 kB / 1.043 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.4701, allocations: 3.953 kB / 1.043 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4701, allocations: 0 / 1.043 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.4717, allocations: 486.3 kB / 1.043 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.4718, allocations: 108.8 kB / 1.043 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-05/0.4719, allocations: 11.98 kB / 1.043 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.4722, allocations: 16.23 kB / 1.043 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.4723, allocations: 23.97 kB / 1.043 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.4723, allocations: 15.98 kB / 1.043 GB, free: 12.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002291/0.4726, allocations: 166 kB / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.3e-07/0.4726, allocations: 4 kB / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006412/0.4732, allocations: 91.83 kB / 1.044 GB, free: 12.35 MB / 0.698 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.0005114/0.4738, allocations: 182 kB / 1.044 GB, free: 12.17 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.4749, allocations: 307.8 kB / 1.044 GB, free: 11.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4749, allocations: 0 / 1.044 GB, free: 11.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004665/0.4754, allocations: 111.9 kB / 1.044 GB, free: 11.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.4759, allocations: 54.62 kB / 1.044 GB, free: 11.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.4783, allocations: 0.8192 MB / 1.045 GB, free: 10.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.4787, allocations: 0.7446 MB / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002583/0.4789, allocations: 46.94 kB / 1.046 GB, free: 10.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.772e-05/0.479, allocations: 27.44 kB / 1.046 GB, free: 9.992 MB / 0.698 GB Notification: Performance of SimCode: time 9.52e-07/0.479, allocations: 3.938 kB / 1.046 GB, free: 9.988 MB / 0.698 GB Notification: Performance of Templates: time 0.01232/0.4914, allocations: 3.631 MB / 1.05 GB, free: 6.434 MB / 0.698 GB