Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.849/4.849, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002469/0.002469, allocations: 361.2 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.138/4.138, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001785/0.001784, allocations: 168.3 kB / 1.226 GB, free: 35.94 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.000494, allocations: 8 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2129, allocations: 115.3 MB / 1.461 GB, free: 6.562 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9673/1.18, allocations: 142.7 MB / 1.601 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003972/1.181, allocations: 107 kB / 1.601 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0277/1.208, allocations: 5.336 MB / 1.606 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.866e-06/1.209, allocations: 0 / 1.606 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.477e-05/1.209, allocations: 4 kB / 1.606 GB, free: 10.36 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.001481/1.21, allocations: 0.5673 MB / 1.607 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/1.21, allocations: 12.02 kB / 1.607 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.969e-05/1.21, allocations: 27.72 kB / 1.607 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000566/1.211, allocations: 300.3 kB / 1.607 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/1.211, allocations: 12.17 kB / 1.607 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.433e-05/1.211, allocations: 19.92 kB / 1.607 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006585/1.212, allocations: 218 kB / 1.607 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/1.212, allocations: 0 / 1.607 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/1.212, allocations: 4 kB / 1.607 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/1.212, allocations: 4 kB / 1.607 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006339/1.212, allocations: 126.8 kB / 1.607 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/1.214, allocations: 0.916 MB / 1.608 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008689/1.215, allocations: 229.6 kB / 1.608 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/1.215, allocations: 89.98 kB / 1.608 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/1.215, allocations: 8 kB / 1.608 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006798/1.216, allocations: 223.2 kB / 1.609 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=23): time 4.608e-06/1.216, allocations: 15.86 kB / 1.609 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.001553/1.218, allocations: 378.2 kB / 1.609 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.199e-05/1.218, allocations: 118.7 kB / 1.609 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/1.218, allocations: 240.6 kB / 1.609 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.567e-05/1.218, allocations: 37.62 kB / 1.609 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/1.218, allocations: 146.9 kB / 1.61 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.206e-05/1.219, allocations: 58.62 kB / 1.61 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/1.219, allocations: 3.938 kB / 1.61 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.219, allocations: 346.1 kB / 1.61 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003945/1.219, allocations: 87.94 kB / 1.61 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005147/1.22, allocations: 259.2 kB / 1.61 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004616/1.22, allocations: 141.2 kB / 1.61 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.637e-06/1.22, allocations: 4 kB / 1.61 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001281/1.221, allocations: 417.9 kB / 1.611 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.596e-05/1.222, allocations: 37.66 kB / 1.611 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/1.222, allocations: 12 kB / 1.611 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/1.222, allocations: 8 kB / 1.611 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/1.222, allocations: 71.58 kB / 1.611 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.028e-05/1.222, allocations: 12 kB / 1.611 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/1.222, allocations: 54.3 kB / 1.611 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/1.223, allocations: 19.38 kB / 1.611 GB, free: 5.414 MB / 0.6823 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.0002658/1.223, allocations: 160.6 kB / 1.611 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/1.223, allocations: 23.72 kB / 1.611 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.242e-05/1.223, allocations: 35.84 kB / 1.611 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/1.223, allocations: 0 / 1.611 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/1.223, allocations: 4 kB / 1.611 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.223, allocations: 0 / 1.611 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/1.223, allocations: 267.5 kB / 1.612 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.223, allocations: 0 / 1.612 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/1.224, allocations: 27.92 kB / 1.612 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/1.224, allocations: 0 / 1.612 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/1.224, allocations: 11.3 kB / 1.612 GB, free: 4.902 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/1.224, allocations: 11.95 kB / 1.612 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.224, allocations: 384 / 1.612 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/1.225, allocations: 448.5 kB / 1.612 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/1.226, allocations: 104.7 kB / 1.612 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-05/1.226, allocations: 11.34 kB / 1.612 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/1.226, allocations: 23.67 kB / 1.612 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/1.226, allocations: 23.67 kB / 1.612 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/1.226, allocations: 11.98 kB / 1.612 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000247/1.226, allocations: 166.7 kB / 1.612 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.266e-06/1.226, allocations: 0 / 1.612 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006302/1.227, allocations: 96.36 kB / 1.612 GB, free: 4.109 MB / 0.6823 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.0005109/1.228, allocations: 183.6 kB / 1.613 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001075/1.229, allocations: 305.8 kB / 1.613 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.229, allocations: 0 / 1.613 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005031/1.229, allocations: 126.2 kB / 1.613 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005998/1.23, allocations: 66.72 kB / 1.613 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/1.232, allocations: 0.8238 MB / 1.614 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/1.233, allocations: 0.7446 MB / 1.615 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003284/1.233, allocations: 54.88 kB / 1.615 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.546e-05/1.233, allocations: 27.42 kB / 1.615 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of SimCode: time 1.153e-06/1.233, allocations: 0 / 1.615 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of Templates: time 0.01301/1.246, allocations: 3.659 MB / 1.618 GB, free: 14.3 MB / 0.698 GB