Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 193.9 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.504/1.504, allocations: 251.6 MB / 0.5088 GB, free: 3.348 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001377, allocations: 63.91 kB / 0.6216 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5666/0.568, allocations: 104.7 MB / 0.7238 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.004085/0.5721, allocations: 2.395 MB / 0.7262 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001691/0.5738, allocations: 1.041 MB / 0.7272 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.5741, allocations: 7.938 kB / 0.7272 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.5743, allocations: 43.75 kB / 0.7272 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.5746, allocations: 75.41 kB / 0.7273 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.5751, allocations: 135.7 kB / 0.7274 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.5754, allocations: 278.7 kB / 0.7277 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.5755, allocations: 34.36 kB / 0.7277 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.5757, allocations: 103.5 kB / 0.7278 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.5758, allocations: 111.5 kB / 0.7279 GB, free: 8.953 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.5759, allocations: 8 kB / 0.7279 GB, free: 8.945 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.5762, allocations: 99.86 kB / 0.728 GB, free: 8.848 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.739e-05/0.5762, allocations: 43.77 kB / 0.7281 GB, free: 8.805 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.5764, allocations: 103.5 kB / 0.7282 GB, free: 8.703 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004173/0.5768, allocations: 306.9 kB / 0.7285 GB, free: 8.402 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5768, allocations: 4 kB / 0.7285 GB, free: 8.398 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5768, allocations: 4 kB / 0.7285 GB, free: 8.395 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.5768, allocations: 0 / 0.7285 GB, free: 8.395 MB / 0.545 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.001085/0.5779, allocations: 0.5904 MB / 0.729 GB, free: 7.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.578, allocations: 12.03 kB / 0.7291 GB, free: 7.738 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.319e-05/0.5781, allocations: 28.64 kB / 0.7291 GB, free: 7.711 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.5785, allocations: 290.9 kB / 0.7294 GB, free: 7.387 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.5786, allocations: 16.61 kB / 0.7294 GB, free: 7.371 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/0.5786, allocations: 24.36 kB / 0.7294 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.5791, allocations: 201.3 kB / 0.7296 GB, free: 7.129 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.5791, allocations: 4 kB / 0.7296 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.5791, allocations: 8 kB / 0.7296 GB, free: 7.117 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.5791, allocations: 4 kB / 0.7296 GB, free: 7.113 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.5795, allocations: 111.7 kB / 0.7297 GB, free: 7.004 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.5806, allocations: 0.8683 MB / 0.7306 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005245/0.5811, allocations: 207.9 kB / 0.7308 GB, free: 5.836 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.5814, allocations: 78.61 kB / 0.7308 GB, free: 5.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.5814, allocations: 4 kB / 0.7308 GB, free: 5.746 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004764/0.5819, allocations: 199.4 kB / 0.731 GB, free: 5.531 MB / 0.545 GB Notification: Performance of pre-optimization done (n=23): time 2.174e-06/0.5819, allocations: 0 / 0.731 GB, free: 5.531 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.0009598/0.5829, allocations: 357 kB / 0.7314 GB, free: 5.176 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.418e-05/0.583, allocations: 122.8 kB / 0.7315 GB, free: 5.031 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.5832, allocations: 246.5 kB / 0.7317 GB, free: 4.785 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.5833, allocations: 37.7 kB / 0.7318 GB, free: 4.742 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.5834, allocations: 144.5 kB / 0.7319 GB, free: 4.598 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/0.5835, allocations: 59.25 kB / 0.732 GB, free: 4.539 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.5836, allocations: 74.06 kB / 0.732 GB, free: 4.457 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.5837, allocations: 338.8 kB / 0.7323 GB, free: 4.117 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.584, allocations: 80.75 kB / 0.7324 GB, free: 4.039 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.5843, allocations: 255.1 kB / 0.7327 GB, free: 3.707 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006101/0.5849, allocations: 384.5 kB / 0.733 GB, free: 3.242 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.425e-06/0.585, allocations: 4 kB / 0.733 GB, free: 3.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000827/0.5858, allocations: 399 kB / 0.7334 GB, free: 2.836 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.6e-05/0.5859, allocations: 45.73 kB / 0.7335 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.5859, allocations: 4 kB / 0.7335 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.5859, allocations: 8 kB / 0.7335 GB, free: 2.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.5862, allocations: 67.83 kB / 0.7335 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.172e-05/0.5862, allocations: 16.27 kB / 0.7336 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.5865, allocations: 43.92 kB / 0.7336 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.5865, allocations: 24 kB / 0.7336 GB, free: 2.625 MB / 0.545 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 (TBouSte.QAve_flow,$PRE.TBouSte.QAve_flow,TBouSte.UOld,$PRE.TBouSte.UOld,TBouSte.port.T,$PRE.TBouSte.port.T,TBouSte.iSam,$PRE.TBouSte.iSam,$whenCondition4,TBouCon.QAve_flow,$PRE.TBouCon.QAve_flow,TBouCon.UOld,$PRE.TBouCon.UOld,TBouCon.port.T,$PRE.TBouCon.port.T,TBouCon.iSam,$PRE.TBouCon.iSam,$whenCondition3,TBouPul.QAve_flow,$PRE.TBouPul.QAve_flow,TBouPul.UOld,$PRE.TBouPul.UOld,TBouPul.port.T,$PRE.TBouPul.port.T,TBouPul.iSam,$PRE.TBouPul.iSam,$whenCondition1,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001776/0.5867, allocations: 163.9 kB / 0.7338 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/0.5868, allocations: 27.72 kB / 0.7338 GB, free: 2.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.904e-05/0.5869, allocations: 21.7 kB / 0.7338 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.5869, allocations: 4 kB / 0.7338 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.5869, allocations: 4.312 kB / 0.7338 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.5869, allocations: 0 / 0.7338 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.5872, allocations: 269.4 kB / 0.7341 GB, free: 2.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.5872, allocations: 3.938 kB / 0.7341 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.5874, allocations: 23.92 kB / 0.7341 GB, free: 2.059 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.5874, allocations: 4 kB / 0.7341 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.5874, allocations: 7.984 kB / 0.7341 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.5874, allocations: 0 / 0.7341 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5874, allocations: 3.938 kB / 0.7341 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009085/0.5884, allocations: 422.1 kB / 0.7345 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.959e-05/0.5885, allocations: 104.7 kB / 0.7346 GB, free: 1.484 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.562e-05/0.5885, allocations: 12.03 kB / 0.7346 GB, free: 1.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.5887, allocations: 15.92 kB / 0.7347 GB, free: 1.457 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.211e-05/0.5888, allocations: 23.91 kB / 0.7347 GB, free: 1.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.5888, allocations: 15.98 kB / 0.7347 GB, free: 1.418 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001537/0.589, allocations: 174 kB / 0.7349 GB, free: 1.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.589, allocations: 0 / 0.7349 GB, free: 1.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004237/0.5894, allocations: 79.98 kB / 0.7349 GB, free: 1.172 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003905/0.5898, allocations: 157.7 kB / 0.7351 GB, free: 1.012 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006365/0.5905, allocations: 303.2 kB / 0.7354 GB, free: 0.707 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5905, allocations: 0 / 0.7354 GB, free: 0.707 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.5907, allocations: 104.1 kB / 0.7355 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.5911, allocations: 56.64 kB / 0.7355 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.5924, allocations: 0.6734 MB / 0.7362 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.5928, allocations: 0.741 MB / 0.7369 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001692/0.593, allocations: 46.95 kB / 0.737 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.5931, allocations: 27.42 kB / 0.737 GB, free: 15 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.5931, allocations: 4 kB / 0.737 GB, free: 15 MB / 0.5606 GB Notification: Performance of Templates: time 0.007859/0.6009, allocations: 3.743 MB / 0.7406 GB, free: 11.33 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)