Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004187/0.004191, allocations: 232.5 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001141/0.001141, allocations: 173.2 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.342/3.342, allocations: 389.1 MB / 406.5 MB, free: 6.895 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.297/4.297, allocations: 472.3 MB / 0.9024 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006606/0.0006608, allocations: 12 kB / 1.008 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2036, allocations: 98.7 MB / 1.105 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7561/0.9597, allocations: 129.4 MB / 1.231 GB, free: 196.5 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003572/0.9601, allocations: 107.8 kB / 1.231 GB, free: 196.4 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.024/0.9842, allocations: 5.286 MB / 1.236 GB, free: 193.3 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9842, allocations: 0 / 1.236 GB, free: 193.3 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.9842, allocations: 4 kB / 1.236 GB, free: 193.3 MB / 0.7917 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.001246/0.9855, allocations: 0.5667 MB / 1.237 GB, free: 192.7 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.9855, allocations: 8.031 kB / 1.237 GB, free: 192.7 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.772e-05/0.9856, allocations: 28.72 kB / 1.237 GB, free: 192.6 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.9861, allocations: 304.6 kB / 1.237 GB, free: 192.3 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.9862, allocations: 15.22 kB / 1.237 GB, free: 192.3 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.25e-05/0.9862, allocations: 23.66 kB / 1.237 GB, free: 192.3 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/0.9868, allocations: 214.6 kB / 1.237 GB, free: 192.1 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.9868, allocations: 3.969 kB / 1.237 GB, free: 192.1 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.9869, allocations: 2.75 kB / 1.237 GB, free: 192.1 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.9869, allocations: 4 kB / 1.237 GB, free: 192.1 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005696/0.9875, allocations: 129.3 kB / 1.238 GB, free: 192 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.9888, allocations: 0.9084 MB / 1.238 GB, free: 191.1 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007335/0.9896, allocations: 234.3 kB / 1.239 GB, free: 190.9 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.9899, allocations: 96.53 kB / 1.239 GB, free: 190.8 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.99, allocations: 0 / 1.239 GB, free: 190.8 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005756/0.9905, allocations: 212.6 kB / 1.239 GB, free: 190.6 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=23): time 2.445e-06/0.9906, allocations: 0 / 1.239 GB, free: 190.6 MB / 0.7917 GB Notification: Performance of matching and sorting (n=23): time 0.00133/0.9919, allocations: 391 kB / 1.239 GB, free: 190.3 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.992, allocations: 122.5 kB / 1.239 GB, free: 190.2 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.9923, allocations: 239 kB / 1.24 GB, free: 190 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.9923, allocations: 40.64 kB / 1.24 GB, free: 189.9 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 9.429e-05/0.9924, allocations: 143.1 kB / 1.24 GB, free: 189.8 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 7.178e-05/0.9925, allocations: 59.83 kB / 1.24 GB, free: 189.8 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.936e-05/0.9925, allocations: 11.75 kB / 1.24 GB, free: 189.8 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.73e-05/0.9926, allocations: 340.3 kB / 1.24 GB, free: 189.4 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.993, allocations: 87.06 kB / 1.24 GB, free: 189.4 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.9934, allocations: 262.9 kB / 1.241 GB, free: 189.1 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003952/0.9938, allocations: 142.6 kB / 1.241 GB, free: 189 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.9938, allocations: 0 / 1.241 GB, free: 189 MB / 0.7917 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001028/0.9948, allocations: 424.7 kB / 1.241 GB, free: 188.6 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/0.9949, allocations: 37.7 kB / 1.241 GB, free: 188.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.9949, allocations: 9.531 kB / 1.241 GB, free: 188.6 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.995, allocations: 8 kB / 1.241 GB, free: 188.6 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.9953, allocations: 75.27 kB / 1.241 GB, free: 188.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.9954, allocations: 8 kB / 1.241 GB, free: 188.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003841/0.9958, allocations: 43.36 kB / 1.241 GB, free: 188.4 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.9958, allocations: 19.81 kB / 1.241 GB, free: 188.4 MB / 0.7917 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.0001968/0.996, allocations: 165.1 kB / 1.241 GB, free: 188.3 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.9961, allocations: 30.02 kB / 1.241 GB, free: 188.3 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.756e-05/0.9961, allocations: 27.33 kB / 1.241 GB, free: 188.2 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.9962, allocations: 6.281 kB / 1.241 GB, free: 188.2 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.9962, allocations: 0 / 1.241 GB, free: 188.2 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.9962, allocations: 0 / 1.241 GB, free: 188.2 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.9965, allocations: 268.3 kB / 1.242 GB, free: 188 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.9966, allocations: 0.6562 kB / 1.242 GB, free: 188 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.9968, allocations: 35.42 kB / 1.242 GB, free: 187.9 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.9968, allocations: 4 kB / 1.242 GB, free: 187.9 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.9968, allocations: 11.94 kB / 1.242 GB, free: 187.9 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.9968, allocations: 0 / 1.242 GB, free: 187.9 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.9969, allocations: 0 / 1.242 GB, free: 187.9 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.9982, allocations: 462.8 kB / 1.242 GB, free: 187.5 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.9983, allocations: 104.7 kB / 1.242 GB, free: 187.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.777e-05/0.9983, allocations: 12.03 kB / 1.242 GB, free: 187.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.9986, allocations: 19.94 kB / 1.242 GB, free: 187.4 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.89e-05/0.9987, allocations: 31.08 kB / 1.242 GB, free: 187.4 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.9988, allocations: 8 kB / 1.242 GB, free: 187.4 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001708/0.9989, allocations: 173.1 kB / 1.243 GB, free: 187.2 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.81e-07/0.999, allocations: 0 / 1.243 GB, free: 187.2 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005811/0.9995, allocations: 90.12 kB / 1.243 GB, free: 187.1 MB / 0.7917 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.0004209/1, allocations: 194.8 kB / 1.243 GB, free: 187 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000901/1.001, allocations: 303.6 kB / 1.243 GB, free: 186.7 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.001, allocations: 0 / 1.243 GB, free: 186.7 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0004074/1.001, allocations: 122.8 kB / 1.243 GB, free: 186.6 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/1.002, allocations: 58.52 kB / 1.243 GB, free: 186.6 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/1.004, allocations: 0.8174 MB / 1.244 GB, free: 185.9 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/1.004, allocations: 0.7502 MB / 1.245 GB, free: 185.1 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002081/1.004, allocations: 46.94 kB / 1.245 GB, free: 185 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.903e-05/1.005, allocations: 23.44 kB / 1.245 GB, free: 185 MB / 0.7917 GB Notification: Performance of SimCode: time 1.302e-06/1.005, allocations: 0 / 1.245 GB, free: 185 MB / 0.7917 GB Notification: Performance of Templates: time 0.01077/1.015, allocations: 3.665 MB / 1.248 GB, free: 181.5 MB / 0.7917 GB