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.0009355/0.0009355, allocations: 86.02 kB / 15.06 MB, free: 1.09 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.001192/0.001192, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.507/1.507, allocations: 252 MB / 0.5102 GB, free: 4.746 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.000554/0.0005544, allocations: 12 kB / 0.6243 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4986/0.4992, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002994/0.5022, allocations: 1.959 MB / 0.7301 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002091/0.5043, allocations: 0.9875 MB / 0.731 GB, free: 8.441 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.5045, allocations: 7.938 kB / 0.731 GB, free: 8.434 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.5048, allocations: 35.75 kB / 0.7311 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.505, allocations: 67.47 kB / 0.7311 GB, free: 8.332 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.5054, allocations: 138.3 kB / 0.7313 GB, free: 8.199 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.5057, allocations: 258.8 kB / 0.7315 GB, free: 7.945 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.5058, allocations: 38.33 kB / 0.7315 GB, free: 7.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.506, allocations: 103.5 kB / 0.7316 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.5061, allocations: 95.59 kB / 0.7317 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.5062, allocations: 15.88 kB / 0.7317 GB, free: 7.699 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.5064, allocations: 95.91 kB / 0.7318 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.014e-05/0.5065, allocations: 39.83 kB / 0.7319 GB, free: 7.566 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.045e-05/0.5066, allocations: 69.58 kB / 0.7319 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.5069, allocations: 219.4 kB / 0.7322 GB, free: 7.277 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5069, allocations: 4 kB / 0.7322 GB, free: 7.273 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5069, allocations: 0 / 0.7322 GB, free: 7.273 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.5069, allocations: 4 kB / 0.7322 GB, free: 7.27 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.0009161/0.5078, allocations: 0.5514 MB / 0.7327 GB, free: 6.664 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.5079, allocations: 8.031 kB / 0.7327 GB, free: 6.656 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.043e-05/0.5079, allocations: 39.61 kB / 0.7327 GB, free: 6.617 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.5083, allocations: 285.8 kB / 0.733 GB, free: 6.297 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.5084, allocations: 12.23 kB / 0.733 GB, free: 6.285 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.5084, allocations: 23.98 kB / 0.7331 GB, free: 6.262 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.5088, allocations: 205.7 kB / 0.7332 GB, free: 6.039 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.5089, allocations: 0 / 0.7332 GB, free: 6.039 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.5089, allocations: 15.92 kB / 0.7333 GB, free: 6.023 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.5089, allocations: 0 / 0.7333 GB, free: 6.023 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.5093, allocations: 123.8 kB / 0.7334 GB, free: 5.902 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.5103, allocations: 0.8722 MB / 0.7342 GB, free: 4.961 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004572/0.5108, allocations: 215.8 kB / 0.7344 GB, free: 4.723 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.511, allocations: 90.58 kB / 0.7345 GB, free: 4.625 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.511, allocations: 3.953 kB / 0.7345 GB, free: 4.621 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004599/0.5115, allocations: 213.8 kB / 0.7347 GB, free: 4.391 MB / 0.545 GB Notification: Performance of pre-optimization done (n=23): time 1.532e-06/0.5115, allocations: 0 / 0.7347 GB, free: 4.391 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.0008411/0.5124, allocations: 373.1 kB / 0.7351 GB, free: 4.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.5124, allocations: 118.8 kB / 0.7352 GB, free: 3.879 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.5127, allocations: 242.5 kB / 0.7354 GB, free: 3.637 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.5127, allocations: 41.69 kB / 0.7355 GB, free: 3.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.5128, allocations: 136.5 kB / 0.7356 GB, free: 3.453 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.879e-05/0.5129, allocations: 67.23 kB / 0.7357 GB, free: 3.387 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.5129, allocations: 4 kB / 0.7357 GB, free: 3.383 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.5131, allocations: 338.8 kB / 0.736 GB, free: 3.043 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.5133, allocations: 88.75 kB / 0.7361 GB, free: 2.953 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.5136, allocations: 267.1 kB / 0.7363 GB, free: 2.609 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.5139, allocations: 145.6 kB / 0.7365 GB, free: 2.461 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.5139, allocations: 0 / 0.7365 GB, free: 2.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006677/0.5145, allocations: 419.1 kB / 0.7369 GB, free: 2.039 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.5146, allocations: 37.7 kB / 0.7369 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.5146, allocations: 4 kB / 0.7369 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.5146, allocations: 12 kB / 0.7369 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.5148, allocations: 71.83 kB / 0.737 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.5149, allocations: 11.94 kB / 0.737 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.5151, allocations: 43.67 kB / 0.737 GB, free: 1.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.5151, allocations: 24 kB / 0.7371 GB, free: 1.832 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 ($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.0001659/0.5153, allocations: 167.9 kB / 0.7372 GB, free: 1.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.5153, allocations: 31.58 kB / 0.7373 GB, free: 1.629 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.5154, allocations: 22.08 kB / 0.7373 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.5154, allocations: 4 kB / 0.7373 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.5154, allocations: 0 / 0.7373 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5154, allocations: 7.938 kB / 0.7373 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.5157, allocations: 269.4 kB / 0.7375 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5157, allocations: 0 / 0.7375 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.5158, allocations: 19.98 kB / 0.7376 GB, free: 1.262 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.5158, allocations: 4 kB / 0.7376 GB, free: 1.258 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.5158, allocations: 15.94 kB / 0.7376 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.5158, allocations: 0 / 0.7376 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5159, allocations: 4 kB / 0.7376 GB, free: 1.238 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007697/0.5166, allocations: 437.7 kB / 0.738 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.5167, allocations: 112.7 kB / 0.7381 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.5168, allocations: 8 kB / 0.7381 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.5169, allocations: 23.92 kB / 0.7381 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.517, allocations: 19.97 kB / 0.7382 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.517, allocations: 19.98 kB / 0.7382 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001291/0.5171, allocations: 166 kB / 0.7383 GB, free: 440 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5171, allocations: 0 / 0.7383 GB, free: 440 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.000374/0.5175, allocations: 76 kB / 0.7384 GB, free: 364 kB / 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 (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.0003422/0.5179, allocations: 168.2 kB / 0.7386 GB, free: 188 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005783/0.5185, allocations: 303.8 kB / 0.7389 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5185, allocations: 0 / 0.7389 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.5187, allocations: 111.9 kB / 0.739 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.5191, allocations: 69.33 kB / 0.739 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.5203, allocations: 0.7028 MB / 0.7397 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.5205, allocations: 0.741 MB / 0.7404 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001402/0.5207, allocations: 54.94 kB / 0.7405 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.5208, allocations: 23.44 kB / 0.7405 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.5208, allocations: 0 / 0.7405 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of Templates: time 0.007352/0.5281, allocations: 3.614 MB / 0.744 GB, free: 10.59 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: